summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorDongHun Kwak <dh0128.kwak@samsung.com>2016-03-21 15:45:20 +0900
committerDongHun Kwak <dh0128.kwak@samsung.com>2016-03-21 15:46:37 +0900
commit733b5d5ae2c5d625211e2985ac25728ac3f54883 (patch)
treea5b214744b256f07e1dc2bd7273035a7808c659f /tools
parent08c1e93fa36a49f49325a07fe91ff92c964c2b6c (diff)
downloadboost-733b5d5ae2c5d625211e2985ac25728ac3f54883.tar.gz
boost-733b5d5ae2c5d625211e2985ac25728ac3f54883.tar.bz2
boost-733b5d5ae2c5d625211e2985ac25728ac3f54883.zip
Imported Upstream version 1.58.0upstream/1.58.0
Change-Id: If0072143aa26874812e0db6872e1efb10a3e5e94 Signed-off-by: DongHun Kwak <dh0128.kwak@samsung.com>
Diffstat (limited to 'tools')
-rw-r--r--tools/Jamfile.v25
-rw-r--r--tools/bcp/add_path.cpp34
-rw-r--r--tools/bcp/copy_path.cpp2
-rw-r--r--tools/bcp/scan_licence.cpp32
-rw-r--r--tools/boostdep/build/Jamfile.v215
-rw-r--r--tools/boostdep/examples/report.bat29
-rw-r--r--tools/boostdep/src/Jamfile.v217
-rw-r--r--tools/boostdep/src/boostdep.cpp470
-rw-r--r--tools/build/bootstrap.bat1
-rw-r--r--tools/build/doc/boost.pngbin0 -> 6308 bytes
-rw-r--r--tools/build/doc/boostbook.css706
-rw-r--r--tools/build/doc/development_plan.html130
-rw-r--r--tools/build/doc/images/alert.pngbin0 -> 603 bytes
-rw-r--r--tools/build/doc/images/blank.pngbin0 -> 374 bytes
-rw-r--r--tools/build/doc/images/callouts/1.pngbin0 -> 391 bytes
-rw-r--r--tools/build/doc/images/callouts/1.svg15
-rw-r--r--tools/build/doc/images/callouts/10.pngbin0 -> 485 bytes
-rw-r--r--tools/build/doc/images/callouts/10.svg18
-rw-r--r--tools/build/doc/images/callouts/11.pngbin0 -> 410 bytes
-rw-r--r--tools/build/doc/images/callouts/11.svg16
-rw-r--r--tools/build/doc/images/callouts/12.pngbin0 -> 488 bytes
-rw-r--r--tools/build/doc/images/callouts/12.svg18
-rw-r--r--tools/build/doc/images/callouts/13.pngbin0 -> 509 bytes
-rw-r--r--tools/build/doc/images/callouts/13.svg20
-rw-r--r--tools/build/doc/images/callouts/14.pngbin0 -> 499 bytes
-rw-r--r--tools/build/doc/images/callouts/14.svg17
-rw-r--r--tools/build/doc/images/callouts/15.pngbin0 -> 507 bytes
-rw-r--r--tools/build/doc/images/callouts/15.svg19
-rw-r--r--tools/build/doc/images/callouts/16.svg20
-rw-r--r--tools/build/doc/images/callouts/17.svg17
-rw-r--r--tools/build/doc/images/callouts/18.svg21
-rw-r--r--tools/build/doc/images/callouts/19.svg20
-rw-r--r--tools/build/doc/images/callouts/2.pngbin0 -> 446 bytes
-rw-r--r--tools/build/doc/images/callouts/2.svg17
-rw-r--r--tools/build/doc/images/callouts/20.svg20
-rw-r--r--tools/build/doc/images/callouts/21.svg18
-rw-r--r--tools/build/doc/images/callouts/22.svg20
-rw-r--r--tools/build/doc/images/callouts/23.svg22
-rw-r--r--tools/build/doc/images/callouts/24.svg19
-rw-r--r--tools/build/doc/images/callouts/25.svg21
-rw-r--r--tools/build/doc/images/callouts/26.svg22
-rw-r--r--tools/build/doc/images/callouts/27.svg19
-rw-r--r--tools/build/doc/images/callouts/28.svg23
-rw-r--r--tools/build/doc/images/callouts/29.svg22
-rw-r--r--tools/build/doc/images/callouts/3.pngbin0 -> 431 bytes
-rw-r--r--tools/build/doc/images/callouts/3.svg19
-rw-r--r--tools/build/doc/images/callouts/30.svg22
-rw-r--r--tools/build/doc/images/callouts/4.pngbin0 -> 441 bytes
-rw-r--r--tools/build/doc/images/callouts/4.svg16
-rw-r--r--tools/build/doc/images/callouts/5.pngbin0 -> 423 bytes
-rw-r--r--tools/build/doc/images/callouts/5.svg18
-rw-r--r--tools/build/doc/images/callouts/6.pngbin0 -> 431 bytes
-rw-r--r--tools/build/doc/images/callouts/6.svg19
-rw-r--r--tools/build/doc/images/callouts/7.pngbin0 -> 397 bytes
-rw-r--r--tools/build/doc/images/callouts/7.svg16
-rw-r--r--tools/build/doc/images/callouts/8.pngbin0 -> 434 bytes
-rw-r--r--tools/build/doc/images/callouts/8.svg20
-rw-r--r--tools/build/doc/images/callouts/9.pngbin0 -> 420 bytes
-rw-r--r--tools/build/doc/images/callouts/9.svg19
-rw-r--r--tools/build/doc/images/caution.pngbin0 -> 1250 bytes
-rw-r--r--tools/build/doc/images/caution.svg68
-rw-r--r--tools/build/doc/images/draft.pngbin0 -> 17454 bytes
-rw-r--r--tools/build/doc/images/home.pngbin0 -> 358 bytes
-rw-r--r--tools/build/doc/images/home.svg26
-rw-r--r--tools/build/doc/images/important.pngbin0 -> 722 bytes
-rw-r--r--tools/build/doc/images/important.svg25
-rw-r--r--tools/build/doc/images/next.pngbin0 -> 336 bytes
-rw-r--r--tools/build/doc/images/next.svg19
-rw-r--r--tools/build/doc/images/next_disabled.pngbin0 -> 1110 bytes
-rw-r--r--tools/build/doc/images/note.pngbin0 -> 490 bytes
-rw-r--r--tools/build/doc/images/note.svg33
-rw-r--r--tools/build/doc/images/prev.pngbin0 -> 334 bytes
-rw-r--r--tools/build/doc/images/prev.svg19
-rw-r--r--tools/build/doc/images/prev_disabled.pngbin0 -> 1109 bytes
-rw-r--r--tools/build/doc/images/smiley.pngbin0 -> 867 bytes
-rw-r--r--tools/build/doc/images/tip.pngbin0 -> 449 bytes
-rw-r--r--tools/build/doc/images/tip.svg84
-rw-r--r--tools/build/doc/images/toc-blank.pngbin0 -> 318 bytes
-rw-r--r--tools/build/doc/images/toc-minus.pngbin0 -> 259 bytes
-rw-r--r--tools/build/doc/images/toc-plus.pngbin0 -> 264 bytes
-rw-r--r--tools/build/doc/images/up.pngbin0 -> 370 bytes
-rw-r--r--tools/build/doc/images/up.svg19
-rw-r--r--tools/build/doc/images/up_disabled.pngbin0 -> 1115 bytes
-rw-r--r--tools/build/doc/images/warning.pngbin0 -> 1241 bytes
-rw-r--r--tools/build/doc/images/warning.svg23
-rw-r--r--tools/build/doc/jamfile.jam7
-rw-r--r--tools/build/doc/src/howto.xml36
-rw-r--r--tools/build/doc/src/overview.xml2
-rw-r--r--tools/build/doc/src/reference.xml2
-rw-r--r--tools/build/doc/src/standalone.xml20
-rw-r--r--tools/build/doc/src/tutorial.xml4
-rw-r--r--tools/build/doc/src/userman.xml20
-rw-r--r--tools/build/doc/tools.html92
-rw-r--r--tools/build/index.html230
-rwxr-xr-xtools/build/scripts/build-docs.sh34
-rw-r--r--tools/build/src/build/feature.jam1
-rw-r--r--tools/build/src/build/feature.py6
-rw-r--r--tools/build/src/build/project.jam49
-rw-r--r--tools/build/src/build/property.jam11
-rw-r--r--tools/build/src/build/property.py24
-rw-r--r--tools/build/src/build/property_set.py10
-rw-r--r--tools/build/src/build/version.py38
-rw-r--r--tools/build/src/build/virtual-target.jam8
-rw-r--r--tools/build/src/build_system.py4
-rw-r--r--tools/build/src/contrib/boost.py2
-rw-r--r--tools/build/src/contrib/modular.jam141
-rw-r--r--tools/build/src/engine/Jambase12
-rw-r--r--tools/build/src/engine/boehm_gc/dyn_load.c9
-rw-r--r--tools/build/src/engine/boehm_gc/include/gc.h2
-rw-r--r--tools/build/src/engine/boehm_gc/include/gc_config_macros.h5
-rw-r--r--tools/build/src/engine/boehm_gc/include/private/gcconfig.h11
-rw-r--r--tools/build/src/engine/boehm_gc/os_dep.c15
-rw-r--r--tools/build/src/engine/build.bat1
-rwxr-xr-xtools/build/src/engine/build.sh37
-rw-r--r--tools/build/src/engine/builtins.c5
-rw-r--r--tools/build/src/engine/execunix.c44
-rw-r--r--tools/build/src/engine/fileunix.c5
-rw-r--r--tools/build/src/engine/function.c11
-rw-r--r--tools/build/src/engine/jam.c3
-rw-r--r--tools/build/src/engine/jam.h8
-rw-r--r--tools/build/src/engine/jambase.c12
-rw-r--r--tools/build/src/engine/make1.c2
-rw-r--r--tools/build/src/engine/modules/order.c2
-rw-r--r--tools/build/src/engine/rules.c1
-rw-r--r--tools/build/src/engine/rules.h26
-rw-r--r--tools/build/src/tools/builtin.jam15
-rw-r--r--tools/build/src/tools/builtin.py1
-rw-r--r--tools/build/src/tools/clang-linux.jam3
-rw-r--r--tools/build/src/tools/common.py3
-rw-r--r--tools/build/src/tools/gcc.jam1
-rw-r--r--tools/build/src/tools/gcc.py3
-rw-r--r--tools/build/src/tools/link.jam77
-rw-r--r--tools/build/src/tools/python.jam1
-rw-r--r--tools/build/src/tools/sun.jam21
-rw-r--r--tools/build/src/tools/testing-aux.jam2
-rw-r--r--tools/build/src/tools/testing.jam8
-rw-r--r--tools/build/src/util/__init__.py46
-rw-r--r--tools/build/src/util/doc.jam2
-rw-r--r--tools/build/src/util/order.jam4
-rw-r--r--tools/build/src/util/os.jam2
-rw-r--r--tools/build/test/default_build.py2
-rwxr-xr-xtools/build/test/link.py204
-rw-r--r--tools/build/test/ordered_include.py78
-rw-r--r--tools/build/tutorial.html1522
-rw-r--r--tools/build/website/bootstrap/css/bootstrap-theme.css397
-rw-r--r--tools/build/website/bootstrap/css/bootstrap-theme.min.css7
-rw-r--r--tools/build/website/bootstrap/css/bootstrap.css7118
-rw-r--r--tools/build/website/bootstrap/css/bootstrap.min.css7
-rw-r--r--tools/build/website/bootstrap/fonts/glyphicons-halflings-regular.eotbin0 -> 20290 bytes
-rw-r--r--tools/build/website/bootstrap/fonts/glyphicons-halflings-regular.svg229
-rw-r--r--tools/build/website/bootstrap/fonts/glyphicons-halflings-regular.ttfbin0 -> 41236 bytes
-rw-r--r--tools/build/website/bootstrap/fonts/glyphicons-halflings-regular.woffbin0 -> 23292 bytes
-rw-r--r--tools/build/website/bootstrap/js/bootstrap.js2006
-rw-r--r--tools/build/website/bootstrap/js/bootstrap.min.js7
-rw-r--r--tools/build/website/index.css61
-rw-r--r--tools/regression/build/Jamroot.jam101
-rw-r--r--tools/regression/build/vcide/compiler_status.vcproj59
-rw-r--r--tools/regression/build/vcide/library_status.vcproj64
-rw-r--r--tools/regression/build/vcide/process_jam_log.sln21
-rw-r--r--tools/regression/build/vcide/process_jam_log.vcproj72
-rw-r--r--tools/regression/build/vcide/regression.sln37
-rw-r--r--tools/regression/doc/index.html57
-rw-r--r--tools/regression/doc/library_status.html464
-rw-r--r--tools/regression/index.html23
-rwxr-xr-xtools/regression/src/boost_svn_export_archive.sh70
-rw-r--r--tools/regression/src/collect_and_upload_logs.py546
-rw-r--r--tools/regression/src/compiler_status.cpp1131
-rw-r--r--tools/regression/src/detail/tiny_xml.cpp167
-rw-r--r--tools/regression/src/detail/tiny_xml.hpp70
-rw-r--r--tools/regression/src/detail/tiny_xml_test.cpp17
-rw-r--r--tools/regression/src/detail/tiny_xml_test.txt17
-rw-r--r--tools/regression/src/library_status.cpp889
-rw-r--r--tools/regression/src/library_test.bat21
-rwxr-xr-xtools/regression/src/library_test.sh19
-rwxr-xr-xtools/regression/src/library_test_all.sh85
-rw-r--r--tools/regression/src/process_jam_log.cpp893
-rwxr-xr-xtools/regression/src/process_jam_log.py468
-rw-r--r--tools/regression/src/regression-logs.pl197
-rw-r--r--tools/regression/src/regression.py908
-rw-r--r--tools/regression/src/run.py60
-rw-r--r--tools/regression/src/run_tests.sh197
-rwxr-xr-xtools/regression/src/smoke.py197
-rw-r--r--tools/regression/test/Jamfile.v227
-rw-r--r--tools/regression/test/compile-fail_fail.cpp10
-rw-r--r--tools/regression/test/compile-fail_pass.cpp9
-rw-r--r--tools/regression/test/compile_fail.cpp9
-rw-r--r--tools/regression/test/compile_pass.cpp9
-rw-r--r--tools/regression/test/compile_warn.cpp18
-rw-r--r--tools/regression/test/run-fail_compile-fail.cpp9
-rw-r--r--tools/regression/test/run-fail_fail-warn.cpp16
-rw-r--r--tools/regression/test/run-fail_fail.cpp12
-rw-r--r--tools/regression/test/run-fail_pass.cpp15
-rw-r--r--tools/regression/test/run-fail_warn.cpp20
-rw-r--r--tools/regression/test/run_compile-fail.cpp9
-rw-r--r--tools/regression/test/run_fail-note.cpp17
-rw-r--r--tools/regression/test/run_fail-warn.cpp20
-rw-r--r--tools/regression/test/run_fail.cpp14
-rw-r--r--tools/regression/test/run_note.cpp17
-rw-r--r--tools/regression/test/run_pass.cpp12
-rw-r--r--tools/regression/test/run_warn-note.cpp24
-rw-r--r--tools/regression/test/run_warn.cpp18
-rw-r--r--tools/regression/test/test-boost-build/ignored_rc/ignored_rc.jam11
-rw-r--r--tools/regression/test/test-boost-build/ignored_rc/recognized_rc.jam12
-rw-r--r--tools/regression/test/test-boost-build/missing_dependencies/Jamfile.v29
-rw-r--r--tools/regression/test/test-boost-build/missing_dependencies/lib/Jamfile.v27
-rw-r--r--tools/regression/test/test-boost-build/missing_dependencies/lib/lib.cpp1
-rw-r--r--tools/regression/test/test-boost-build/missing_dependencies/test.cpp1
-rw-r--r--tools/regression/test/test-cases/Huber2629/bjam.log36
-rw-r--r--tools/regression/test/test-cases/Huber2629/expected/results.xml27
-rw-r--r--tools/regression/test/test-cases/general/bjam.log325
-rw-r--r--tools/regression/test/test-cases/general/expected/results.xml167
-rw-r--r--tools/regression/test/test-cases/incremental/bjam.log33
-rw-r--r--tools/regression/test/test-cases/incremental/bjam.log.138
-rw-r--r--tools/regression/test/test-cases/incremental/expected/results.xml9
-rw-r--r--tools/regression/test/test.bat15
-rw-r--r--tools/regression/test/test.py181
-rw-r--r--tools/regression/xsl_reports/README.txt27
-rw-r--r--tools/regression/xsl_reports/boost_wide_report.py835
-rw-r--r--tools/regression/xsl_reports/boostbook_report.py179
-rwxr-xr-xtools/regression/xsl_reports/build_results.sh146
-rw-r--r--tools/regression/xsl_reports/email_maintainers.py840
-rw-r--r--tools/regression/xsl_reports/empty_expected_results.xml5
-rw-r--r--tools/regression/xsl_reports/make_snapshot.py174
-rw-r--r--tools/regression/xsl_reports/report.py371
-rw-r--r--tools/regression/xsl_reports/test/common.py165
-rw-r--r--tools/regression/xsl_reports/test/expected_results.xml3
-rw-r--r--tools/regression/xsl_reports/test/generate_test_results.py160
-rw-r--r--tools/regression/xsl_reports/test/generate_test_results_v1.py85
-rw-r--r--tools/regression/xsl_reports/test/restrict_to_library.xsl36
-rw-r--r--tools/regression/xsl_reports/test/run_notes_regression.py32
-rw-r--r--tools/regression/xsl_reports/test/run_v1.py35
-rw-r--r--tools/regression/xsl_reports/test/test.py34
-rw-r--r--tools/regression/xsl_reports/test/test_boost_wide_report.py36
-rw-r--r--tools/regression/xsl_reports/test_results.xsd107
-rw-r--r--tools/regression/xsl_reports/utils/__init__.py13
-rw-r--r--tools/regression/xsl_reports/utils/accept_args.py30
-rw-r--r--tools/regression/xsl_reports/utils/char_translation_table.py13
-rw-r--r--tools/regression/xsl_reports/utils/check_existance.py9
-rw-r--r--tools/regression/xsl_reports/utils/checked_system.py22
-rw-r--r--tools/regression/xsl_reports/utils/libxslt.py49
-rw-r--r--tools/regression/xsl_reports/utils/log.py18
-rw-r--r--tools/regression/xsl_reports/utils/makedirs.py7
-rw-r--r--tools/regression/xsl_reports/utils/rename.py17
-rw-r--r--tools/regression/xsl_reports/utils/send_mail.py13
-rw-r--r--tools/regression/xsl_reports/utils/sourceforge.py48
-rw-r--r--tools/regression/xsl_reports/utils/tar.py16
-rw-r--r--tools/regression/xsl_reports/utils/zip.py12
-rw-r--r--tools/regression/xsl_reports/xsl/add_expected_results.xsl144
-rw-r--r--tools/regression/xsl_reports/xsl/common.xsl182
-rw-r--r--tools/regression/xsl_reports/xsl/html/issues_legend.html36
-rw-r--r--tools/regression/xsl_reports/xsl/html/library_developer_legend.html72
-rw-r--r--tools/regression/xsl_reports/xsl/html/library_user_legend.html65
-rw-r--r--tools/regression/xsl_reports/xsl/html/make_tinyurl.html24
-rw-r--r--tools/regression/xsl_reports/xsl/html/master.css525
-rw-r--r--tools/regression/xsl_reports/xsl/html/summary_developer_legend.html75
-rw-r--r--tools/regression/xsl_reports/xsl/html/summary_user_legend.html65
-rw-r--r--tools/regression/xsl_reports/xsl/issues_page.xsl223
-rw-r--r--tools/regression/xsl_reports/xsl/links_page.xsl134
-rw-r--r--tools/regression/xsl_reports/xsl/produce_expected_results.xsl31
-rw-r--r--tools/regression/xsl_reports/xsl/result_page.xsl702
-rw-r--r--tools/regression/xsl_reports/xsl/summary_page.xsl361
-rw-r--r--tools/regression/xsl_reports/xsl/test/test_re_match.xml57
-rw-r--r--tools/regression/xsl_reports/xsl/test/test_re_match.xsl60
-rw-r--r--tools/regression/xsl_reports/xsl/v2/add_expected_results.xsl270
-rw-r--r--tools/regression/xsl_reports/xsl/v2/boostbook_log.xsl42
-rw-r--r--tools/regression/xsl_reports/xsl/v2/common.xsl668
-rw-r--r--tools/regression/xsl_reports/xsl/v2/dump_toolsets.xsl39
-rw-r--r--tools/regression/xsl_reports/xsl/v2/expected_to_1_33_format.xsl32
-rw-r--r--tools/regression/xsl_reports/xsl/v2/html/issues_legend.html36
-rw-r--r--tools/regression/xsl_reports/xsl/v2/html/library_developer_legend.html82
-rw-r--r--tools/regression/xsl_reports/xsl/v2/html/library_user_legend.html89
-rw-r--r--tools/regression/xsl_reports/xsl/v2/html/make_tinyurl.html22
-rw-r--r--tools/regression/xsl_reports/xsl/v2/html/master.css654
-rw-r--r--tools/regression/xsl_reports/xsl/v2/html/summary_developer_legend.html72
-rw-r--r--tools/regression/xsl_reports/xsl/v2/html/summary_user_legend.html76
-rw-r--r--tools/regression/xsl_reports/xsl/v2/issues_page.xsl327
-rw-r--r--tools/regression/xsl_reports/xsl/v2/links_page.xsl399
-rw-r--r--tools/regression/xsl_reports/xsl/v2/produce_expected_results.xsl36
-rw-r--r--tools/regression/xsl_reports/xsl/v2/result_page.xsl691
-rw-r--r--tools/regression/xsl_reports/xsl/v2/runners.xsl56
-rw-r--r--tools/regression/xsl_reports/xsl/v2/summary_page.xsl367
281 files changed, 14452 insertions, 18915 deletions
diff --git a/tools/Jamfile.v2 b/tools/Jamfile.v2
index 86cbbefdd1..d69756e701 100644
--- a/tools/Jamfile.v2
+++ b/tools/Jamfile.v2
@@ -17,15 +17,10 @@ project
usage-requirements <implicit-dependency>/boost//headers
;
-use-project /boost/regression : regression/build ;
-
TOOLS =
bcp//bcp
inspect/build//inspect
quickbook//quickbook
- /boost/regression//compiler_status
- /boost/regression//library_status
- /boost/regression//process_jam_log
wave/build//wave
;
diff --git a/tools/bcp/add_path.cpp b/tools/bcp/add_path.cpp
index 3643bdb6c6..c3c792b121 100644
--- a/tools/bcp/add_path.cpp
+++ b/tools/bcp/add_path.cpp
@@ -193,6 +193,14 @@ void bcp_implementation::add_file(const fs::path& p)
//
static const std::pair<fs::path, fs::path>
specials[] = {
+ std::pair<fs::path, fs::path>("boost/atomic/capabilities.hpp", "boost/atomic/detail"),
+ std::pair<fs::path, fs::path>("boost/chrono/chrono.hpp", "libs/chrono/src"),
+ std::pair<fs::path, fs::path>("boost/chrono/chrono.hpp", "libs/chrono/build"),
+ std::pair<fs::path, fs::path>("boost/cerrno.hpp", "libs/system/build"),
+ std::pair<fs::path, fs::path>("boost/cerrno.hpp", "libs/system/src"),
+ std::pair<fs::path, fs::path>("libs/thread/build", "boost/system"),
+ std::pair<fs::path, fs::path>("libs/thread/build", "boost/cerrno.hpp"),
+ std::pair<fs::path, fs::path>("libs/thread/build", "boost/chrono"),
std::pair<fs::path, fs::path>("boost/filesystem/convenience.hpp", "boost/filesystem.hpp"),
std::pair<fs::path, fs::path>("boost/filesystem/exception.hpp", "boost/filesystem.hpp"),
std::pair<fs::path, fs::path>("boost/filesystem/fstream.hpp", "boost/filesystem.hpp"),
@@ -202,22 +210,16 @@ static const std::pair<fs::path, fs::path>
std::pair<fs::path, fs::path>("boost/filesystem.hpp", "libs/filesystem/v2"),
std::pair<fs::path, fs::path>("boost/filesystem.hpp", "libs/filesystem/v3"),
std::pair<fs::path, fs::path>("boost/config.hpp", "boost/config"),
- std::pair<fs::path, fs::path>("tools/build/allyourbase.jam", "Jamrules"),
- std::pair<fs::path, fs::path>("tools/build/allyourbase.jam", "project-root.jam"),
- std::pair<fs::path, fs::path>("tools/build/allyourbase.jam", "boost-build.jam"),
- std::pair<fs::path, fs::path>("tools/build/v1/allyourbase.jam", "Jamrules"),
- std::pair<fs::path, fs::path>("tools/build/v1/allyourbase.jam", "project-root.jam"),
- std::pair<fs::path, fs::path>("tools/build/v1/allyourbase.jam", "boost-build.jam"),
- std::pair<fs::path, fs::path>("tools/build/v2/boost-build.jam", "Jamrules"),
- std::pair<fs::path, fs::path>("tools/build/v2/boost-build.jam", "project-root.jam"),
- std::pair<fs::path, fs::path>("tools/build/v2/boost-build.jam", "boost-build.jam"),
- std::pair<fs::path, fs::path>("tools/build/v2/boost-build.jam", "Jamfile.v2"),
- std::pair<fs::path, fs::path>("tools/build/v2/boost-build.jam", "boostcpp.jam"),
- std::pair<fs::path, fs::path>("tools/build/v2/boost-build.jam", "bootstrap.bat"),
- std::pair<fs::path, fs::path>("tools/build/v2/boost-build.jam", "bootstrap.sh"),
- std::pair<fs::path, fs::path>("tools/build/v2/boost-build.jam", "Jamroot"),
- std::pair<fs::path, fs::path>("tools/build/v2/boost-build.jam", "INSTALL"),
- std::pair<fs::path, fs::path>("tools/build/v2/boost-build.jam", "LICENSE_1_0.txt"),
+ std::pair<fs::path, fs::path>("tools/build/boost-build.jam", "Jamrules"),
+ std::pair<fs::path, fs::path>("tools/build/boost-build.jam", "project-root.jam"),
+ std::pair<fs::path, fs::path>("tools/build/boost-build.jam", "boost-build.jam"),
+ std::pair<fs::path, fs::path>("tools/build/boost-build.jam", "Jamfile.v2"),
+ std::pair<fs::path, fs::path>("tools/build/boost-build.jam", "boostcpp.jam"),
+ std::pair<fs::path, fs::path>("tools/build/boost-build.jam", "bootstrap.bat"),
+ std::pair<fs::path, fs::path>("tools/build/boost-build.jam", "bootstrap.sh"),
+ std::pair<fs::path, fs::path>("tools/build/boost-build.jam", "Jamroot"),
+ std::pair<fs::path, fs::path>("tools/build/boost-build.jam", "INSTALL"),
+ std::pair<fs::path, fs::path>("tools/build/boost-build.jam", "LICENSE_1_0.txt"),
std::pair<fs::path, fs::path>("boost/preprocessor/iterate.hpp", "boost/preprocessor/iteration"),
std::pair<fs::path, fs::path>("boost/preprocessor/slot/slot.hpp", "boost/preprocessor/slot/detail"),
std::pair<fs::path, fs::path>("boost/function.hpp", "boost/function/detail"),
diff --git a/tools/bcp/copy_path.cpp b/tools/bcp/copy_path.cpp
index ded5d181cc..29f6e796bb 100644
--- a/tools/bcp/copy_path.cpp
+++ b/tools/bcp/copy_path.cpp
@@ -151,7 +151,7 @@ void bcp_implementation::copy_path(const fs::path& p)
"|"
"()boost(_asio_detail_posix_thread_function|_regex_free_static_mutex)"
"|"
- "()(lw_thread_routine|at_thread_exit|on_process_enter|on_process_exit|on_thread_enter|on_thread_exit|tss_cleanup_implemented)"
+ "()\\<(lw_thread_routine|at_thread_exit|on_process_enter|on_process_exit|on_thread_enter|on_thread_exit|tss_cleanup_implemented)\\>"
"|"
"(BOOST_CLASS_REQUIRE4?[^;]*)boost((?:_\\w+)?\\s*,)"
"|"
diff --git a/tools/bcp/scan_licence.cpp b/tools/bcp/scan_licence.cpp
index c061583a2c..4dc461c143 100644
--- a/tools/bcp/scan_licence.cpp
+++ b/tools/bcp/scan_licence.cpp
@@ -1,8 +1,8 @@
/*
*
* Copyright (c) 2003 Dr John Maddock
- * Use, modification and distribution is subject to the
- * Boost Software License, Version 1.0. (See accompanying file
+ * Use, modification and distribution is subject to the
+ * Boost Software License, Version 1.0. (See accompanying file
* LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
*
*/
@@ -27,7 +27,7 @@ context_before_license(const fileview& v, fileview::const_iterator start,
{
char last_char = '\0';
while (start != v.begin() && context_lines >= 0) {
- if ((*start == '\r') || (*start == '\n')
+ if (((*start == '\r') || (*start == '\n'))
&& ((last_char == *start) || ((last_char != '\r') && (last_char != '\n'))))
--context_lines;
@@ -48,7 +48,7 @@ context_after_license(const fileview& v, fileview::const_iterator end,
{
char last_char = '\0';
while (end != v.end() && context_lines >= 0) {
- if (*end == '\r' || *end == '\n'
+ if ((*end == '\r' || *end == '\n')
&& (last_char == *end || (last_char != '\r' && last_char != '\n')))
--context_lines;
@@ -79,7 +79,7 @@ find_prefix(const fileview& v, fileview::const_iterator start_of_line)
return std::string(start_of_line, first_noncomment_char);
}
-static std::string
+static std::string
html_escape(fileview::const_iterator first, fileview::const_iterator last)
{
std::string result;
@@ -110,7 +110,7 @@ void bcp_implementation::scan_license(const fs::path& p, const fileview& v)
int author_count = 0;
int nonbsl_author_count = 0;
bool has_non_bsl_license = false;
- fileview::const_iterator start_of_license = v.begin(),
+ fileview::const_iterator start_of_license = v.begin(),
end_of_license = v.end();
bool start_in_middle_of_line = false;
@@ -122,7 +122,7 @@ void bcp_implementation::scan_license(const fs::path& p, const fileview& v)
start_of_license = m[0].first;
end_of_license = m[0].second;
- if (is_non_bsl_license(i) && i < licenses.second - 1)
+ if (is_non_bsl_license(i) && i < licenses.second - 1)
has_non_bsl_license = true;
// add this license to the list:
@@ -137,9 +137,9 @@ void bcp_implementation::scan_license(const fs::path& p, const fileview& v)
{
#if 0
// Not dealing with copyrights because we don't have the years
- if ((*cpy)[0].first < start_of_license)
+ if ((*cpy)[0].first < start_of_license)
start_of_license = (*cpy)[0].first;
- if ((*cpy)[0].second > end_of_license)
+ if ((*cpy)[0].second > end_of_license)
end_of_license = (*cpy)[0].second;
#endif
@@ -161,7 +161,7 @@ void bcp_implementation::scan_license(const fs::path& p, const fileview& v)
m_author_data[name].insert(p);
++author_count;
- // If this is not the Boost Software License (license 0), and the author hasn't given
+ // If this is not the Boost Software License (license 0), and the author hasn't given
// blanket permission, note this for the report.
if (has_non_bsl_license
&& m_bsl_authors.find(name) == m_bsl_authors.end()) {
@@ -199,12 +199,12 @@ void bcp_implementation::scan_license(const fs::path& p, const fileview& v)
if (has_non_bsl_license) {
bool converted = false;
- if (nonbsl_author_count == 0
+ if (nonbsl_author_count == 0
&& license_count == 1) {
// Grab a few lines of context
- fileview::const_iterator context_start =
+ fileview::const_iterator context_start =
context_before_license(v, start_of_license);
- fileview::const_iterator context_end =
+ fileview::const_iterator context_end =
context_after_license(v, end_of_license);
// TBD: For files that aren't C++ code, this will have to
@@ -213,14 +213,14 @@ void bcp_implementation::scan_license(const fs::path& p, const fileview& v)
// Create enough information to permit manual verification of
// the correctness of the transformation
- std::string before_conversion =
+ std::string before_conversion =
html_escape(context_start, start_of_license);
before_conversion += "<b>";
before_conversion += html_escape(start_of_license, end_of_license);
before_conversion += "</b>";
before_conversion += html_escape(end_of_license, context_end);
- std::string after_conversion =
+ std::string after_conversion =
html_escape(context_start, start_of_license);
if (start_in_middle_of_line)
after_conversion += '\n';
@@ -233,7 +233,7 @@ void bcp_implementation::scan_license(const fs::path& p, const fileview& v)
after_conversion += "</b>";
after_conversion += html_escape(end_of_license, context_end);
- m_converted_to_bsl[p] =
+ m_converted_to_bsl[p] =
std::make_pair(before_conversion, after_conversion);
// Perform the actual conversion
diff --git a/tools/boostdep/build/Jamfile.v2 b/tools/boostdep/build/Jamfile.v2
new file mode 100644
index 0000000000..ea180ab60f
--- /dev/null
+++ b/tools/boostdep/build/Jamfile.v2
@@ -0,0 +1,15 @@
+# Copyright 2014, 2015 Peter Dimov
+#
+# Distributed under the Boost Software License, Version 1.0.
+# See accompanying file LICENSE_1_0.txt or copy at
+# http://www.boost.org/LICENSE_1_0.txt
+
+project : default-build release ;
+
+exe boostdep : ../src/boostdep.cpp /boost//filesystem ;
+
+install dist-bin : boostdep : <location>../../../dist/bin ;
+explicit dist-bin ;
+
+alias install : dist-bin ;
+explicit install ;
diff --git a/tools/boostdep/examples/report.bat b/tools/boostdep/examples/report.bat
index 5690adde55..ad805d48ce 100644
--- a/tools/boostdep/examples/report.bat
+++ b/tools/boostdep/examples/report.bat
@@ -1,20 +1,26 @@
-REM This is an example cmd.exe batch script
-REM that uses boostdep.exe to generate a
-REM complete Boost dependency report.
-REM It needs to be run from the Boost root.
-
-REM git pull
-REM git submodule update --init
-
-SET BOOSTDEP=bin.v2\tools\boostdep\src\msvc-8.0\release\link-static\threading-multi\boostdep.exe
+@REM This is an example cmd.exe batch script
+@REM that uses boostdep.exe to generate a
+@REM complete Boost dependency report.
+@REM
+@REM It needs to be run from the Boost root.
+@REM
+@REM Copyright 2014, 2015 Peter Dimov
+@REM
+@REM Distributed under the Boost Software License, Version 1.0.
+@REM See accompanying file LICENSE_1_0.txt or copy at
+@REM http://www.boost.org/LICENSE_1_0.txt
+
+SET BOOSTDEP=dist\bin\boostdep.exe
FOR /f %%i IN ('git rev-parse HEAD') DO @SET REV=%%i
FOR /f %%i IN ('git rev-parse --short HEAD') DO @SET SHREV=%%i
-SET FOOTER=Generated on %DATE% %TIME% from revision %REV%
+FOR /f %%i IN ('git rev-parse --abbrev-ref HEAD') DO @SET BRANCH=%%i
+
+SET FOOTER=Generated on %DATE% %TIME% from revision %REV% on branch '%BRANCH%'
-SET OUTDIR=..\report-%SHREV%
+SET OUTDIR=..\report-%BRANCH%-%SHREV%
mkdir %OUTDIR%
@@ -22,5 +28,6 @@ mkdir %OUTDIR%
%BOOSTDEP% --footer "%FOOTER%" --html --module-overview > %OUTDIR%\module-overview.html
%BOOSTDEP% --footer "%FOOTER%" --html --module-levels > %OUTDIR%\module-levels.html
+%BOOSTDEP% --footer "%FOOTER%" --html --module-weights > %OUTDIR%\module-weights.html
FOR /f %%i IN (%OUTDIR%\list-modules.txt) DO %BOOSTDEP% --title "Dependency Report for %%i" --footer "%FOOTER%" --html --primary %%i --secondary %%i --reverse %%i > %OUTDIR%\%%i.html
diff --git a/tools/boostdep/src/Jamfile.v2 b/tools/boostdep/src/Jamfile.v2
deleted file mode 100644
index 4cd3de3f48..0000000000
--- a/tools/boostdep/src/Jamfile.v2
+++ /dev/null
@@ -1,17 +0,0 @@
-# Copyright 2014 Peter Dimov
-#
-# Distributed under the Boost Software License, Version 1.0.
-# See accompanying file LICENSE_1_0.txt or copy at
-# http://www.boost.org/LICENSE_1_0.txt
-
-project boostdep ;
-
-exe boostdep :
- # sources
- boostdep.cpp
- /boost//filesystem :
- # requirements
- :
- # default build
- <variant>release
- ;
diff --git a/tools/boostdep/src/boostdep.cpp b/tools/boostdep/src/boostdep.cpp
index 5b0b9032af..2f42e37af5 100644
--- a/tools/boostdep/src/boostdep.cpp
+++ b/tools/boostdep/src/boostdep.cpp
@@ -1,7 +1,7 @@
// boostdep - a tool to generate Boost dependency reports
//
-// Copyright 2014 Peter Dimov
+// Copyright 2014, 2015 Peter Dimov
//
// Distributed under the Boost Software License, Version 1.0.
// See accompanying file LICENSE_1_0.txt or copy at
@@ -174,7 +174,19 @@ static fs::path module_include_path( std::string module )
return fs::path( "libs" ) / module / "include";
}
-static void scan_module_dependencies( std::string const & module, module_primary_actions & actions )
+static fs::path module_source_path( std::string module )
+{
+ std::replace( module.begin(), module.end(), '~', '/' );
+ return fs::path( "libs" ) / module / "src";
+}
+
+static fs::path module_build_path( std::string module )
+{
+ std::replace( module.begin(), module.end(), '~', '/' );
+ return fs::path( "libs" ) / module / "build";
+}
+
+static void scan_module_dependencies( std::string const & module, module_primary_actions & actions, bool track_sources )
{
// module -> [ header, header... ]
std::map< std::string, std::set< std::string > > deps;
@@ -182,18 +194,40 @@ static void scan_module_dependencies( std::string const & module, module_primary
// header -> included from [ header, header... ]
std::map< std::string, std::set< std::string > > from;
- fs::path dir = module_include_path( module );
- size_t n = dir.generic_string().size();
+ {
+ fs::path dir = module_include_path( module );
+ size_t n = dir.generic_string().size();
- fs::recursive_directory_iterator it( dir ), last;
+ fs::recursive_directory_iterator it( dir ), last;
- for( ; it != last; ++it )
+ for( ; it != last; ++it )
+ {
+ std::string header = it->path().generic_string().substr( n+1 );
+
+ fs::ifstream is( it->path() );
+
+ scan_header_dependencies( header, is, deps, from );
+ }
+ }
+
+ if( track_sources )
{
- std::string header = it->path().generic_string().substr( n+1 );
+ fs::path dir = module_source_path( module );
+ size_t n = dir.generic_string().size();
+
+ if( fs::exists( dir ) )
+ {
+ fs::recursive_directory_iterator it( dir ), last;
+
+ for( ; it != last; ++it )
+ {
+ std::string header = it->path().generic_string().substr( n+1 );
- fs::ifstream is( it->path() );
+ fs::ifstream is( it->path() );
- scan_header_dependencies( header, is, deps, from );
+ scan_header_dependencies( header, is, deps, from );
+ }
+ }
}
actions.heading( module );
@@ -266,20 +300,20 @@ struct build_mdmap_actions: public module_primary_actions
}
};
-static void build_module_dependency_map()
+static void build_module_dependency_map( bool track_sources )
{
for( std::set< std::string >::iterator i = s_modules.begin(); i != s_modules.end(); ++i )
{
build_mdmap_actions actions;
- scan_module_dependencies( *i, actions );
+ scan_module_dependencies( *i, actions, track_sources );
}
}
-static void output_module_primary_report( std::string const & module, module_primary_actions & actions )
+static void output_module_primary_report( std::string const & module, module_primary_actions & actions, bool track_sources )
{
try
{
- scan_module_dependencies( module, actions );
+ scan_module_dependencies( module, actions, track_sources );
}
catch( fs::filesystem_error const & x )
{
@@ -460,17 +494,17 @@ struct module_primary_html_actions: public module_primary_actions
}
};
-static void output_module_primary_report( std::string const & module, bool html )
+static void output_module_primary_report( std::string const & module, bool html, bool track_sources )
{
if( html )
{
module_primary_html_actions actions;
- output_module_primary_report( module, actions );
+ output_module_primary_report( module, actions, track_sources );
}
else
{
module_primary_txt_actions actions;
- output_module_primary_report( module, actions );
+ output_module_primary_report( module, actions, track_sources );
}
}
@@ -1050,12 +1084,26 @@ struct module_level_html_actions: public module_level_actions
void module2( std::string const & module, int level )
{
- std::cout << " " << module;
+ std::cout << " ";
+
+ bool important = level < unknown_level && level > 1 && level >= level_ - 1;
+
+ if( important )
+ {
+ std::cout << "<strong>";
+ }
+
+ std::cout << module;
if( level < unknown_level )
{
std::cout << "<sup>" << level << "</sup>";
}
+
+ if( important )
+ {
+ std::cout << "</strong>";
+ }
}
};
@@ -1182,6 +1230,39 @@ static void output_module_overview_report( bool html )
}
}
+// list_dependencies
+
+struct list_dependencies_actions: public module_overview_actions
+{
+ void heading()
+ {
+ }
+
+ void module_start( std::string const & module )
+ {
+ std::cout << module << " ->";
+ }
+
+ void module_end( std::string const & /*module*/ )
+ {
+ std::cout << "\n";
+ }
+
+ void module2( std::string const & module )
+ {
+ if( module != "(unknown)" )
+ {
+ std::cout << " " << module;
+ }
+ }
+};
+
+static void list_dependencies()
+{
+ list_dependencies_actions actions;
+ output_module_overview_report( actions );
+}
+
//
static void output_html_header( std::string const & title )
@@ -1201,13 +1282,13 @@ static void output_html_footer( std::string const & footer )
std::cout << "</html>\n";
}
-static void enable_secondary( bool & secondary )
+static void enable_secondary( bool & secondary, bool track_sources )
{
if( !secondary )
{
try
{
- build_module_dependency_map();
+ build_module_dependency_map( track_sources );
}
catch( fs::filesystem_error const & x )
{
@@ -1218,22 +1299,309 @@ static void enable_secondary( bool & secondary )
}
}
+static void list_modules()
+{
+ for( std::set< std::string >::iterator i = s_modules.begin(); i != s_modules.end(); ++i )
+ {
+ std::cout << *i << "\n";
+ }
+}
+
+static void list_buildable()
+{
+ for( std::set< std::string >::iterator i = s_modules.begin(); i != s_modules.end(); ++i )
+ {
+ if( fs::exists( module_build_path( *i ) ) && fs::exists( module_source_path( *i ) ) )
+ {
+ std::cout << *i << "\n";
+ }
+ }
+}
+
+// module_weight_report
+
+struct module_weight_actions
+{
+ virtual void heading() = 0;
+
+ virtual void weight_start( int weight ) = 0;
+ virtual void weight_end( int weight ) = 0;
+
+ virtual void module_start( std::string const & module ) = 0;
+ virtual void module_end( std::string const & module ) = 0;
+
+ virtual void module_primary_start() = 0;
+ virtual void module_primary( std::string const & module, int weight ) = 0;
+ virtual void module_primary_end() = 0;
+
+ virtual void module_secondary_start() = 0;
+ virtual void module_secondary( std::string const & module, int weight ) = 0;
+ virtual void module_secondary_end() = 0;
+};
+
+static void output_module_weight_report( module_weight_actions & actions )
+{
+ // gather secondary dependencies
+
+ struct build_secondary_deps: public module_secondary_actions
+ {
+ std::map< std::string, std::set< std::string > > * pm_;
+
+ build_secondary_deps( std::map< std::string, std::set< std::string > > * pm ): pm_( pm )
+ {
+ }
+
+ std::string module_;
+
+ void heading( std::string const & module )
+ {
+ module_ = module;
+ }
+
+ void module_start( std::string const & /*module*/ )
+ {
+ }
+
+ void module_end( std::string const & /*module*/ )
+ {
+ }
+
+ void module_adds( std::string const & module )
+ {
+ (*pm_)[ module_ ].insert( module );
+ }
+ };
+
+ std::map< std::string, std::set< std::string > > secondary_deps;
+
+ build_secondary_deps bsd( &secondary_deps );
+
+ for( std::set< std::string >::const_iterator i = s_modules.begin(); i != s_modules.end(); ++i )
+ {
+ output_module_secondary_report( *i, bsd );
+ }
+
+ // build weight map
+
+ std::map< int, std::set< std::string > > modules_by_weight;
+
+ for( std::set< std::string >::const_iterator i = s_modules.begin(); i != s_modules.end(); ++i )
+ {
+ int w = s_module_deps[ *i ].size() + secondary_deps[ *i ].size();
+ modules_by_weight[ w ].insert( *i );
+ }
+
+ // output report
+
+ actions.heading();
+
+ for( std::map< int, std::set< std::string > >::const_iterator i = modules_by_weight.begin(); i != modules_by_weight.end(); ++i )
+ {
+ actions.weight_start( i->first );
+
+ for( std::set< std::string >::const_iterator j = i->second.begin(); j != i->second.end(); ++j )
+ {
+ actions.module_start( *j );
+
+ if( !s_module_deps[ *j ].empty() )
+ {
+ actions.module_primary_start();
+
+ for( std::set< std::string >::const_iterator k = s_module_deps[ *j ].begin(); k != s_module_deps[ *j ].end(); ++k )
+ {
+ int w = s_module_deps[ *k ].size() + secondary_deps[ *k ].size();
+ actions.module_primary( *k, w );
+ }
+
+ actions.module_primary_end();
+ }
+
+ if( !secondary_deps[ *j ].empty() )
+ {
+ actions.module_secondary_start();
+
+ for( std::set< std::string >::const_iterator k = secondary_deps[ *j ].begin(); k != secondary_deps[ *j ].end(); ++k )
+ {
+ int w = s_module_deps[ *k ].size() + secondary_deps[ *k ].size();
+ actions.module_secondary( *k, w );
+ }
+
+ actions.module_secondary_end();
+ }
+
+ actions.module_end( *j );
+ }
+
+ actions.weight_end( i->first );
+ }
+}
+
+struct module_weight_txt_actions: public module_weight_actions
+{
+ void heading()
+ {
+ std::cout << "Module Weights:\n\n";
+ }
+
+ void weight_start( int weight )
+ {
+ std::cout << "Weight " << weight << ":\n";
+ }
+
+ void weight_end( int /*weight*/ )
+ {
+ std::cout << "\n";
+ }
+
+ void module_start( std::string const & module )
+ {
+ std::cout << " " << module;
+ }
+
+ void module_end( std::string const & /*module*/ )
+ {
+ std::cout << "\n";
+ }
+
+ void module_primary_start()
+ {
+ std::cout << " ->";
+ }
+
+ void module_primary( std::string const & module, int weight )
+ {
+ std::cout << " " << module << "(" << weight << ")";
+ }
+
+ void module_primary_end()
+ {
+ }
+
+ void module_secondary_start()
+ {
+ std::cout << " ->";
+ }
+
+ void module_secondary( std::string const & module, int /*weight*/ )
+ {
+ std::cout << " " << module;
+ }
+
+ void module_secondary_end()
+ {
+ }
+};
+
+struct module_weight_html_actions: public module_weight_actions
+{
+ int weight_;
+
+ void heading()
+ {
+ std::cout << "<h1>Module Weights</h1>\n";
+ }
+
+ void weight_start( int weight )
+ {
+ std::cout << " <h2>Weight " << weight << "</h2><ul>\n";
+ weight_ = weight;
+ }
+
+ void weight_end( int /*weight*/ )
+ {
+ std::cout << " </ul>\n";
+ }
+
+ void module_start( std::string const & module )
+ {
+ std::cout << " <li><a href =\"" << module << ".html\">" << module << "</a><small>";
+ }
+
+ void module_end( std::string const & /*module*/ )
+ {
+ std::cout << "</small></li>\n";
+ }
+
+ void module_primary_start()
+ {
+ std::cout << "<br />&#8674;";
+ }
+
+ void module_primary( std::string const & module, int weight )
+ {
+ std::cout << " ";
+
+ bool heavy = weight >= 0.8 * weight_;
+
+ if( heavy )
+ {
+ std::cout << "<strong>";
+ }
+
+ std::cout << module << "<sup>" << weight << "</sup>";
+
+ if( heavy )
+ {
+ std::cout << "</strong>";
+ }
+ }
+
+ void module_primary_end()
+ {
+ }
+
+ void module_secondary_start()
+ {
+ std::cout << "<br /><span style=\"padding-left: 1em;\">&#8674;";
+ }
+
+ void module_secondary( std::string const & module, int /*weight*/ )
+ {
+ std::cout << " " << module;
+ }
+
+ void module_secondary_end()
+ {
+ std::cout << "</span>";
+ }
+};
+
+static void output_module_weight_report( bool html )
+{
+ if( html )
+ {
+ module_weight_html_actions actions;
+ output_module_weight_report( actions );
+ }
+ else
+ {
+ module_weight_txt_actions actions;
+ output_module_weight_report( actions );
+ }
+}
+
int main( int argc, char const* argv[] )
{
if( argc < 2 )
{
- std::cerr << "Usage:\n\n";
- std::cerr << " boostdep --list-modules\n";
- std::cerr << "\n";
- std::cerr << " boostdep [options] --module-overview\n";
- std::cerr << " boostdep [options] --module-levels\n";
- std::cerr << "\n";
- std::cerr << " boostdep [options] [--primary] <module>\n";
- std::cerr << " boostdep [options] --secondary <module>\n";
- std::cerr << " boostdep [options] --reverse <module>\n";
- std::cerr << " boostdep [options] [--header] <header>\n";
- std::cerr << "\n";
- std::cerr << " where [options] can be [--title <title>] [--footer <footer>] [--html]\n";
+ std::cout <<
+
+ "Usage:\n"
+ "\n"
+ " boostdep --list-modules\n";
+ " boostdep --list-buildable\n";
+ " boostdep [--track-sources] --list-dependencies\n";
+ "\n";
+ " boostdep [options] --module-overview\n";
+ " boostdep [options] --module-levels\n";
+ " boostdep [options] --module-weights\n";
+ "\n";
+ " boostdep [options] [--primary] <module>\n";
+ " boostdep [options] --secondary <module>\n";
+ " boostdep [options] --reverse <module>\n";
+ " boostdep [options] [--header] <header>\n";
+ "\n";
+ " [options]: [--track-sources] [--title <title>] [--footer <footer>] [--html]\n";
return -1;
}
@@ -1249,6 +1617,7 @@ int main( int argc, char const* argv[] )
bool html = false;
bool secondary = false;
+ bool track_sources = false;
std::string title = "Boost Dependency Report";
std::string footer;
@@ -1259,10 +1628,11 @@ int main( int argc, char const* argv[] )
if( option == "--list-modules" )
{
- for( std::set< std::string >::iterator i = s_modules.begin(); i != s_modules.end(); ++i )
- {
- std::cout << *i << "\n";
- }
+ list_modules();
+ }
+ else if( option == "--list-buildable" )
+ {
+ list_buildable();
}
else if( option == "--title" )
{
@@ -1286,18 +1656,22 @@ int main( int argc, char const* argv[] )
output_html_header( title );
}
}
+ else if( option == "--track-sources" )
+ {
+ track_sources = true;
+ }
else if( option == "--primary" )
{
if( i + 1 < argc )
{
- output_module_primary_report( argv[ ++i ], html );
+ output_module_primary_report( argv[ ++i ], html, track_sources );
}
}
else if( option == "--secondary" )
{
if( i + 1 < argc )
{
- enable_secondary( secondary );
+ enable_secondary( secondary, track_sources );
output_module_secondary_report( argv[ ++i ], html );
}
}
@@ -1305,7 +1679,7 @@ int main( int argc, char const* argv[] )
{
if( i + 1 < argc )
{
- enable_secondary( secondary );
+ enable_secondary( secondary, track_sources );
output_module_reverse_report( argv[ ++i ], html );
}
}
@@ -1313,27 +1687,37 @@ int main( int argc, char const* argv[] )
{
if( i + 1 < argc )
{
- enable_secondary( secondary );
+ enable_secondary( secondary, track_sources );
output_header_report( argv[ ++i ], html );
}
}
else if( option == "--module-levels" )
{
- enable_secondary( secondary );
+ enable_secondary( secondary, track_sources );
output_module_level_report( html );
}
else if( option == "--module-overview" )
{
- enable_secondary( secondary );
+ enable_secondary( secondary, track_sources );
output_module_overview_report( html );
}
+ else if( option == "--module-weights" )
+ {
+ enable_secondary( secondary, track_sources );
+ output_module_weight_report( html );
+ }
+ else if( option == "--list-dependencies" )
+ {
+ enable_secondary( secondary, track_sources );
+ list_dependencies();
+ }
else if( s_modules.count( option ) )
{
- output_module_primary_report( option, html );
+ output_module_primary_report( option, html, track_sources );
}
else if( s_header_map.count( option ) )
{
- enable_secondary( secondary );
+ enable_secondary( secondary, track_sources );
output_header_report( option, html );
}
else
diff --git a/tools/build/bootstrap.bat b/tools/build/bootstrap.bat
index 1229499cc2..bf8c3f1df2 100644
--- a/tools/build/bootstrap.bat
+++ b/tools/build/bootstrap.bat
@@ -47,3 +47,4 @@ ECHO.
goto :end
:end
+exit /b %ERRORLEVEL%
diff --git a/tools/build/doc/boost.png b/tools/build/doc/boost.png
new file mode 100644
index 0000000000..b4d51fcd5c
--- /dev/null
+++ b/tools/build/doc/boost.png
Binary files differ
diff --git a/tools/build/doc/boostbook.css b/tools/build/doc/boostbook.css
new file mode 100644
index 0000000000..84d52019d0
--- /dev/null
+++ b/tools/build/doc/boostbook.css
@@ -0,0 +1,706 @@
+
+/*=============================================================================
+Copyright (c) 2004 Joel de Guzman
+http://spirit.sourceforge.net/
+
+Copyright 2013 Niall Douglas additions for colors and alignment.
+Copyright 2013 Paul A. Bristow additions for more colors and alignments.
+
+Distributed under the Boost Software License, Version 1.0. (See accompany-
+ing file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
+=============================================================================*/
+
+/*=============================================================================
+Body defaults
+=============================================================================*/
+
+ body
+ {
+ font-size: 16px;
+ max-width: 60em;
+ padding-left: 4em;
+ padding-right: 4em;
+ margin: auto;
+ font-family: sans-serif;
+ }
+
+/*=============================================================================
+Paragraphs
+=============================================================================*/
+
+ p
+ {
+ text-align: left;
+ }
+
+/*=============================================================================
+Program listings
+=============================================================================*/
+
+ /* Code on paragraphs */
+ p tt.computeroutput
+ {
+
+ }
+
+ pre.synopsis
+ {
+ margin: 1pc 4% 0pc 4%;
+ padding: 0.5pc 0.5pc 0.5pc 0.5pc;
+ }
+
+ .programlisting,
+ .screen
+ {
+ display: block;
+ margin: 1pc 4% 0pc 4%;
+ padding: 0.5pc 0.5pc 0.5pc 0.5pc;
+ }
+
+ /* Program listings in tables don't get borders */
+ td .programlisting,
+ td .screen
+ {
+ margin: 0pc 0pc 0pc 0pc;
+ padding: 0pc 0pc 0pc 0pc;
+ }
+
+/*=============================================================================
+Headings
+=============================================================================*/
+
+ h1, h2, h3, h4, h5, h6
+ {
+ text-align: left;
+ margin: 1em 0em 0.5em 0em;
+ font-weight: bold;
+ }
+
+ h1 { font-size: 140%; }
+ h2 { font-weight: bold; font-size: 140%; color: rgb(74, 100, 132); }
+ h3 { font-weight: bold; font-size: 130%; }
+ h4 { font-weight: bold; font-size: 120%; }
+ h5 { font-weight: normal; font-style: italic; font-size: 110%; }
+ h6 { font-weight: normal; font-style: italic; font-size: 100%; }
+
+ /* Top page titles */
+ title,
+ h1.title,
+ h2.title
+ h3.title,
+ h4.title,
+ h5.title,
+ h6.title,
+ .refentrytitle
+ {
+ font-weight: bold;
+ margin-bottom: 1pc;
+ }
+
+ h1.title { font-size: 140% }
+ h2.title { font-size: 140% }
+ h3.title { font-size: 130% }
+ h4.title { font-size: 120% }
+ h5.title { font-size: 110% }
+ h6.title { font-size: 100% }
+
+ .section h1
+ {
+ margin: 0em 0em 0.5em 0em;
+ font-size: 140%;
+ }
+
+ .section h2 { font-size: 140% }
+ .section h3 { font-size: 130% }
+ .section h4 { font-size: 120% }
+ .section h5 { font-size: 110% }
+ .section h6 { font-size: 100% }
+
+ /* Code on titles */
+ h1 tt.computeroutput { font-size: 140% }
+ h2 tt.computeroutput { font-size: 140% }
+ h3 tt.computeroutput { font-size: 130% }
+ h4 tt.computeroutput { font-size: 130% }
+ h5 tt.computeroutput { font-size: 130% }
+ h6 tt.computeroutput { font-size: 130% }
+
+
+/*=============================================================================
+Author
+=============================================================================*/
+
+ h3.author
+ {
+ font-size: 100%
+ }
+
+/*=============================================================================
+Lists
+=============================================================================*/
+
+ li
+ {
+ }
+
+ /* Unordered lists */
+ ul
+ {
+ text-align: left;
+ }
+
+ /* Ordered lists */
+ ol
+ {
+ text-align: left;
+ }
+
+/*=============================================================================
+Links
+=============================================================================*/
+
+ a
+ {
+ text-decoration: none; /* no underline */
+ }
+
+ a:hover
+ {
+ text-decoration: underline;
+ }
+
+/*=============================================================================
+Spirit style navigation
+=============================================================================*/
+
+ .spirit-nav
+ {
+ text-align: right;
+ }
+
+ .spirit-nav a
+ {
+ color: white;
+ padding-left: 0.5em;
+ }
+
+ .spirit-nav img
+ {
+ border-width: 0px;
+ }
+
+/*=============================================================================
+Copyright footer
+=============================================================================*/
+ .copyright-footer
+ {
+ margin-top: 3em;
+ }
+
+/*=============================================================================
+Table of contents
+=============================================================================*/
+
+ div.toc
+ {
+ font-size: 14px;
+ }
+
+ .boost-toc
+ {
+ float: right;
+ padding: 0.5pc;
+ }
+
+ /* Code on toc */
+ .toc .computeroutput { font-size: 120% }
+
+ /* No margin on nested menus */
+
+ .toc dl dl { margin: 0; }
+
+/*=============================================================================
+Tables
+=============================================================================*/
+
+ .informaltable table,
+ .table table
+ {
+ width: 100%;
+ }
+
+ .table p.title
+ {
+ text-align: right;
+ color: #959595;
+ margin-bottom: 0;
+ }
+
+ .table p.title b
+ {
+ font-weight: normal;
+ }
+
+ /* Table Cells */
+ div.informaltable table tr td,
+ div.table table tr td
+ {
+ padding: 0.5em;
+ text-align: left;
+ }
+
+
+ div.informaltable table tr th,
+ div.table table tr th
+ {
+ padding: 0.5em 0.5em 0.5em 0.5em;
+ border: 1pt solid white;
+ font-size: 80%;
+ }
+
+ table.simplelist
+ {
+ width: auto !important;
+ margin: 0em !important;
+ padding: 0em !important;
+ border: none !important;
+ }
+ table.simplelist td
+ {
+ margin: 0em !important;
+ padding: 0em !important;
+ text-align: left !important;
+ border: none !important;
+ }
+
+/*=============================================================================
+Blurbs
+=============================================================================*/
+
+ div.note,
+ div.tip,
+ div.important,
+ div.caution,
+ div.warning,
+ p.blurb
+ {
+ display: block;
+ padding: 0.5em;
+ border: 1px solid #ddd;
+ }
+
+ div.note h3, div.tip h3, div.important h3, div.caution h3, div.warning h3
+ {
+ font-size: 100%;
+ margin: 0 !important;
+ display: inline;
+ }
+
+ div.note p, div.tip p, div.important p, div.caution p, div.warning p
+ {
+ margin: 0;
+ }
+
+ div.warning
+ {
+ border-left: 6px solid #f2dede;
+ }
+
+ div.tip, div.note
+ {
+ border-left: 6px solid #d9edf7;
+ }
+
+ p.blurb img
+ {
+ padding: 1pt;
+ }
+
+/*=============================================================================
+Variable Lists
+=============================================================================*/
+
+ div.variablelist
+ {
+ margin: 1em 0;
+ }
+
+ /* Make the terms in definition lists bold */
+ div.variablelist dl dt,
+ span.term
+ {
+ font-weight: bold;
+ }
+
+ div.variablelist table tbody tr td
+ {
+ text-align: left;
+ vertical-align: top;
+ padding: 0em 2em 0em 0em;
+ margin: 0em 0em 0.5em 0em;
+ }
+
+ div.variablelist dl dt
+ {
+ margin-bottom: 0.2em;
+ }
+
+ div.variablelist dl dd
+ {
+ margin: 0em 0em 0.5em 2em;
+ }
+
+ div.variablelist table tbody tr td p,
+ div.variablelist dl dd p
+ {
+ margin: 0em 0em 0.5em 0em;
+ }
+
+/*=============================================================================
+Misc
+=============================================================================*/
+
+ /* Title of books and articles in bibliographies */
+ span.title
+ {
+ font-style: italic;
+ }
+
+ span.underline
+ {
+ text-decoration: underline;
+ }
+
+ span.strikethrough
+ {
+ text-decoration: line-through;
+ }
+
+ /* Copyright, Legal Notice */
+ div div.legalnotice p
+ {
+ text-align: left
+ }
+
+/*=============================================================================
+Colors
+=============================================================================*/
+
+ @media screen
+ {
+ body {
+ background-color: #FFFFFF;
+ color: #000000;
+ }
+
+ /* Syntax Highlighting */
+ .keyword { color: #0000AA; }
+ .identifier { color: #000000; }
+ .special { color: #707070; }
+ .preprocessor { color: #402080; }
+ .char { color: teal; }
+ .comment { color: #800000; }
+ .string { color: teal; }
+ .number { color: teal; }
+ .white_bkd { background-color: #FFFFFF; }
+ .dk_grey_bkd { background-color: #999999; }
+
+ /* Links */
+ a, a .keyword, a .identifier, a .special, a .preprocessor
+ a .char, a .comment, a .string, a .number
+ {
+ color: #005a9c;
+ }
+
+ a:visited, a:visited .keyword, a:visited .identifier,
+ a:visited .special, a:visited .preprocessor a:visited .char,
+ a:visited .comment, a:visited .string, a:visited .number
+ {
+ color: #9c5a9c;
+ }
+
+ h1 a, h2 a, h3 a, h4 a, h5 a, h6 a,
+ h1 a:hover, h2 a:hover, h3 a:hover, h4 a:hover, h5 a:hover, h6 a:hover,
+ h1 a:visited, h2 a:visited, h3 a:visited, h4 a:visited, h5 a:visited, h6 a:visited
+ {
+ text-decoration: none; /* no underline */
+ color: #000000;
+ }
+
+ /* Copyright, Legal Notice */
+ .copyright
+ {
+ color: #666666;
+ margin-left: 4em;
+ }
+
+ div div.legalnotice p
+ {
+ color: #666666;
+ }
+
+ /* Program listing */
+ pre.synopsis
+ {
+ border: 1px solid #ddd;
+ border-left: 6px solid #ddd;
+ padding: 0.5em;
+ margin: 1em 0px;
+ }
+
+ .programlisting,
+ .screen
+ {
+ border: 1px solid #ddd;
+ border-left: 6px solid #ddd;
+ padding: 0.5em;
+ margin: 1em 0px;
+ }
+
+ td .programlisting,
+ td .screen
+ {
+ border: 1px solid #ddd;
+ border-left: 6px solid #ddd;
+ padding: 0.5em;
+ margin: 1em 0px;
+ }
+
+ /* Table of contents */
+ div.toc
+ {
+ border: 1px solid #ddd;
+ padding-left: 0.5em;
+ }
+
+ /* Tables */
+ div.informaltable table tr td,
+ div.table table tr td
+ {
+ border: 1px solid #ddd;
+ }
+
+ div.informaltable table tr th,
+ div.table table tr th
+ {
+ background-color: #F0F0F0;
+ border: 1px solid #ddd;
+ }
+
+ .copyright-footer
+ {
+ color: #8F8F8F;
+ }
+
+ /* Misc */
+ span.highlight
+ {
+ color: #00A000;
+ }
+ }
+
+ @media print
+ {
+ /* Links */
+ a
+ {
+ color: black;
+ }
+
+ a:visited
+ {
+ color: black;
+ }
+
+ .spirit-nav
+ {
+ display: none;
+ }
+
+ /* Program listing */
+ pre.synopsis
+ {
+ border: 1px solid gray;
+ }
+
+ .programlisting,
+ .screen
+ {
+ border: 1px solid gray;
+ }
+
+ td .programlisting,
+ td .screen
+ {
+ border: 0px solid #ddd;
+ }
+
+ /* Table of contents */
+ div.toc
+ {
+ border: 1px solid gray;
+ }
+
+ .informaltable table,
+ .table table
+ {
+ border: 1px solid gray;
+ border-collapse: collapse;
+ }
+
+ /* Tables */
+ div.informaltable table tr td,
+ div.table table tr td
+ {
+ border: 1px solid gray;
+ }
+
+ div.informaltable table tr th,
+ div.table table tr th
+ {
+ border: 1px solid gray;
+ }
+
+ table.simplelist tr td
+ {
+ border: none !important;
+ }
+
+ /* Misc */
+ span.highlight
+ {
+ font-weight: bold;
+ }
+ }
+
+/*=============================================================================
+Images
+=============================================================================*/
+
+ span.inlinemediaobject img
+ {
+ vertical-align: middle;
+ }
+
+/*==============================================================================
+Super and Subscript: style so that line spacing isn't effected, see
+http://www.adobe.com/cfusion/communityengine/index.cfm?event=showdetails&productId=1&postId=5341
+==============================================================================*/
+
+sup,
+sub {
+height: 0;
+line-height: 1;
+vertical-align: baseline;
+position: relative;
+
+}
+
+/* For internet explorer: */
+
+* html sup,
+* html sub {
+vertical-align: bottom;
+}
+
+sup {
+bottom: 1ex;
+}
+
+sub {
+top: .5ex;
+}
+
+/*==============================================================================
+Indexes: pretty much the same as the TOC.
+==============================================================================*/
+
+ .index
+ {
+ font-size: 80%;
+ padding-top: 0px;
+ padding-bottom: 0px;
+ margin-top: 0px;
+ margin-bottom: 0px;
+ margin-left: 0px;
+ }
+
+ .index ul
+ {
+ padding-left: 3em;
+ }
+
+ .index p
+ {
+ padding: 2px;
+ margin: 2px;
+ }
+
+ .index-entry-level-0
+ {
+ font-weight: bold;
+ }
+
+ .index em
+ {
+ font-weight: bold;
+ }
+
+
+/*==============================================================================
+Alignment and coloring use 'role' feature, available from Quickbook 1.6 up.
+Added from Niall Douglas for role color and alignment.
+http://article.gmane.org/gmane.comp.lib.boost.devel/243318
+*/
+
+/* Add text alignment (see http://www.w3schools.com/cssref/pr_text_text-align.asp) */
+span.aligncenter
+{
+ display: inline-block; width: 100%; text-align: center;
+}
+span.alignright
+{
+ display: inline-block; width: 100%; text-align: right;
+}
+/* alignleft is the default. */
+span.alignleft
+{
+ display: inline-block; width: 100%; text-align: left;
+}
+
+/* alignjustify stretches the word spacing so that each line has equal width
+within a chosen fraction of page width (here arbitrarily 20%).
+*Not* useful inside table items as the column width remains the total string width.
+Nor very useful, except to temporarily restrict the width.
+*/
+span.alignjustify
+{
+ display: inline-block; width: 20%; text-align: justify;
+}
+
+/* Text colors.
+Names at http://www.w3.org/TR/2002/WD-css3-color-20020219/ 4.3. X11 color keywords.
+Quickbook Usage: [role red Some red text]
+
+*/
+span.red { inline-block; color: red; }
+span.green { color: green; }
+span.lime { color: #00FF00; }
+span.blue { color: blue; }
+span.navy { color: navy; }
+span.yellow { color: yellow; }
+span.magenta { color: magenta; }
+span.indigo { color: #4B0082; }
+span.cyan { color: cyan; }
+span.purple { color: purple; }
+span.gold { color: gold; }
+span.silver { color: silver; } /* lighter gray */
+span.gray { color: #808080; } /* light gray */
+
+div.titlepage hr { display: none; }
+div.dedication h1 { display: none; }
+
+hr {
+ border: 0;
+ border-top: 1px solid #eee;
+}
+
diff --git a/tools/build/doc/development_plan.html b/tools/build/doc/development_plan.html
deleted file mode 100644
index 598c23dae7..0000000000
--- a/tools/build/doc/development_plan.html
+++ /dev/null
@@ -1,130 +0,0 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
-
-<!-- Copyright 2004 Aleksey Gurtovoy -->
-<!-- Copyright 2003, 2004 Vladimir Prus -->
-<!-- Distributed under the Boost Software License, Version 1.0. -->
-<!-- (See accompanying file LICENSE_1_0.txt or http://www.boost.org/LICENSE_1_0.txt) -->
-
-<html>
- <head>
- <meta name="generator" content=
- "HTML Tidy for Linux/x86 (vers 1st April 2002), see www.w3.org">
- <meta name="generator" content="Microsoft FrontPage 5.0">
- <meta http-equiv="Content-Type" content=
- "text/html; charset=windows-1252">
- <!-- tidy options: &dash;&dash;tidy-mark false -i -wrap 78 !-->
-
- <title>Boost Build System V2</title>
- </head>
-
- <body bgcolor="#FFFFFF" text="#000000">
- <img src="../../../../boost.png" alt="boost.png (6897 bytes)" align="center"
- width="277" height="86"> <!-- sf logo -->
-
-
- <h1>Boost Build Development Plan</h1>
-
- <ul>
- <li>
- <b>Milestone 2</b> (October 25, 2002)
-
- <p>Boost buildable with gcc and also usable as part of another
- project.</p>
- </li>
-
- <li>
- <b>Milestone 3</b> (May 21, 2003)
-
- <p>Two gcc versions and two other compilers are supported. Some other
- tools (e.g. lex and BoostBook) are implemented.</p>
- </li>
-
- <li>
- <b>Milestone 4</b> (June 18, 2003)
-
- <p>More tools implemented.</p>
- </li>
-
- <li>
- <b>Milestone 5</b> (Jule 2, 2003)
-
- <p>Improvements and bugfixes with dependency scanning. Support for
- i18n tools. Testing framework for Boost.</p>
- </li>
-
- <li>
- <b>Milestone 6</b> (Jule 22, 2003)
-
- <p>Bugfixes.</p>
- </li>
-
- <li>
- <b>Milestone 7</b> (Aug 1, 2003)
-
- <p>Optimizations.</p>
- </li>
-
- <li>
- <b>Milestone 8</b> (Oct 15, 2003)
-
- <p>Implementation of regression testing framework was
- implemented. Handling of dependencies to generated headers was
- optimized. Algorithms for link-compatibility checking and selecting
- main target alternatives were improved.</p>
- </li>
-
- <li>
- <b>Milestone 9.1</b> (Nov 06, 2003)
-
- <p>Performance was considerably improved. The syntax for linking a
- library into a library was simplified. The 'stage' rule can traverse
- dependencies of the targets it installs. Regression testing support
- now works on Windows. Some toolsets were improved. Bugs in project
- loading and suffix determination were fixed.
- </li>
-
- <li>
- <b>Milestone 10</b> (TBD)
-
- <p>Remaining features for <a href="http://boost.org">C++ Boost</a>:
- improved installation, Python support. Uniform toolset initialization
- scheme. Many bugfixes</p>
- </li>
-
-
- <li>
- <b>Alpha</b> (TBD)
-
- <p>Optimization. Using buildable tools: consider using bison, which
- is itself built with Boost.Build.</p>
- </li>
-
- <li>
- <b>Beta</b> (TBD)
-
- <p>Feature-complete milestone.</p>
- </li>
-
- <li>
- <b>2.0 Release</b> (TBD)
-
- <p>Bugfixes</p>
- </li>
- </ul>
- <hr>
-
- <p>&copy; Copyright Vladimir Prus 2002-2003. Permission to copy, use,
- modify, sell and distribute this document is granted provided this
- copyright notice appears in all copies. This document is provided "as is"
- without express or implied warranty, and with no claim as to its
- suitability for any purpose.</p>
-
- <p>Revised
- <!--webbot bot="Timestamp" s-type="EDITED" s-format="%d %B, %Y" startspan
- -->23 Aug, 2004
- <!--webbot bot="Timestamp" endspan i-checksum="13972"
- -->
- </p>
- </body>
-</html>
-
diff --git a/tools/build/doc/images/alert.png b/tools/build/doc/images/alert.png
new file mode 100644
index 0000000000..b4645bc7e7
--- /dev/null
+++ b/tools/build/doc/images/alert.png
Binary files differ
diff --git a/tools/build/doc/images/blank.png b/tools/build/doc/images/blank.png
new file mode 100644
index 0000000000..764bf4f0c3
--- /dev/null
+++ b/tools/build/doc/images/blank.png
Binary files differ
diff --git a/tools/build/doc/images/callouts/1.png b/tools/build/doc/images/callouts/1.png
new file mode 100644
index 0000000000..6003ad3af4
--- /dev/null
+++ b/tools/build/doc/images/callouts/1.png
Binary files differ
diff --git a/tools/build/doc/images/callouts/1.svg b/tools/build/doc/images/callouts/1.svg
new file mode 100644
index 0000000000..e2e87dc526
--- /dev/null
+++ b/tools/build/doc/images/callouts/1.svg
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Generator: Adobe Illustrator 12.0.1, SVG Export Plug-In . SVG Version: 6.00 Build 51448) -->
+<!DOCTYPE svg [
+ <!ENTITY ns_svg "http://www.w3.org/2000/svg">
+ <!ENTITY ns_xlink "http://www.w3.org/1999/xlink">
+]>
+<svg version="1.0" id="Layer_1" xmlns="&ns_svg;" xmlns:xlink="&ns_xlink;" width="33" height="33" viewBox="0 0 33 33"
+ style="overflow:visible;enable-background:new 0 0 33 33;" xml:space="preserve">
+<circle style="stroke:#000000;" cx="16.5" cy="16.5" r="16"/>
+<g>
+ <g style="enable-background:new ;">
+ <path style="fill:#FFFFFF;" d="M10.428,10.411h0.56c3.78,0,4.788-1.96,4.872-3.444h3.22v19.88h-3.92V13.154h-4.732V10.411z"/>
+ </g>
+</g>
+</svg>
diff --git a/tools/build/doc/images/callouts/10.png b/tools/build/doc/images/callouts/10.png
new file mode 100644
index 0000000000..0426f516a4
--- /dev/null
+++ b/tools/build/doc/images/callouts/10.png
Binary files differ
diff --git a/tools/build/doc/images/callouts/10.svg b/tools/build/doc/images/callouts/10.svg
new file mode 100644
index 0000000000..4740f587bd
--- /dev/null
+++ b/tools/build/doc/images/callouts/10.svg
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Generator: Adobe Illustrator 12.0.1, SVG Export Plug-In . SVG Version: 6.00 Build 51448) -->
+<!DOCTYPE svg [
+ <!ENTITY ns_svg "http://www.w3.org/2000/svg">
+ <!ENTITY ns_xlink "http://www.w3.org/1999/xlink">
+]>
+<svg version="1.0" id="Layer_1" xmlns="&ns_svg;" xmlns:xlink="&ns_xlink;" width="33" height="33" viewBox="0 0 33 33"
+ style="overflow:visible;enable-background:new 0 0 33 33;" xml:space="preserve">
+<circle style="stroke:#000000;" cx="16.5" cy="16.5" r="16"/>
+<g>
+ <g style="enable-background:new ;">
+ <path style="fill:#FFFFFF;" d="M3.815,10.758h0.48c3.24,0,4.104-1.681,4.176-2.952h2.76v17.04h-3.36V13.11H3.815V10.758z"/>
+ <path style="fill:#FFFFFF;" d="M22.175,7.806c4.009,0,5.904,2.76,5.904,8.736c0,5.975-1.896,8.76-5.904,8.76
+ c-4.008,0-5.904-2.785-5.904-8.76C16.271,10.566,18.167,7.806,22.175,7.806z M22.175,22.613c1.921,0,2.448-1.68,2.448-6.071
+ c0-4.393-0.527-6.049-2.448-6.049c-1.92,0-2.448,1.656-2.448,6.049C19.727,20.934,20.255,22.613,22.175,22.613z"/>
+ </g>
+</g>
+</svg>
diff --git a/tools/build/doc/images/callouts/11.png b/tools/build/doc/images/callouts/11.png
new file mode 100644
index 0000000000..821afc4fa8
--- /dev/null
+++ b/tools/build/doc/images/callouts/11.png
Binary files differ
diff --git a/tools/build/doc/images/callouts/11.svg b/tools/build/doc/images/callouts/11.svg
new file mode 100644
index 0000000000..09a0b2cf71
--- /dev/null
+++ b/tools/build/doc/images/callouts/11.svg
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Generator: Adobe Illustrator 12.0.1, SVG Export Plug-In . SVG Version: 6.00 Build 51448) -->
+<!DOCTYPE svg [
+ <!ENTITY ns_svg "http://www.w3.org/2000/svg">
+ <!ENTITY ns_xlink "http://www.w3.org/1999/xlink">
+]>
+<svg version="1.0" id="Layer_1" xmlns="&ns_svg;" xmlns:xlink="&ns_xlink;" width="33" height="33" viewBox="0 0 33 33"
+ style="overflow:visible;enable-background:new 0 0 33 33;" xml:space="preserve">
+<circle style="stroke:#000000;" cx="16.5" cy="16.5" r="16"/>
+<g>
+ <g style="enable-background:new ;">
+ <path style="fill:#FFFFFF;" d="M5.209,10.412h0.48c3.24,0,4.104-1.681,4.176-2.952h2.76V24.5h-3.36V12.764H5.209V10.412z"/>
+ <path style="fill:#FFFFFF;" d="M18.553,10.412h0.48c3.24,0,4.104-1.681,4.176-2.952h2.76V24.5h-3.359V12.764h-4.056V10.412z"/>
+ </g>
+</g>
+</svg>
diff --git a/tools/build/doc/images/callouts/12.png b/tools/build/doc/images/callouts/12.png
new file mode 100644
index 0000000000..7cec72720f
--- /dev/null
+++ b/tools/build/doc/images/callouts/12.png
Binary files differ
diff --git a/tools/build/doc/images/callouts/12.svg b/tools/build/doc/images/callouts/12.svg
new file mode 100644
index 0000000000..9794044c71
--- /dev/null
+++ b/tools/build/doc/images/callouts/12.svg
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Generator: Adobe Illustrator 12.0.1, SVG Export Plug-In . SVG Version: 6.00 Build 51448) -->
+<!DOCTYPE svg [
+ <!ENTITY ns_svg "http://www.w3.org/2000/svg">
+ <!ENTITY ns_xlink "http://www.w3.org/1999/xlink">
+]>
+<svg version="1.0" id="Layer_1" xmlns="&ns_svg;" xmlns:xlink="&ns_xlink;" width="33" height="33" viewBox="0 0 33 33"
+ style="overflow:visible;enable-background:new 0 0 33 33;" xml:space="preserve">
+<circle style="stroke:#000000;" cx="16.5" cy="16.5" r="16"/>
+<g>
+ <g style="enable-background:new ;">
+ <path style="fill:#FFFFFF;" d="M4.813,10.412h0.48c3.24,0,4.104-1.681,4.176-2.952h2.76V24.5h-3.36V12.764H4.813V10.412z"/>
+ <path style="fill:#FFFFFF;" d="M17.316,13.484c0-5.545,4.056-6.024,5.568-6.024c3.265,0,5.856,1.92,5.856,5.376
+ c0,2.928-1.896,4.416-3.553,5.544c-2.256,1.584-3.432,2.353-3.815,3.145h7.392V24.5h-11.64c0.12-1.992,0.264-4.08,3.96-6.768
+ c3.072-2.232,4.296-3.097,4.296-5.017c0-1.128-0.72-2.424-2.353-2.424c-2.352,0-2.423,1.944-2.447,3.192H17.316z"/>
+ </g>
+</g>
+</svg>
diff --git a/tools/build/doc/images/callouts/13.png b/tools/build/doc/images/callouts/13.png
new file mode 100644
index 0000000000..5b41e02a67
--- /dev/null
+++ b/tools/build/doc/images/callouts/13.png
Binary files differ
diff --git a/tools/build/doc/images/callouts/13.svg b/tools/build/doc/images/callouts/13.svg
new file mode 100644
index 0000000000..64268bb4fa
--- /dev/null
+++ b/tools/build/doc/images/callouts/13.svg
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Generator: Adobe Illustrator 12.0.1, SVG Export Plug-In . SVG Version: 6.00 Build 51448) -->
+<!DOCTYPE svg [
+ <!ENTITY ns_svg "http://www.w3.org/2000/svg">
+ <!ENTITY ns_xlink "http://www.w3.org/1999/xlink">
+]>
+<svg version="1.0" id="Layer_1" xmlns="&ns_svg;" xmlns:xlink="&ns_xlink;" width="33" height="33" viewBox="0 0 33 33"
+ style="overflow:visible;enable-background:new 0 0 33 33;" xml:space="preserve">
+<circle style="stroke:#000000;" cx="16.5" cy="16.5" r="16"/>
+<g>
+ <g style="enable-background:new ;">
+ <path style="fill:#FFFFFF;" d="M3.813,10.412h0.48c3.24,0,4.104-1.681,4.176-2.952h2.76V24.5h-3.36V12.764H3.813V10.412z"/>
+ <path style="fill:#FFFFFF;" d="M20.611,14.636h0.529c1.008,0,2.855-0.096,2.855-2.304c0-0.624-0.288-2.185-2.137-2.185
+ c-2.303,0-2.303,2.185-2.303,2.784h-3.12c0-3.191,1.8-5.472,5.64-5.472c2.279,0,5.279,1.152,5.279,4.752
+ c0,1.728-1.08,2.808-2.039,3.24V15.5c0.6,0.168,2.568,1.056,2.568,3.96c0,3.216-2.377,5.496-5.809,5.496
+ c-1.607,0-5.928-0.36-5.928-5.688h3.288l-0.024,0.024c0,0.912,0.24,2.976,2.496,2.976c1.344,0,2.52-0.911,2.52-2.808
+ c0-2.328-2.256-2.424-3.816-2.424V14.636z"/>
+ </g>
+</g>
+</svg>
diff --git a/tools/build/doc/images/callouts/14.png b/tools/build/doc/images/callouts/14.png
new file mode 100644
index 0000000000..de5bdbd3eb
--- /dev/null
+++ b/tools/build/doc/images/callouts/14.png
Binary files differ
diff --git a/tools/build/doc/images/callouts/14.svg b/tools/build/doc/images/callouts/14.svg
new file mode 100644
index 0000000000..469aa97487
--- /dev/null
+++ b/tools/build/doc/images/callouts/14.svg
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Generator: Adobe Illustrator 12.0.1, SVG Export Plug-In . SVG Version: 6.00 Build 51448) -->
+<!DOCTYPE svg [
+ <!ENTITY ns_svg "http://www.w3.org/2000/svg">
+ <!ENTITY ns_xlink "http://www.w3.org/1999/xlink">
+]>
+<svg version="1.0" id="Layer_1" xmlns="&ns_svg;" xmlns:xlink="&ns_xlink;" width="33" height="33" viewBox="0 0 33 33"
+ style="overflow:visible;enable-background:new 0 0 33 33;" xml:space="preserve">
+<circle style="stroke:#000000;" cx="16.5" cy="16.5" r="16"/>
+<g>
+ <g style="enable-background:new ;">
+ <path style="fill:#FFFFFF;" d="M4.146,10.412h0.48c3.24,0,4.104-1.681,4.176-2.952h2.76V24.5h-3.36V12.764H4.146V10.412z"/>
+ <path style="fill:#FFFFFF;" d="M28.457,20.732h-1.896V24.5h-3.36v-3.768h-6.72v-2.904L22.746,7.46h3.815v10.656h1.896V20.732z
+ M23.201,18.116c0-4.128,0.072-6.792,0.072-7.32h-0.048l-4.272,7.32H23.201z"/>
+ </g>
+</g>
+</svg>
diff --git a/tools/build/doc/images/callouts/15.png b/tools/build/doc/images/callouts/15.png
new file mode 100644
index 0000000000..3fd6ac3860
--- /dev/null
+++ b/tools/build/doc/images/callouts/15.png
Binary files differ
diff --git a/tools/build/doc/images/callouts/15.svg b/tools/build/doc/images/callouts/15.svg
new file mode 100644
index 0000000000..8202233ef0
--- /dev/null
+++ b/tools/build/doc/images/callouts/15.svg
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Generator: Adobe Illustrator 12.0.1, SVG Export Plug-In . SVG Version: 6.00 Build 51448) -->
+<!DOCTYPE svg [
+ <!ENTITY ns_svg "http://www.w3.org/2000/svg">
+ <!ENTITY ns_xlink "http://www.w3.org/1999/xlink">
+]>
+<svg version="1.0" id="Layer_1" xmlns="&ns_svg;" xmlns:xlink="&ns_xlink;" width="33" height="33" viewBox="0 0 33 33"
+ style="overflow:visible;enable-background:new 0 0 33 33;" xml:space="preserve">
+<circle style="stroke:#000000;" cx="16.5" cy="16.5" r="16"/>
+<g>
+ <g style="enable-background:new ;">
+ <path style="fill:#FFFFFF;" d="M3.479,11.079h0.48c3.24,0,4.104-1.681,4.176-2.952h2.76v17.04h-3.36V13.43H3.479V11.079z"/>
+ <path style="fill:#FFFFFF;" d="M19.342,14.943c0.625-0.433,1.392-0.937,3.048-0.937c2.279,0,5.16,1.584,5.16,5.496
+ c0,2.328-1.176,6.121-6.192,6.121c-2.664,0-5.376-1.584-5.544-5.016h3.36c0.144,1.391,0.888,2.326,2.376,2.326
+ c1.607,0,2.544-1.367,2.544-3.191c0-1.512-0.72-3.047-2.496-3.047c-0.456,0-1.608,0.023-2.256,1.223l-3-0.143l1.176-9.361h9.36
+ v2.832h-6.937L19.342,14.943z"/>
+ </g>
+</g>
+</svg>
diff --git a/tools/build/doc/images/callouts/16.svg b/tools/build/doc/images/callouts/16.svg
new file mode 100644
index 0000000000..01d6bf8164
--- /dev/null
+++ b/tools/build/doc/images/callouts/16.svg
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Generator: Adobe Illustrator 12.0.1, SVG Export Plug-In . SVG Version: 6.00 Build 51448) -->
+<!DOCTYPE svg [
+ <!ENTITY ns_svg "http://www.w3.org/2000/svg">
+ <!ENTITY ns_xlink "http://www.w3.org/1999/xlink">
+]>
+<svg version="1.0" id="Layer_1" xmlns="&ns_svg;" xmlns:xlink="&ns_xlink;" width="33" height="33" viewBox="0 0 33 33"
+ style="overflow:visible;enable-background:new 0 0 33 33;" xml:space="preserve">
+<circle style="stroke:#000000;" cx="16.5" cy="16.5" r="16"/>
+<g>
+ <g style="enable-background:new ;">
+ <path style="fill:#FFFFFF;" d="M3.813,10.412h0.48c3.24,0,4.104-1.681,4.176-2.952h2.76V24.5h-3.36V12.764H3.813V10.412z"/>
+ <path style="fill:#FFFFFF;" d="M24.309,11.78c-0.097-0.96-0.721-1.633-1.969-1.633c-2.184,0-2.688,2.496-2.808,4.704L19.58,14.9
+ c0.456-0.624,1.296-1.416,3.191-1.416c3.529,0,5.209,2.712,5.209,5.256c0,3.72-2.28,6.216-5.568,6.216
+ c-5.16,0-6.168-4.32-6.168-8.568c0-3.24,0.432-8.928,6.336-8.928c0.695,0,2.641,0.264,3.48,1.104
+ c0.936,0.912,1.271,1.416,1.584,3.217H24.309z M22.172,16.172c-1.271,0-2.568,0.792-2.568,2.928c0,1.849,1.056,3.168,2.664,3.168
+ c1.225,0,2.353-0.936,2.353-3.239C24.62,16.868,23.229,16.172,22.172,16.172z"/>
+ </g>
+</g>
+</svg>
diff --git a/tools/build/doc/images/callouts/17.svg b/tools/build/doc/images/callouts/17.svg
new file mode 100644
index 0000000000..0a04c5560e
--- /dev/null
+++ b/tools/build/doc/images/callouts/17.svg
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Generator: Adobe Illustrator 12.0.1, SVG Export Plug-In . SVG Version: 6.00 Build 51448) -->
+<!DOCTYPE svg [
+ <!ENTITY ns_svg "http://www.w3.org/2000/svg">
+ <!ENTITY ns_xlink "http://www.w3.org/1999/xlink">
+]>
+<svg version="1.0" id="Layer_1" xmlns="&ns_svg;" xmlns:xlink="&ns_xlink;" width="33" height="33" viewBox="0 0 33 33"
+ style="overflow:visible;enable-background:new 0 0 33 33;" xml:space="preserve">
+<circle style="stroke:#000000;" cx="16.5" cy="16.5" r="16"/>
+<g>
+ <g style="enable-background:new ;">
+ <path style="fill:#FFFFFF;" d="M3.479,11.079h0.48c3.24,0,4.104-1.681,4.176-2.952h2.76v17.04h-3.36V13.43H3.479V11.079z"/>
+ <path style="fill:#FFFFFF;" d="M27.838,11.006c-1.631,1.776-5.807,6.816-6.215,14.16h-3.457c0.36-6.816,4.632-12.24,6.072-13.776
+ h-8.472l0.072-2.976h12V11.006z"/>
+ </g>
+</g>
+</svg>
diff --git a/tools/build/doc/images/callouts/18.svg b/tools/build/doc/images/callouts/18.svg
new file mode 100644
index 0000000000..1cb891b34d
--- /dev/null
+++ b/tools/build/doc/images/callouts/18.svg
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Generator: Adobe Illustrator 12.0.1, SVG Export Plug-In . SVG Version: 6.00 Build 51448) -->
+<!DOCTYPE svg [
+ <!ENTITY ns_svg "http://www.w3.org/2000/svg">
+ <!ENTITY ns_xlink "http://www.w3.org/1999/xlink">
+]>
+<svg version="1.0" id="Layer_1" xmlns="&ns_svg;" xmlns:xlink="&ns_xlink;" width="33" height="33" viewBox="0 0 33 33"
+ style="overflow:visible;enable-background:new 0 0 33 33;" xml:space="preserve">
+<circle style="stroke:#000000;" cx="16.5" cy="16.5" r="16"/>
+<g>
+ <g style="enable-background:new ;">
+ <path style="fill:#FFFFFF;" d="M4.813,10.412h0.48c3.24,0,4.104-1.681,4.176-2.952h2.76V24.5h-3.36V12.764H4.813V10.412z"/>
+ <path style="fill:#FFFFFF;" d="M23.172,24.956c-4.392,0-5.904-2.856-5.904-5.185c0-0.863,0-3.119,2.592-4.319
+ c-1.344-0.672-2.064-1.752-2.064-3.336c0-2.904,2.328-4.656,5.304-4.656c3.528,0,5.4,2.088,5.4,4.44
+ c0,1.464-0.6,2.712-1.968,3.432c1.632,0.815,2.544,1.896,2.544,4.104C29.076,21.596,27.684,24.956,23.172,24.956z M23.124,16.916
+ c-1.224,0-2.4,0.792-2.4,2.64c0,1.632,0.936,2.712,2.472,2.712c1.752,0,2.424-1.512,2.424-2.688
+ C25.62,18.38,24.996,16.916,23.124,16.916z M25.284,12.26c0-1.296-0.888-2.112-1.968-2.112c-1.512,0-2.305,0.864-2.305,2.112
+ c0,1.008,0.744,2.112,2.185,2.112C24.516,14.372,25.284,13.484,25.284,12.26z"/>
+ </g>
+</g>
+</svg>
diff --git a/tools/build/doc/images/callouts/19.svg b/tools/build/doc/images/callouts/19.svg
new file mode 100644
index 0000000000..e6fbb179fc
--- /dev/null
+++ b/tools/build/doc/images/callouts/19.svg
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Generator: Adobe Illustrator 12.0.1, SVG Export Plug-In . SVG Version: 6.00 Build 51448) -->
+<!DOCTYPE svg [
+ <!ENTITY ns_svg "http://www.w3.org/2000/svg">
+ <!ENTITY ns_xlink "http://www.w3.org/1999/xlink">
+]>
+<svg version="1.0" id="Layer_1" xmlns="&ns_svg;" xmlns:xlink="&ns_xlink;" width="33" height="33" viewBox="0 0 33 33"
+ style="overflow:visible;enable-background:new 0 0 33 33;" xml:space="preserve">
+<circle style="stroke:#000000;" cx="16.5" cy="16.5" r="16"/>
+<g>
+ <g style="enable-background:new ;">
+ <path style="fill:#FFFFFF;" d="M4.146,10.746h0.48c3.24,0,4.104-1.681,4.176-2.952h2.76v17.041h-3.36V13.097H4.146V10.746z"/>
+ <path style="fill:#FFFFFF;" d="M20.225,20.898v0.023c0.192,1.176,0.936,1.68,1.968,1.68c1.392,0,2.783-1.176,2.808-4.752
+ l-0.048-0.049c-0.768,1.152-2.088,1.441-3.24,1.441c-3.264,0-5.16-2.473-5.16-5.329c0-4.176,2.472-6.12,5.808-6.12
+ c5.904,0,6,6.36,6,8.76c0,6.601-3.12,8.736-6.192,8.736c-2.904,0-4.992-1.68-5.28-4.391H20.225z M22.434,16.553
+ c1.176,0,2.472-0.84,2.472-2.855c0-1.944-0.841-3.145-2.568-3.145c-0.864,0-2.424,0.433-2.424,2.88
+ C19.913,16.001,21.161,16.553,22.434,16.553z"/>
+ </g>
+</g>
+</svg>
diff --git a/tools/build/doc/images/callouts/2.png b/tools/build/doc/images/callouts/2.png
new file mode 100644
index 0000000000..f7c1578846
--- /dev/null
+++ b/tools/build/doc/images/callouts/2.png
Binary files differ
diff --git a/tools/build/doc/images/callouts/2.svg b/tools/build/doc/images/callouts/2.svg
new file mode 100644
index 0000000000..07d03395d0
--- /dev/null
+++ b/tools/build/doc/images/callouts/2.svg
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Generator: Adobe Illustrator 12.0.1, SVG Export Plug-In . SVG Version: 6.00 Build 51448) -->
+<!DOCTYPE svg [
+ <!ENTITY ns_svg "http://www.w3.org/2000/svg">
+ <!ENTITY ns_xlink "http://www.w3.org/1999/xlink">
+]>
+<svg version="1.0" id="Layer_1" xmlns="&ns_svg;" xmlns:xlink="&ns_xlink;" width="33" height="33" viewBox="0 0 33 33"
+ style="overflow:visible;enable-background:new 0 0 33 33;" xml:space="preserve">
+<circle style="stroke:#000000;" cx="16.5" cy="16.5" r="16"/>
+<g>
+ <g style="enable-background:new ;">
+ <path style="fill:#FFFFFF;" d="M9.668,12.328c0-6.469,4.732-7.028,6.496-7.028c3.808,0,6.833,2.24,6.833,6.271
+ c0,3.416-2.213,5.152-4.145,6.469c-2.632,1.848-4.004,2.744-4.452,3.668h8.624v3.472H9.444c0.14-2.324,0.308-4.76,4.62-7.896
+ c3.584-2.604,5.012-3.612,5.012-5.853c0-1.315-0.84-2.828-2.744-2.828c-2.744,0-2.828,2.269-2.856,3.725H9.668z"/>
+ </g>
+</g>
+</svg>
diff --git a/tools/build/doc/images/callouts/20.svg b/tools/build/doc/images/callouts/20.svg
new file mode 100644
index 0000000000..ccbfd40319
--- /dev/null
+++ b/tools/build/doc/images/callouts/20.svg
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Generator: Adobe Illustrator 12.0.1, SVG Export Plug-In . SVG Version: 6.00 Build 51448) -->
+<!DOCTYPE svg [
+ <!ENTITY ns_svg "http://www.w3.org/2000/svg">
+ <!ENTITY ns_xlink "http://www.w3.org/1999/xlink">
+]>
+<svg version="1.0" id="Layer_1" xmlns="&ns_svg;" xmlns:xlink="&ns_xlink;" width="33" height="33" viewBox="0 0 33 33"
+ style="overflow:visible;enable-background:new 0 0 33 33;" xml:space="preserve">
+<circle style="stroke:#000000;" cx="16.5" cy="16.5" r="16"/>
+<g>
+ <g style="enable-background:new ;">
+ <path style="fill:#FFFFFF;" d="M3.972,13.484c0-5.545,4.056-6.024,5.568-6.024c3.264,0,5.856,1.92,5.856,5.376
+ c0,2.928-1.896,4.416-3.552,5.544c-2.256,1.584-3.432,2.353-3.816,3.145h7.392V24.5H3.78c0.12-1.992,0.264-4.08,3.96-6.768
+ c3.072-2.232,4.296-3.097,4.296-5.017c0-1.128-0.72-2.424-2.352-2.424c-2.352,0-2.424,1.944-2.448,3.192H3.972z"/>
+ <path style="fill:#FFFFFF;" d="M23.172,7.46c4.008,0,5.904,2.76,5.904,8.736c0,5.976-1.896,8.76-5.904,8.76
+ s-5.904-2.784-5.904-8.76C17.268,10.22,19.164,7.46,23.172,7.46z M23.172,22.268c1.92,0,2.448-1.68,2.448-6.071
+ c0-4.393-0.528-6.049-2.448-6.049s-2.448,1.656-2.448,6.049C20.724,20.588,21.252,22.268,23.172,22.268z"/>
+ </g>
+</g>
+</svg>
diff --git a/tools/build/doc/images/callouts/21.svg b/tools/build/doc/images/callouts/21.svg
new file mode 100644
index 0000000000..93ec53fdd9
--- /dev/null
+++ b/tools/build/doc/images/callouts/21.svg
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Generator: Adobe Illustrator 12.0.1, SVG Export Plug-In . SVG Version: 6.00 Build 51448) -->
+<!DOCTYPE svg [
+ <!ENTITY ns_svg "http://www.w3.org/2000/svg">
+ <!ENTITY ns_xlink "http://www.w3.org/1999/xlink">
+]>
+<svg version="1.0" id="Layer_1" xmlns="&ns_svg;" xmlns:xlink="&ns_xlink;" width="33" height="33" viewBox="0 0 33 33"
+ style="overflow:visible;enable-background:new 0 0 33 33;" xml:space="preserve">
+<circle style="stroke:#000000;" cx="16.5" cy="16.5" r="16"/>
+<g>
+ <g style="enable-background:new ;">
+ <path style="fill:#FFFFFF;" d="M5.306,13.151c0-5.545,4.056-6.024,5.568-6.024c3.264,0,5.856,1.92,5.856,5.376
+ c0,2.928-1.896,4.416-3.552,5.544c-2.256,1.584-3.432,2.353-3.816,3.145h7.392v2.976H5.114c0.12-1.992,0.264-4.08,3.96-6.768
+ c3.072-2.232,4.296-3.097,4.296-5.017c0-1.128-0.72-2.424-2.352-2.424c-2.352,0-2.424,1.944-2.448,3.192H5.306z"/>
+ <path style="fill:#FFFFFF;" d="M19.49,10.079h0.48c3.239,0,4.104-1.681,4.176-2.952h2.761v17.04h-3.361V12.431H19.49V10.079z"/>
+ </g>
+</g>
+</svg>
diff --git a/tools/build/doc/images/callouts/22.svg b/tools/build/doc/images/callouts/22.svg
new file mode 100644
index 0000000000..f48c5f3fd1
--- /dev/null
+++ b/tools/build/doc/images/callouts/22.svg
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Generator: Adobe Illustrator 12.0.1, SVG Export Plug-In . SVG Version: 6.00 Build 51448) -->
+<!DOCTYPE svg [
+ <!ENTITY ns_svg "http://www.w3.org/2000/svg">
+ <!ENTITY ns_xlink "http://www.w3.org/1999/xlink">
+]>
+<svg version="1.0" id="Layer_1" xmlns="&ns_svg;" xmlns:xlink="&ns_xlink;" width="33" height="33" viewBox="0 0 33 33"
+ style="overflow:visible;enable-background:new 0 0 33 33;" xml:space="preserve">
+<circle style="stroke:#000000;" cx="16.5" cy="16.5" r="16"/>
+<g>
+ <g style="enable-background:new ;">
+ <path style="fill:#FFFFFF;" d="M3.972,13.484c0-5.545,4.056-6.024,5.568-6.024c3.264,0,5.856,1.92,5.856,5.376
+ c0,2.928-1.896,4.416-3.552,5.544c-2.256,1.584-3.432,2.353-3.816,3.145h7.392V24.5H3.78c0.12-1.992,0.264-4.08,3.96-6.768
+ c3.072-2.232,4.296-3.097,4.296-5.017c0-1.128-0.72-2.424-2.352-2.424c-2.352,0-2.424,1.944-2.448,3.192H3.972z"/>
+ <path style="fill:#FFFFFF;" d="M17.316,13.484c0-5.545,4.056-6.024,5.568-6.024c3.265,0,5.856,1.92,5.856,5.376
+ c0,2.928-1.896,4.416-3.553,5.544c-2.256,1.584-3.432,2.353-3.815,3.145h7.392V24.5h-11.64c0.12-1.992,0.264-4.08,3.96-6.768
+ c3.072-2.232,4.296-3.097,4.296-5.017c0-1.128-0.72-2.424-2.353-2.424c-2.352,0-2.423,1.944-2.447,3.192H17.316z"/>
+ </g>
+</g>
+</svg>
diff --git a/tools/build/doc/images/callouts/23.svg b/tools/build/doc/images/callouts/23.svg
new file mode 100644
index 0000000000..6624212957
--- /dev/null
+++ b/tools/build/doc/images/callouts/23.svg
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Generator: Adobe Illustrator 12.0.1, SVG Export Plug-In . SVG Version: 6.00 Build 51448) -->
+<!DOCTYPE svg [
+ <!ENTITY ns_svg "http://www.w3.org/2000/svg">
+ <!ENTITY ns_xlink "http://www.w3.org/1999/xlink">
+]>
+<svg version="1.0" id="Layer_1" xmlns="&ns_svg;" xmlns:xlink="&ns_xlink;" width="33" height="33" viewBox="0 0 33 33"
+ style="overflow:visible;enable-background:new 0 0 33 33;" xml:space="preserve">
+<circle style="stroke:#000000;" cx="16.5" cy="16.5" r="16"/>
+<g>
+ <g style="enable-background:new ;">
+ <path style="fill:#FFFFFF;" d="M3.972,13.484c0-5.545,4.056-6.024,5.568-6.024c3.264,0,5.856,1.92,5.856,5.376
+ c0,2.928-1.896,4.416-3.552,5.544c-2.256,1.584-3.432,2.353-3.816,3.145h7.392V24.5H3.78c0.12-1.992,0.264-4.08,3.96-6.768
+ c3.072-2.232,4.296-3.097,4.296-5.017c0-1.128-0.72-2.424-2.352-2.424c-2.352,0-2.424,1.944-2.448,3.192H3.972z"/>
+ <path style="fill:#FFFFFF;" d="M21.612,14.636h0.528c1.008,0,2.855-0.096,2.855-2.304c0-0.624-0.287-2.185-2.136-2.185
+ c-2.304,0-2.304,2.185-2.304,2.784h-3.12c0-3.191,1.8-5.472,5.64-5.472c2.28,0,5.28,1.152,5.28,4.752
+ c0,1.728-1.08,2.808-2.04,3.24V15.5c0.6,0.168,2.568,1.056,2.568,3.96c0,3.216-2.377,5.496-5.809,5.496
+ c-1.607,0-5.928-0.36-5.928-5.688h3.288l-0.024,0.024c0,0.912,0.24,2.976,2.496,2.976c1.344,0,2.521-0.911,2.521-2.808
+ c0-2.328-2.257-2.424-3.816-2.424V14.636z"/>
+ </g>
+</g>
+</svg>
diff --git a/tools/build/doc/images/callouts/24.svg b/tools/build/doc/images/callouts/24.svg
new file mode 100644
index 0000000000..a3d552535f
--- /dev/null
+++ b/tools/build/doc/images/callouts/24.svg
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Generator: Adobe Illustrator 12.0.1, SVG Export Plug-In . SVG Version: 6.00 Build 51448) -->
+<!DOCTYPE svg [
+ <!ENTITY ns_svg "http://www.w3.org/2000/svg">
+ <!ENTITY ns_xlink "http://www.w3.org/1999/xlink">
+]>
+<svg version="1.0" id="Layer_1" xmlns="&ns_svg;" xmlns:xlink="&ns_xlink;" width="33" height="33" viewBox="0 0 33 33"
+ style="overflow:visible;enable-background:new 0 0 33 33;" xml:space="preserve">
+<circle style="stroke:#000000;" cx="16.5" cy="16.5" r="16"/>
+<g>
+ <g style="enable-background:new ;">
+ <path style="fill:#FFFFFF;" d="M4.972,13.484c0-5.545,4.056-6.024,5.568-6.024c3.264,0,5.856,1.92,5.856,5.376
+ c0,2.928-1.896,4.416-3.552,5.544c-2.256,1.584-3.432,2.353-3.816,3.145h7.392V24.5H4.78c0.12-1.992,0.264-4.08,3.96-6.768
+ c3.072-2.232,4.296-3.097,4.296-5.017c0-1.128-0.72-2.424-2.352-2.424c-2.352,0-2.424,1.944-2.448,3.192H4.972z"/>
+ <path style="fill:#FFFFFF;" d="M30.124,20.732h-1.896V24.5h-3.36v-3.768h-6.72v-2.904L24.412,7.46h3.816v10.656h1.896V20.732z
+ M24.868,18.116c0-4.128,0.071-6.792,0.071-7.32h-0.047l-4.272,7.32H24.868z"/>
+ </g>
+</g>
+</svg>
diff --git a/tools/build/doc/images/callouts/25.svg b/tools/build/doc/images/callouts/25.svg
new file mode 100644
index 0000000000..56614a979a
--- /dev/null
+++ b/tools/build/doc/images/callouts/25.svg
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Generator: Adobe Illustrator 12.0.1, SVG Export Plug-In . SVG Version: 6.00 Build 51448) -->
+<!DOCTYPE svg [
+ <!ENTITY ns_svg "http://www.w3.org/2000/svg">
+ <!ENTITY ns_xlink "http://www.w3.org/1999/xlink">
+]>
+<svg version="1.0" id="Layer_1" xmlns="&ns_svg;" xmlns:xlink="&ns_xlink;" width="33" height="33" viewBox="0 0 33 33"
+ style="overflow:visible;enable-background:new 0 0 33 33;" xml:space="preserve">
+<circle style="stroke:#000000;" cx="16.5" cy="16.5" r="16"/>
+<g>
+ <g style="enable-background:new ;">
+ <path style="fill:#FFFFFF;" d="M3.972,13.484c0-5.545,4.056-6.024,5.568-6.024c3.264,0,5.856,1.92,5.856,5.376
+ c0,2.928-1.896,4.416-3.552,5.544c-2.256,1.584-3.432,2.353-3.816,3.145h7.392V24.5H3.78c0.12-1.992,0.264-4.08,3.96-6.768
+ c3.072-2.232,4.296-3.097,4.296-5.017c0-1.128-0.72-2.424-2.352-2.424c-2.352,0-2.424,1.944-2.448,3.192H3.972z"/>
+ <path style="fill:#FFFFFF;" d="M20.676,14.276c0.624-0.433,1.393-0.937,3.049-0.937c2.279,0,5.16,1.584,5.16,5.496
+ c0,2.328-1.177,6.12-6.193,6.12c-2.664,0-5.375-1.584-5.543-5.016h3.36c0.144,1.392,0.889,2.327,2.376,2.327
+ c1.608,0,2.544-1.367,2.544-3.191c0-1.513-0.72-3.048-2.496-3.048c-0.455,0-1.607,0.023-2.256,1.224l-3-0.144l1.176-9.36h9.36
+ v2.832h-6.937L20.676,14.276z"/>
+ </g>
+</g>
+</svg>
diff --git a/tools/build/doc/images/callouts/26.svg b/tools/build/doc/images/callouts/26.svg
new file mode 100644
index 0000000000..56faeaca30
--- /dev/null
+++ b/tools/build/doc/images/callouts/26.svg
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Generator: Adobe Illustrator 12.0.1, SVG Export Plug-In . SVG Version: 6.00 Build 51448) -->
+<!DOCTYPE svg [
+ <!ENTITY ns_svg "http://www.w3.org/2000/svg">
+ <!ENTITY ns_xlink "http://www.w3.org/1999/xlink">
+]>
+<svg version="1.0" id="Layer_1" xmlns="&ns_svg;" xmlns:xlink="&ns_xlink;" width="33" height="33" viewBox="0 0 33 33"
+ style="overflow:visible;enable-background:new 0 0 33 33;" xml:space="preserve">
+<circle style="stroke:#000000;" cx="16.5" cy="16.5" r="16"/>
+<g>
+ <g style="enable-background:new ;">
+ <path style="fill:#FFFFFF;" d="M3.972,13.484c0-5.545,4.056-6.024,5.568-6.024c3.264,0,5.856,1.92,5.856,5.376
+ c0,2.928-1.896,4.416-3.552,5.544c-2.256,1.584-3.432,2.353-3.816,3.145h7.392V24.5H3.78c0.12-1.992,0.264-4.08,3.96-6.768
+ c3.072-2.232,4.296-3.097,4.296-5.017c0-1.128-0.72-2.424-2.352-2.424c-2.352,0-2.424,1.944-2.448,3.192H3.972z"/>
+ <path style="fill:#FFFFFF;" d="M25.309,11.78c-0.097-0.96-0.721-1.633-1.969-1.633c-2.184,0-2.688,2.496-2.808,4.704L20.58,14.9
+ c0.456-0.624,1.296-1.416,3.191-1.416c3.529,0,5.209,2.712,5.209,5.256c0,3.72-2.28,6.216-5.568,6.216
+ c-5.16,0-6.168-4.32-6.168-8.568c0-3.24,0.432-8.928,6.336-8.928c0.695,0,2.641,0.264,3.48,1.104
+ c0.936,0.912,1.271,1.416,1.584,3.217H25.309z M23.172,16.172c-1.271,0-2.568,0.792-2.568,2.928c0,1.849,1.056,3.168,2.664,3.168
+ c1.225,0,2.353-0.936,2.353-3.239C25.62,16.868,24.229,16.172,23.172,16.172z"/>
+ </g>
+</g>
+</svg>
diff --git a/tools/build/doc/images/callouts/27.svg b/tools/build/doc/images/callouts/27.svg
new file mode 100644
index 0000000000..a75c812159
--- /dev/null
+++ b/tools/build/doc/images/callouts/27.svg
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Generator: Adobe Illustrator 12.0.1, SVG Export Plug-In . SVG Version: 6.00 Build 51448) -->
+<!DOCTYPE svg [
+ <!ENTITY ns_svg "http://www.w3.org/2000/svg">
+ <!ENTITY ns_xlink "http://www.w3.org/1999/xlink">
+]>
+<svg version="1.0" id="Layer_1" xmlns="&ns_svg;" xmlns:xlink="&ns_xlink;" width="33" height="33" viewBox="0 0 33 33"
+ style="overflow:visible;enable-background:new 0 0 33 33;" xml:space="preserve">
+<circle style="stroke:#000000;" cx="16.5" cy="16.5" r="16"/>
+<g>
+ <g style="enable-background:new ;">
+ <path style="fill:#FFFFFF;" d="M3.972,13.484c0-5.545,4.056-6.024,5.568-6.024c3.264,0,5.856,1.92,5.856,5.376
+ c0,2.928-1.896,4.416-3.552,5.544c-2.256,1.584-3.432,2.353-3.816,3.145h7.392V24.5H3.78c0.12-1.992,0.264-4.08,3.96-6.768
+ c3.072-2.232,4.296-3.097,4.296-5.017c0-1.128-0.72-2.424-2.352-2.424c-2.352,0-2.424,1.944-2.448,3.192H3.972z"/>
+ <path style="fill:#FFFFFF;" d="M29.172,10.34c-1.632,1.776-5.808,6.816-6.216,14.16H19.5c0.36-6.816,4.632-12.24,6.072-13.776
+ H17.1l0.072-2.976h12V10.34z"/>
+ </g>
+</g>
+</svg>
diff --git a/tools/build/doc/images/callouts/28.svg b/tools/build/doc/images/callouts/28.svg
new file mode 100644
index 0000000000..7f8cf1a350
--- /dev/null
+++ b/tools/build/doc/images/callouts/28.svg
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Generator: Adobe Illustrator 12.0.1, SVG Export Plug-In . SVG Version: 6.00 Build 51448) -->
+<!DOCTYPE svg [
+ <!ENTITY ns_svg "http://www.w3.org/2000/svg">
+ <!ENTITY ns_xlink "http://www.w3.org/1999/xlink">
+]>
+<svg version="1.0" id="Layer_1" xmlns="&ns_svg;" xmlns:xlink="&ns_xlink;" width="33" height="33" viewBox="0 0 33 33"
+ style="overflow:visible;enable-background:new 0 0 33 33;" xml:space="preserve">
+<circle style="stroke:#000000;" cx="16.5" cy="16.5" r="16"/>
+<g>
+ <g style="enable-background:new ;">
+ <path style="fill:#FFFFFF;" d="M3.972,13.484c0-5.545,4.056-6.024,5.568-6.024c3.264,0,5.856,1.92,5.856,5.376
+ c0,2.928-1.896,4.416-3.552,5.544c-2.256,1.584-3.432,2.353-3.816,3.145h7.392V24.5H3.78c0.12-1.992,0.264-4.08,3.96-6.768
+ c3.072-2.232,4.296-3.097,4.296-5.017c0-1.128-0.72-2.424-2.352-2.424c-2.352,0-2.424,1.944-2.448,3.192H3.972z"/>
+ <path style="fill:#FFFFFF;" d="M23.172,24.956c-4.392,0-5.904-2.856-5.904-5.185c0-0.863,0-3.119,2.592-4.319
+ c-1.344-0.672-2.064-1.752-2.064-3.336c0-2.904,2.328-4.656,5.304-4.656c3.528,0,5.4,2.088,5.4,4.44
+ c0,1.464-0.6,2.712-1.968,3.432c1.632,0.815,2.544,1.896,2.544,4.104C29.076,21.596,27.684,24.956,23.172,24.956z M23.124,16.916
+ c-1.224,0-2.4,0.792-2.4,2.64c0,1.632,0.936,2.712,2.472,2.712c1.752,0,2.424-1.512,2.424-2.688
+ C25.62,18.38,24.996,16.916,23.124,16.916z M25.284,12.26c0-1.296-0.888-2.112-1.968-2.112c-1.512,0-2.305,0.864-2.305,2.112
+ c0,1.008,0.744,2.112,2.185,2.112C24.516,14.372,25.284,13.484,25.284,12.26z"/>
+ </g>
+</g>
+</svg>
diff --git a/tools/build/doc/images/callouts/29.svg b/tools/build/doc/images/callouts/29.svg
new file mode 100644
index 0000000000..cb63adf1fe
--- /dev/null
+++ b/tools/build/doc/images/callouts/29.svg
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Generator: Adobe Illustrator 12.0.1, SVG Export Plug-In . SVG Version: 6.00 Build 51448) -->
+<!DOCTYPE svg [
+ <!ENTITY ns_svg "http://www.w3.org/2000/svg">
+ <!ENTITY ns_xlink "http://www.w3.org/1999/xlink">
+]>
+<svg version="1.0" id="Layer_1" xmlns="&ns_svg;" xmlns:xlink="&ns_xlink;" width="33" height="33" viewBox="0 0 33 33"
+ style="overflow:visible;enable-background:new 0 0 33 33;" xml:space="preserve">
+<circle style="stroke:#000000;" cx="16.5" cy="16.5" r="16"/>
+<g>
+ <g style="enable-background:new ;">
+ <path style="fill:#FFFFFF;" d="M3.972,13.484c0-5.545,4.056-6.024,5.568-6.024c3.264,0,5.856,1.92,5.856,5.376
+ c0,2.928-1.896,4.416-3.552,5.544c-2.256,1.584-3.432,2.353-3.816,3.145h7.392V24.5H3.78c0.12-1.992,0.264-4.08,3.96-6.768
+ c3.072-2.232,4.296-3.097,4.296-5.017c0-1.128-0.72-2.424-2.352-2.424c-2.352,0-2.424,1.944-2.448,3.192H3.972z"/>
+ <path style="fill:#FFFFFF;" d="M20.893,20.564v0.023c0.191,1.176,0.936,1.68,1.967,1.68c1.393,0,2.785-1.176,2.809-4.752
+ l-0.048-0.048c-0.769,1.152-2.088,1.44-3.24,1.44c-3.264,0-5.16-2.473-5.16-5.328c0-4.176,2.472-6.12,5.807-6.12
+ c5.904,0,6.001,6.36,6.001,8.76c0,6.601-3.12,8.736-6.192,8.736c-2.904,0-4.992-1.68-5.28-4.392H20.893z M23.1,16.22
+ c1.176,0,2.473-0.84,2.473-2.855c0-1.944-0.84-3.145-2.568-3.145c-0.863,0-2.424,0.433-2.424,2.88
+ C20.58,15.668,21.828,16.22,23.1,16.22z"/>
+ </g>
+</g>
+</svg>
diff --git a/tools/build/doc/images/callouts/3.png b/tools/build/doc/images/callouts/3.png
new file mode 100644
index 0000000000..3ff0a93931
--- /dev/null
+++ b/tools/build/doc/images/callouts/3.png
Binary files differ
diff --git a/tools/build/doc/images/callouts/3.svg b/tools/build/doc/images/callouts/3.svg
new file mode 100644
index 0000000000..918be806f4
--- /dev/null
+++ b/tools/build/doc/images/callouts/3.svg
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Generator: Adobe Illustrator 12.0.1, SVG Export Plug-In . SVG Version: 6.00 Build 51448) -->
+<!DOCTYPE svg [
+ <!ENTITY ns_svg "http://www.w3.org/2000/svg">
+ <!ENTITY ns_xlink "http://www.w3.org/1999/xlink">
+]>
+<svg version="1.0" id="Layer_1" xmlns="&ns_svg;" xmlns:xlink="&ns_xlink;" width="33" height="33" viewBox="0 0 33 33"
+ style="overflow:visible;enable-background:new 0 0 33 33;" xml:space="preserve">
+<circle style="stroke:#000000;" cx="16.5" cy="16.5" r="16"/>
+<g>
+ <g style="enable-background:new ;">
+ <path style="fill:#FFFFFF;" d="M15.127,14.005h0.616c1.176,0,3.332-0.112,3.332-2.688c0-0.728-0.336-2.548-2.492-2.548
+ c-2.688,0-2.688,2.548-2.688,3.248h-3.64c0-3.724,2.1-6.384,6.58-6.384c2.66,0,6.16,1.344,6.16,5.544
+ c0,2.016-1.261,3.276-2.38,3.78v0.056c0.699,0.196,2.996,1.232,2.996,4.62c0,3.752-2.772,6.412-6.776,6.412
+ c-1.876,0-6.916-0.42-6.916-6.636h3.836l-0.028,0.027c0,1.064,0.28,3.473,2.912,3.473c1.568,0,2.94-1.064,2.94-3.276
+ c0-2.716-2.632-2.828-4.452-2.828V14.005z"/>
+ </g>
+</g>
+</svg>
diff --git a/tools/build/doc/images/callouts/30.svg b/tools/build/doc/images/callouts/30.svg
new file mode 100644
index 0000000000..dc43ba1e3c
--- /dev/null
+++ b/tools/build/doc/images/callouts/30.svg
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Generator: Adobe Illustrator 12.0.1, SVG Export Plug-In . SVG Version: 6.00 Build 51448) -->
+<!DOCTYPE svg [
+ <!ENTITY ns_svg "http://www.w3.org/2000/svg">
+ <!ENTITY ns_xlink "http://www.w3.org/1999/xlink">
+]>
+<svg version="1.0" id="Layer_1" xmlns="&ns_svg;" xmlns:xlink="&ns_xlink;" width="33" height="33" viewBox="0 0 33 33"
+ style="overflow:visible;enable-background:new 0 0 33 33;" xml:space="preserve">
+<circle style="stroke:#000000;" cx="16.5" cy="16.5" r="16"/>
+<g>
+ <g style="enable-background:new ;">
+ <path style="fill:#FFFFFF;" d="M8.268,14.636h0.528c1.008,0,2.856-0.096,2.856-2.304c0-0.624-0.288-2.185-2.136-2.185
+ c-2.304,0-2.304,2.185-2.304,2.784h-3.12c0-3.191,1.8-5.472,5.64-5.472c2.28,0,5.28,1.152,5.28,4.752
+ c0,1.728-1.08,2.808-2.04,3.24V15.5c0.6,0.168,2.568,1.056,2.568,3.96c0,3.216-2.376,5.496-5.808,5.496
+ c-1.608,0-5.928-0.36-5.928-5.688h3.288l-0.024,0.024c0,0.912,0.24,2.976,2.496,2.976c1.344,0,2.52-0.911,2.52-2.808
+ c0-2.328-2.256-2.424-3.816-2.424V14.636z"/>
+ <path style="fill:#FFFFFF;" d="M23.172,7.46c4.008,0,5.904,2.76,5.904,8.736c0,5.976-1.896,8.76-5.904,8.76
+ s-5.904-2.784-5.904-8.76C17.268,10.22,19.164,7.46,23.172,7.46z M23.172,22.268c1.92,0,2.448-1.68,2.448-6.071
+ c0-4.393-0.528-6.049-2.448-6.049s-2.448,1.656-2.448,6.049C20.724,20.588,21.252,22.268,23.172,22.268z"/>
+ </g>
+</g>
+</svg>
diff --git a/tools/build/doc/images/callouts/4.png b/tools/build/doc/images/callouts/4.png
new file mode 100644
index 0000000000..6aa29fc0b4
--- /dev/null
+++ b/tools/build/doc/images/callouts/4.png
Binary files differ
diff --git a/tools/build/doc/images/callouts/4.svg b/tools/build/doc/images/callouts/4.svg
new file mode 100644
index 0000000000..8eb6a53b3b
--- /dev/null
+++ b/tools/build/doc/images/callouts/4.svg
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Generator: Adobe Illustrator 12.0.1, SVG Export Plug-In . SVG Version: 6.00 Build 51448) -->
+<!DOCTYPE svg [
+ <!ENTITY ns_svg "http://www.w3.org/2000/svg">
+ <!ENTITY ns_xlink "http://www.w3.org/1999/xlink">
+]>
+<svg version="1.0" id="Layer_1" xmlns="&ns_svg;" xmlns:xlink="&ns_xlink;" width="33" height="33" viewBox="0 0 33 33"
+ style="overflow:visible;enable-background:new 0 0 33 33;" xml:space="preserve">
+<circle style="stroke:#000000;" cx="16.5" cy="16.5" r="16"/>
+<g>
+ <g style="enable-background:new ;">
+ <path style="fill:#FFFFFF;" d="M21.891,20.784h-2.212v4.396h-3.92v-4.396h-7.84v-3.389L15.227,5.3h4.452v12.432h2.212V20.784z
+ M15.759,17.731c0-4.815,0.084-7.924,0.084-8.54h-0.056l-4.984,8.54H15.759z"/>
+ </g>
+</g>
+</svg>
diff --git a/tools/build/doc/images/callouts/5.png b/tools/build/doc/images/callouts/5.png
new file mode 100644
index 0000000000..36e785867a
--- /dev/null
+++ b/tools/build/doc/images/callouts/5.png
Binary files differ
diff --git a/tools/build/doc/images/callouts/5.svg b/tools/build/doc/images/callouts/5.svg
new file mode 100644
index 0000000000..ca7a9f22f6
--- /dev/null
+++ b/tools/build/doc/images/callouts/5.svg
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Generator: Adobe Illustrator 12.0.1, SVG Export Plug-In . SVG Version: 6.00 Build 51448) -->
+<!DOCTYPE svg [
+ <!ENTITY ns_svg "http://www.w3.org/2000/svg">
+ <!ENTITY ns_xlink "http://www.w3.org/1999/xlink">
+]>
+<svg version="1.0" id="Layer_1" xmlns="&ns_svg;" xmlns:xlink="&ns_xlink;" width="33" height="33" viewBox="0 0 33 33"
+ style="overflow:visible;enable-background:new 0 0 33 33;" xml:space="preserve">
+<circle style="stroke:#000000;" cx="16.5" cy="16.5" r="16"/>
+<g>
+ <g style="enable-background:new ;">
+ <path style="fill:#FFFFFF;" d="M14.035,14.252c0.728-0.504,1.624-1.092,3.556-1.092c2.66,0,6.02,1.848,6.02,6.411
+ c0,2.717-1.372,7.141-7.224,7.141c-3.108,0-6.272-1.849-6.468-5.853h3.92c0.168,1.624,1.036,2.717,2.772,2.717
+ c1.876,0,2.968-1.597,2.968-3.725c0-1.764-0.839-3.556-2.912-3.556c-0.532,0-1.876,0.028-2.632,1.428l-3.5-0.168l1.372-10.92
+ h10.919v3.304h-8.092L14.035,14.252z"/>
+ </g>
+</g>
+</svg>
diff --git a/tools/build/doc/images/callouts/6.png b/tools/build/doc/images/callouts/6.png
new file mode 100644
index 0000000000..c943676bea
--- /dev/null
+++ b/tools/build/doc/images/callouts/6.png
Binary files differ
diff --git a/tools/build/doc/images/callouts/6.svg b/tools/build/doc/images/callouts/6.svg
new file mode 100644
index 0000000000..783a0b9d77
--- /dev/null
+++ b/tools/build/doc/images/callouts/6.svg
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Generator: Adobe Illustrator 12.0.1, SVG Export Plug-In . SVG Version: 6.00 Build 51448) -->
+<!DOCTYPE svg [
+ <!ENTITY ns_svg "http://www.w3.org/2000/svg">
+ <!ENTITY ns_xlink "http://www.w3.org/1999/xlink">
+]>
+<svg version="1.0" id="Layer_1" xmlns="&ns_svg;" xmlns:xlink="&ns_xlink;" width="33" height="33" viewBox="0 0 33 33"
+ style="overflow:visible;enable-background:new 0 0 33 33;" xml:space="preserve">
+<circle style="stroke:#000000;" cx="16.5" cy="16.5" r="16"/>
+<g>
+ <g style="enable-background:new ;">
+ <path style="fill:#FFFFFF;" d="M19.106,10.673c-0.112-1.12-0.84-1.904-2.296-1.904c-2.548,0-3.136,2.912-3.276,5.488l0.056,0.056
+ c0.532-0.728,1.512-1.651,3.724-1.651c4.116,0,6.077,3.164,6.077,6.131c0,4.34-2.66,7.252-6.497,7.252
+ c-6.02,0-7.196-5.039-7.196-9.996c0-3.78,0.504-10.416,7.392-10.416c0.812,0,3.08,0.308,4.061,1.288
+ c1.092,1.063,1.483,1.652,1.848,3.752H19.106z M16.614,15.797c-1.484,0-2.996,0.924-2.996,3.416c0,2.156,1.232,3.697,3.108,3.697
+ c1.428,0,2.745-1.094,2.745-3.781C19.471,16.609,17.846,15.797,16.614,15.797z"/>
+ </g>
+</g>
+</svg>
diff --git a/tools/build/doc/images/callouts/7.png b/tools/build/doc/images/callouts/7.png
new file mode 100644
index 0000000000..20940de30d
--- /dev/null
+++ b/tools/build/doc/images/callouts/7.png
Binary files differ
diff --git a/tools/build/doc/images/callouts/7.svg b/tools/build/doc/images/callouts/7.svg
new file mode 100644
index 0000000000..59b3714b56
--- /dev/null
+++ b/tools/build/doc/images/callouts/7.svg
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Generator: Adobe Illustrator 12.0.1, SVG Export Plug-In . SVG Version: 6.00 Build 51448) -->
+<!DOCTYPE svg [
+ <!ENTITY ns_svg "http://www.w3.org/2000/svg">
+ <!ENTITY ns_xlink "http://www.w3.org/1999/xlink">
+]>
+<svg version="1.0" id="Layer_1" xmlns="&ns_svg;" xmlns:xlink="&ns_xlink;" width="33" height="33" viewBox="0 0 33 33"
+ style="overflow:visible;enable-background:new 0 0 33 33;" xml:space="preserve">
+<circle style="stroke:#000000;" cx="16.5" cy="16.5" r="16"/>
+<g>
+ <g style="enable-background:new ;">
+ <path style="fill:#FFFFFF;" d="M24.28,9.66c-1.904,2.071-6.776,7.951-7.252,16.52h-4.032c0.42-7.952,5.404-14.28,7.084-16.072
+ h-9.884l0.084-3.472h14V9.66z"/>
+ </g>
+</g>
+</svg>
diff --git a/tools/build/doc/images/callouts/8.png b/tools/build/doc/images/callouts/8.png
new file mode 100644
index 0000000000..d8e34d4a09
--- /dev/null
+++ b/tools/build/doc/images/callouts/8.png
Binary files differ
diff --git a/tools/build/doc/images/callouts/8.svg b/tools/build/doc/images/callouts/8.svg
new file mode 100644
index 0000000000..c1803a3c0d
--- /dev/null
+++ b/tools/build/doc/images/callouts/8.svg
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Generator: Adobe Illustrator 12.0.1, SVG Export Plug-In . SVG Version: 6.00 Build 51448) -->
+<!DOCTYPE svg [
+ <!ENTITY ns_svg "http://www.w3.org/2000/svg">
+ <!ENTITY ns_xlink "http://www.w3.org/1999/xlink">
+]>
+<svg version="1.0" id="Layer_1" xmlns="&ns_svg;" xmlns:xlink="&ns_xlink;" width="33" height="33" viewBox="0 0 33 33"
+ style="overflow:visible;enable-background:new 0 0 33 33;" xml:space="preserve">
+<circle style="stroke:#000000;" cx="16.5" cy="16.5" r="16"/>
+<g>
+ <g style="enable-background:new ;">
+ <path style="fill:#FFFFFF;" d="M16.28,26.712c-5.124,0-6.888-3.332-6.888-6.048c0-1.009,0-3.641,3.024-5.04
+ c-1.568-0.784-2.408-2.044-2.408-3.893c0-3.388,2.716-5.432,6.188-5.432c4.116,0,6.3,2.436,6.3,5.18
+ c0,1.708-0.7,3.164-2.296,4.004c1.903,0.952,2.968,2.212,2.968,4.788C23.168,22.792,21.544,26.712,16.28,26.712z M16.224,17.332
+ c-1.428,0-2.8,0.924-2.8,3.08c0,1.903,1.092,3.164,2.884,3.164c2.043,0,2.829-1.765,2.829-3.137
+ C19.137,19.04,18.408,17.332,16.224,17.332z M18.744,11.899c0-1.512-1.036-2.464-2.296-2.464c-1.764,0-2.688,1.008-2.688,2.464
+ c0,1.177,0.868,2.464,2.548,2.464C17.848,14.363,18.744,13.328,18.744,11.899z"/>
+ </g>
+</g>
+</svg>
diff --git a/tools/build/doc/images/callouts/9.png b/tools/build/doc/images/callouts/9.png
new file mode 100644
index 0000000000..abe636072b
--- /dev/null
+++ b/tools/build/doc/images/callouts/9.png
Binary files differ
diff --git a/tools/build/doc/images/callouts/9.svg b/tools/build/doc/images/callouts/9.svg
new file mode 100644
index 0000000000..bc149d3cb2
--- /dev/null
+++ b/tools/build/doc/images/callouts/9.svg
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Generator: Adobe Illustrator 12.0.1, SVG Export Plug-In . SVG Version: 6.00 Build 51448) -->
+<!DOCTYPE svg [
+ <!ENTITY ns_svg "http://www.w3.org/2000/svg">
+ <!ENTITY ns_xlink "http://www.w3.org/1999/xlink">
+]>
+<svg version="1.0" id="Layer_1" xmlns="&ns_svg;" xmlns:xlink="&ns_xlink;" width="33" height="33" viewBox="0 0 33 33"
+ style="overflow:visible;enable-background:new 0 0 33 33;" xml:space="preserve">
+<circle style="stroke:#000000;" cx="16.5" cy="16.5" r="16"/>
+<g>
+ <g style="enable-background:new ;">
+ <path style="fill:#FFFFFF;" d="M13.953,21.921v0.027c0.224,1.372,1.092,1.961,2.296,1.961c1.624,0,3.248-1.372,3.276-5.545
+ l-0.057-0.056c-0.896,1.344-2.436,1.68-3.78,1.68c-3.808,0-6.02-2.884-6.02-6.216c0-4.872,2.884-7.14,6.776-7.14
+ c6.888,0,7,7.42,7,10.22c0,7.7-3.641,10.192-7.224,10.192c-3.388,0-5.824-1.96-6.16-5.124H13.953z M16.529,16.853
+ c1.372,0,2.884-0.979,2.884-3.332c0-2.268-0.98-3.668-2.996-3.668c-1.008,0-2.828,0.504-2.828,3.36
+ C13.589,16.209,15.045,16.853,16.529,16.853z"/>
+ </g>
+</g>
+</svg>
diff --git a/tools/build/doc/images/caution.png b/tools/build/doc/images/caution.png
new file mode 100644
index 0000000000..5b7809ca4a
--- /dev/null
+++ b/tools/build/doc/images/caution.png
Binary files differ
diff --git a/tools/build/doc/images/caution.svg b/tools/build/doc/images/caution.svg
new file mode 100644
index 0000000000..4bd586a08e
--- /dev/null
+++ b/tools/build/doc/images/caution.svg
@@ -0,0 +1,68 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!-- Generator: Adobe Illustrator 12.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 51448) --><svg height="120.648" id="Layer_1" inkscape:version="0.42" sodipodi:docbase="F:\openclip\svg da inviare" sodipodi:docname="Attenzione.svg" sodipodi:version="0.32" space="preserve" style="overflow:visible;enable-background:new 0 0 133.878 120.648;" version="1.1" viewBox="0 0 133.878 120.648" width="133.878" xmlns="http://www.w3.org/2000/svg" xmlns:cc="http://web.resource.org/cc/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:sodipodi="http://inkscape.sourceforge.net/DTD/sodipodi-0.dtd" xmlns:svg="http://www.w3.org/2000/svg">
+ <metadata>
+ <rdf:RDF xmlns:cc="http://web.resource.org/cc/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
+ <cc:Work rdf:about="">
+ <dc:title>Attenzione</dc:title>
+ <dc:description></dc:description>
+ <dc:subject>
+ <rdf:Bag>
+ <rdf:li>pulsante</rdf:li>
+ </rdf:Bag>
+ </dc:subject>
+ <dc:publisher>
+ <cc:Agent rdf:about="http://www.openclipart.org/">
+ <dc:title>Open Clip Art Library</dc:title>
+ </cc:Agent>
+ </dc:publisher>
+ <dc:creator>
+ <cc:Agent>
+ <dc:title>Architetto Francesco Rollandin</dc:title>
+ </cc:Agent>
+ </dc:creator>
+ <dc:rights>
+ <cc:Agent>
+ <dc:title>Architetto Francesco Rollandin</dc:title>
+ </cc:Agent>
+ </dc:rights>
+ <dc:date></dc:date>
+ <dc:format>image/svg+xml</dc:format>
+ <dc:type rdf:resource="http://purl.org/dc/dcmitype/StillImage"/>
+ <cc:license rdf:resource="http://web.resource.org/cc/PublicDomain"/>
+ <dc:language>en</dc:language>
+ </cc:Work>
+ <cc:License rdf:about="http://web.resource.org/cc/PublicDomain">
+ <cc:permits rdf:resource="http://web.resource.org/cc/Reproduction"/>
+ <cc:permits rdf:resource="http://web.resource.org/cc/Distribution"/>
+ <cc:permits rdf:resource="http://web.resource.org/cc/DerivativeWorks"/>
+ </cc:License>
+ </rdf:RDF>
+ </metadata>
+ <defs id="defs43"/>
+ <sodipodi:namedview bordercolor="#666666" borderopacity="1.0" id="base" inkscape:current-layer="Layer_1" inkscape:cx="66.939003" inkscape:cy="60.324001" inkscape:pageopacity="0.0" inkscape:pageshadow="2" inkscape:window-height="510" inkscape:window-width="787" inkscape:window-x="44" inkscape:window-y="58" inkscape:zoom="2.9838869" pagecolor="#ffffff"/>
+ <g id="g3">
+ <linearGradient gradientTransform="matrix(56.9977 90.4964 90.4964 -56.9977 -27343.9609 47971.0547)" gradientUnits="userSpaceOnUse" id="XMLID_4_" x1="-244.5732" x2="-242.8169" y1="455.4199" y2="455.4199">
+ <stop id="stop6" offset="0" style="stop-color:#FFFA5F"/>
+ <stop id="stop8" offset="1" style="stop-color:#9F3300"/>
+ </linearGradient>
+ <path d="M51.333,8.834C34.985,37.343,18.638,65.854,2.289,94.363 c-7.081,12.352,3.352,26.285,16.453,26.285c6.708,0,13.418,0,20.128,0c22.109,0,44.217,0,66.327,0c3.644,0,7.286,0,10.931,0 c13.293,0,20.963-14.273,16.452-26.031c-4.114-10.729-11.861-20.99-17.542-30.922c-8.81-15.403-17.618-30.809-26.429-46.212 c-1.813-3.167-3.622-6.333-5.434-9.5C76.601-3.516,57.616-2.03,51.333,8.834 M53.973,9.064" id="path10" style="fill:url(#XMLID_4_);"/>
+ <path d="M55.474,12.388c-8.247,14.279-16.492,28.559-24.739,42.839 c-5.526,9.567-11.05,19.137-16.577,28.707c-2.732,4.73-7.323,10.456-8.284,16c-3.799,21.9,34.927,15.743,46.734,15.743 c20.073,0,40.144,0,60.215,0c13.716,0,18.636-11.963,12.229-23.063c-6.462-11.195-12.927-22.388-19.389-33.582 c-7.249-12.557-14.499-25.113-21.75-37.671c-1.682-2.916-3.364-5.829-5.049-8.745C73.767,3.785,60.676,3.364,55.474,12.388" id="path12" style="fill-rule:evenodd;clip-rule:evenodd;fill:#FFF200;"/>
+ <path d="M55.474,12.388c-8.247,14.279-16.492,28.559-24.739,42.839c-5.526,9.567-11.05,19.137-16.577,28.707 c-2.732,4.73-7.323,10.456-8.284,16c-3.799,21.9,34.927,15.743,46.734,15.743c20.073,0,40.144,0,60.215,0 c13.716,0,18.636-11.963,12.229-23.063c-6.462-11.195-12.927-22.388-19.389-33.582c-7.249-12.557-14.499-25.113-21.75-37.671 c-1.682-2.916-3.364-5.829-5.049-8.745C73.767,3.785,60.676,3.364,55.474,12.388" id="path14" style="fill:#FFCE00;"/>
+ <path d="M126.731,95.522c-8.733-15.127-17.468-30.253-26.201-45.379 c-5.537-9.595-11.078-19.188-16.616-28.781c-3.938-6.821-7.459-15.689-16.813-15.689c1.013,0,5.901,10.225,6.469,11.196 c5.451,9.314,10.902,18.63,16.352,27.947c9.217,15.749,18.433,31.498,27.646,47.249c2.302,3.933,5.356,10.555,1.308,14.397 c-3.148,2.987-7.99,3.196-12.099,3.196c-7.225,0-14.448,0-21.674,0c-22.125,0-44.251,0-66.377,0c-3.598,0-7.197,0-10.794,0 c5.285,7.909,16.341,6.02,24.546,6.02c13.009,0,26.017,0,39.023,0c11.979,0,23.958,0,35.937,0c2.516,0,5.032,0,7.547,0 C125.136,115.678,131.878,104.435,126.731,95.522" id="path16" style="fill:#FFB600;"/>
+ <path d="M14.615,112.457c-4.483-7.751,1.908-16.103,5.793-22.834 c4.698-8.138,9.398-16.276,14.097-24.414C44.54,47.83,54.574,30.448,64.61,13.069c0.789-1.367,3.725-4.568,2.594-5.539 c-3.913-3.353-10.287,1.936-12.107,5.087c-3.129,5.417-6.258,10.835-9.386,16.252c-11.105,19.226-22.209,38.453-33.313,57.68 c-1.649,2.854-3.299,5.713-4.95,8.569c-4.771,8.265-0.075,19.162,9.658,20.446C16.124,114.65,15.294,113.615,14.615,112.457" id="path18" style="fill-rule:evenodd;clip-rule:evenodd;fill:#FFE600;"/>
+ <path d="M77.076,34.654c0,10.183-1.788,20.758-3.439,30.772 c-0.369,2.239-4.03,23.609-7.796,14.179c-4.247-10.632-4.832-23.419-5.958-34.696c-0.363-3.638-1.538-8.425-0.563-12.06 C61.667,24.099,77.076,25.199,77.076,34.654" id="path20" style="fill-rule:evenodd;clip-rule:evenodd;fill:#FFFFE1;"/>
+ <path d="M77.076,34.654c-2.018,0.995-1.521,8.717-1.797,11.395c-0.685,6.643-1.505,13.282-2.614,19.869 c-0.79,4.701-1.301,10.862-3.954,14.981c-1.642,2.567-3.405-5.958-3.634-6.932c-2.948-12.443-4.464-25.664-5.09-38.43 c-0.272-5.52,5.164-8.854,10.277-7.622c3.87,0.933,5.217,7.36,7.688,6.738c0.009-11.451-19.755-11.453-19.746,0 c0.017,11.956,2.087,24.599,4.423,36.294c0.501,2.507,1.642,12.376,5.449,12.376c4.059-0.021,5.285-11.432,5.79-14.137 c1.261-6.765,2.139-13.605,2.887-20.444C77.084,45.722,79.281,35.942,77.076,34.654" id="path22" style="fill:#FFFFFF;"/>
+ <linearGradient gradientTransform="matrix(68.2284 33.0019 33.0019 -68.2284 1613.9791 39385.6641)" gradientUnits="userSpaceOnUse" id="XMLID_5_" x1="-246.981" x2="-245.2275" y1="458.29" y2="458.29">
+ <stop id="stop25" offset="0" style="stop-color:#FFFA5F"/>
+ <stop id="stop27" offset="1" style="stop-color:#9F3300"/>
+ </linearGradient>
+ <path d="M57.957,34.654c0,10.053,1.632,20.54,3.242,30.431 c0.479,2.936,4.912,26.502,9.99,15.164c4.987-11.134,5.351-25.201,6.386-37.184c0.273-3.169,1.153-7.045,0.421-10.221 C75.628,22.587,57.957,23.788,57.957,34.654 M60.207,34.654c0-8.061,13.138-9.015,15.459-1.792c1.156,3.597-0.13,8.748-0.508,12.38 c-1.135,10.904-2.052,22.602-5.501,33.069c-2.816,8.545-5.546-10.187-5.934-12.522C62.039,55.63,60.207,44.985,60.207,34.654" id="path29" style="fill-rule:evenodd;clip-rule:evenodd;fill:url(#XMLID_5_);"/>
+ <path d="M77.076,96.788c0,11.964-18.555,11.964-18.555,0 C58.521,84.822,77.076,84.822,77.076,96.788" id="path31" style="fill-rule:evenodd;clip-rule:evenodd;fill:#FFFFE1;"/>
+ <path d="M77.076,96.788c-2.605,1.661-2.157,6.757-7.044,8.101c-6.178,1.7-12.033-4.159-10.336-10.335 c1.439-5.23,7.657-7.767,12.341-5.021c2.91,1.704,3.164,7.913,5.915,7.256c0-14.267-22.698-12.238-20.143,1.826 c0.987,5.444,6.375,9.15,11.814,8.162C72.417,106.271,81.44,98.19,77.076,96.788" id="path33" style="fill:#FFFFFF;"/>
+ <linearGradient gradientTransform="matrix(68.2241 32.9998 32.9998 -68.2241 1604.682 39402.625)" gradientUnits="userSpaceOnUse" id="XMLID_6_" x1="-246.998" x2="-245.2348" y1="458.0625" y2="458.0625">
+ <stop id="stop36" offset="0" style="stop-color:#FFFA5F"/>
+ <stop id="stop38" offset="1" style="stop-color:#9F3300"/>
+ </linearGradient>
+ <path d="M57.395,96.788c0,13.41,20.805,13.41,20.805,0 C78.2,83.376,57.395,83.375,57.395,96.788 M59.647,96.788c0-10.514,16.301-10.514,16.301,0 C75.948,107.3,59.647,107.3,59.647,96.788" id="path40" style="fill-rule:evenodd;clip-rule:evenodd;fill:url(#XMLID_6_);"/>
+ </g>
+</svg>
diff --git a/tools/build/doc/images/draft.png b/tools/build/doc/images/draft.png
new file mode 100644
index 0000000000..0084708c9b
--- /dev/null
+++ b/tools/build/doc/images/draft.png
Binary files differ
diff --git a/tools/build/doc/images/home.png b/tools/build/doc/images/home.png
new file mode 100644
index 0000000000..5584aacb09
--- /dev/null
+++ b/tools/build/doc/images/home.png
Binary files differ
diff --git a/tools/build/doc/images/home.svg b/tools/build/doc/images/home.svg
new file mode 100644
index 0000000000..e803a3178f
--- /dev/null
+++ b/tools/build/doc/images/home.svg
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="iso-8859-1"?>
+<!-- Generator: Adobe Illustrator 9.0, SVG Export Plug-In -->
+<!DOCTYPE svg [
+ <!ENTITY st0 "fill-rule:nonzero;clip-rule:nonzero;fill:#FFFFFF;stroke:#000000;stroke-miterlimit:4;">
+ <!ENTITY st1 "fill:none;stroke:none;">
+ <!ENTITY st2 "fill:#000000;">
+ <!ENTITY st3 "fill:none;stroke:#FFFFFF;stroke-width:6.3469;stroke-linejoin:round;">
+ <!ENTITY st4 "fill-rule:evenodd;clip-rule:evenodd;stroke:none;">
+ <!ENTITY st5 "fill-rule:nonzero;clip-rule:nonzero;stroke:#000000;stroke-miterlimit:4;">
+]>
+<svg width="48pt" height="48pt" viewBox="0 0 48 48" xml:space="preserve" xmlns="http://www.w3.org/2000/svg">
+ <g id="Layer_x0020_3" style="&st0;">
+ <g style="&st4;">
+ <path style="&st3;" d="M22.9,7.1L5.1,21.8l0,0c-0.3,0.3-0.5,0.8-0.5,1.2c0,0.2,0,0.4,0.1,0.6c0.3,0.6,0.9,1,1.6,1c0,0,1.1,0,2.2,0c0,2.4,0,14.2,0,14.2c0,1.1,0.8,1.9,1.8,1.9h27.4c1.1,0,1.9-0.9,1.9-2c0,0,0-11.8,0-14.2c1,0,2,0,2,0c0.8,0,1.4-0.5,1.7-1.2
+ c0.1-0.2,0.1-0.4,0.1-0.6c0-0.5-0.2-1-0.7-1.4c0,0-3.6-3-4.5-3.7c0-1.2,0-6.9,0-6.9c0-1.2-0.8-2-2-2h-4.8c-1,0-1.7,0.6-1.9,1.5c-1.9-1.6-4.1-3.5-4.1-3.5l0.1,0.1c-0.7-0.7-1.8-0.8-2.7-0.1z"/>
+ <path style="&st2;" d="M22.9,7.1L5.1,21.8l0,0c-0.3,0.3-0.5,0.8-0.5,1.2c0,0.2,0,0.4,0.1,0.6c0.3,0.6,0.9,1,1.6,1c0,0,1.1,0,2.2,0c0,2.4,0,14.2,0,14.2c0,1.1,0.8,1.9,1.8,1.9h27.4c1.1,0,1.9-0.9,1.9-2c0,0,0-11.8,0-14.2c1,0,2,0,2,0c0.8,0,1.4-0.5,1.7-1.2
+ c0.1-0.2,0.1-0.4,0.1-0.6c0-0.5-0.2-1-0.7-1.4c0,0-3.6-3-4.5-3.7c0-1.2,0-6.9,0-6.9c0-1.2-0.8-2-2-2h-4.8c-1,0-1.7,0.6-1.9,1.5c-1.9-1.6-4.1-3.5-4.1-3.5l0.1,0.1c-0.7-0.7-1.8-0.8-2.7-0.1z"/>
+ <path style="&st2;" d="M41.8,22.8l-5.1-4.2v-0.1L31,13.7v0l-6.5-5.5C24.2,8,24,8,23.8,8.2L6.2,22.9c-0.1,0.1-0.1,0.3,0.1,0.3h1.6H10h28.1h1.2h2.3c0.2,0,0.4-0.2,0.2-0.4z"/>
+ <path d="M35.8,16.8l0-5.1c0-0.2-0.1-0.4-0.3-0.4h-3.2c-0.2,0-0.3,0.1-0.3,0.3v2.2l3.9,2.9z"/>
+ <path d="M11.9,24.7V37c0,0.3,0.1,0.4,0.3,0.4h23.6c0.3,0,0.4-0.2,0.4-0.4V24.7H11.9z"/>
+ </g>
+ </g>
+ <g id="crop_x0020_marks" style="&st5;">
+ <path style="&st1;" d="M48,48H0V0h48v48z"/>
+ </g>
+</svg>
diff --git a/tools/build/doc/images/important.png b/tools/build/doc/images/important.png
new file mode 100644
index 0000000000..12c90f607a
--- /dev/null
+++ b/tools/build/doc/images/important.png
Binary files differ
diff --git a/tools/build/doc/images/important.svg b/tools/build/doc/images/important.svg
new file mode 100644
index 0000000000..dd84f3fe36
--- /dev/null
+++ b/tools/build/doc/images/important.svg
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="iso-8859-1"?>
+<!-- Generator: Adobe Illustrator 9.0, SVG Export Plug-In -->
+<!DOCTYPE svg [
+ <!ENTITY st0 "fill:#FFFFFF;stroke:none;">
+ <!ENTITY st1 "fill:#FFFFFF;stroke-width:6.6112;stroke-linecap:round;stroke-linejoin:round;">
+ <!ENTITY st2 "stroke:#FFFFFF;stroke-width:6.6112;">
+ <!ENTITY st3 "fill:none;stroke:none;">
+ <!ENTITY st4 "fill-rule:nonzero;clip-rule:nonzero;stroke:#000000;stroke-miterlimit:4;">
+ <!ENTITY st5 "stroke:none;">
+]>
+<svg width="48pt" height="48pt" viewBox="0 0 48 48" xml:space="preserve" xmlns="http://www.w3.org/2000/svg">
+ <g id="Layer_x0020_3" style="&st4;">
+ <g>
+ <path style="&st2;" d="M41.7,35.3L26.6,9.4c-0.6-1-1.7-1.7-2.9-1.6c-1.2,0-2.3,0.7-2.9,1.7L6.3,35.4c-0.6,1-0.6,2.3,0,3.3c0.6,1,1.7,1.6,2.9,1.6h29.6c1.2,0,2.3-0.6,2.9-1.7c0.6-1,0.6-2.3,0-3.3z"/>
+ <path style="&st1;" d="M23.7,11L9.2,37h29.6L23.7,11z"/>
+ <path style="&st0;" d="M23.7,11.9L10.3,36.1h27.5l-14-24.1z"/>
+ <g>
+ <path style="&st5;" d="M24.1,34c-1.1,0-1.8-0.8-1.8-1.8c0-1.1,0.7-1.8,1.8-1.8c1.1,0,1.8,0.7,1.8,1.8c0,1-0.7,1.8-1.8,1.8h0z M22.9,29.3l-0.4-9.1h3.2l-0.4,9.1h-2.3z"/>
+ </g>
+ </g>
+ </g>
+ <g id="crop_x0020_marks" style="&st4;">
+ <path style="&st3;" d="M48,48H0V0h48v48z"/>
+ </g>
+</svg>
diff --git a/tools/build/doc/images/next.png b/tools/build/doc/images/next.png
new file mode 100644
index 0000000000..59800b4e87
--- /dev/null
+++ b/tools/build/doc/images/next.png
Binary files differ
diff --git a/tools/build/doc/images/next.svg b/tools/build/doc/images/next.svg
new file mode 100644
index 0000000000..75fa83ed8c
--- /dev/null
+++ b/tools/build/doc/images/next.svg
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="iso-8859-1"?>
+<!-- Generator: Adobe Illustrator 9.0, SVG Export Plug-In -->
+<!DOCTYPE svg [
+ <!ENTITY st0 "fill:none;stroke:none;">
+ <!ENTITY st1 "fill:#FFFFFF;stroke:#FFFFFF;stroke-width:7.5901;stroke-linejoin:round;">
+ <!ENTITY st2 "fill-rule:nonzero;clip-rule:nonzero;stroke:#000000;stroke-miterlimit:4;">
+ <!ENTITY st3 "stroke:none;">
+]>
+<svg width="48pt" height="48pt" viewBox="0 0 48 48" xml:space="preserve" xmlns="http://www.w3.org/2000/svg">
+ <g id="Layer_x0020_3" style="&st2;">
+ <g>
+ <path style="&st1;" d="M22.4,41.1c0,0.3,0.3,0.3,0.5,0.2l16.6-16.9c0.5-0.5,0.4-0.7,0-1L22.9,6.7c-0.1-0.1-0.4-0.1-0.4,0.1v10H8.9c-0.3,0-0.5,0.2-0.5,0.4l0,13.3C8.4,30.9,8.6,31,9,31h13.5l-0.1,10.1z"/>
+ <path style="&st3;" d="M22.4,41.1c0,0.3,0.3,0.3,0.5,0.2l16.6-16.9c0.5-0.5,0.4-0.7,0-1L22.9,6.7c-0.1-0.1-0.4-0.1-0.4,0.1v10H8.9c-0.3,0-0.5,0.2-0.5,0.4l0,13.3C8.4,30.9,8.6,31,9,31h13.5l-0.1,10.1z"/>
+ </g>
+ </g>
+ <g id="crop_x0020_marks" style="&st2;">
+ <path style="&st0;" d="M48,48H0V0h48v48z"/>
+ </g>
+</svg>
diff --git a/tools/build/doc/images/next_disabled.png b/tools/build/doc/images/next_disabled.png
new file mode 100644
index 0000000000..10a8c59d7b
--- /dev/null
+++ b/tools/build/doc/images/next_disabled.png
Binary files differ
diff --git a/tools/build/doc/images/note.png b/tools/build/doc/images/note.png
new file mode 100644
index 0000000000..d0c3c645ab
--- /dev/null
+++ b/tools/build/doc/images/note.png
Binary files differ
diff --git a/tools/build/doc/images/note.svg b/tools/build/doc/images/note.svg
new file mode 100644
index 0000000000..648299d26f
--- /dev/null
+++ b/tools/build/doc/images/note.svg
@@ -0,0 +1,33 @@
+<?xml version="1.0" encoding="iso-8859-1"?>
+<!-- Generator: Adobe Illustrator 9.0, SVG Export Plug-In -->
+<!DOCTYPE svg [
+ <!ENTITY st0 "fill:none;stroke:#FFFFFF;stroke-width:12.1438;stroke-linejoin:round;">
+ <!ENTITY st1 "fill:none;stroke-width:1.2429;">
+ <!ENTITY st2 "fill:#FFFFFF;stroke:none;">
+ <!ENTITY st3 "fill:none;stroke:#FFFFFF;stroke-width:12.7649;stroke-linejoin:round;">
+ <!ENTITY st4 "fill:#FFFFFF;stroke-width:6.3824;stroke-linejoin:round;">
+ <!ENTITY st5 "fill:none;stroke:none;">
+ <!ENTITY st6 "fill-rule:nonzero;clip-rule:nonzero;stroke:#000000;stroke-miterlimit:4;">
+ <!ENTITY st7 "fill:#FFFFFF;stroke:#FFFFFF;stroke-width:12.7649;stroke-linejoin:round;">
+ <!ENTITY st8 "stroke:none;">
+ <!ENTITY st9 "fill:none;stroke-width:4.9715;stroke-linejoin:round;">
+]>
+<svg xmlns="http://www.w3.org/2000/svg" width="48pt" height="48pt" viewBox="0 0 48 48" xml:space="preserve">
+ <g id="Layer_x0020_1" style="&st6;">
+ <path style="&st0;" d="M35.7,19.8v18.9H11V8.8h13.9l10.8,11z"/>
+ <path style="&st3;" d="M38.7,30.4L25,16.7l-7.7-3l2.7,8.7l13.3,13.4l5.4-5.4z"/>
+ <path style="&st7;" d="M35.7,8.8H11v29.9h24.7V8.8z"/>
+ <path style="&st4;" d="M35.7,8.8H11v29.9h24.7V8.8z"/>
+ <path style="&st2;" d="M35.7,8.8H11v29.9h24.7V8.8z"/>
+ </g>
+ <g id="Layer_x0020_4" style="&st6;">
+ <path style="&st9;" d="M38.7,30.4L25,16.7l-7.7-3l2.7,8.7l13.3,13.4l5.4-5.4z"/>
+ <path style="&st8;" d="M38.7,30.4L25,16.7l-7.7-3l2.7,8.7l13.3,13.4l5.4-5.4z"/>
+ <path style="&st8;" d="M20.6,14.7l-2.5,2.5L17,13.4l3.6,1.3z"/>
+ <path style="&st1;" d="M19.6,22.2l3-0.3l2.4-2.4l0.4-2.8"/>
+ <path style="&st2;" d="M20.4,14.9L18.3,17l1.6,5.2l2.7-0.3l2.4-2.4l0.3-2.4l-5-2.2z"/>
+ </g>
+ <g id="crop" style="&st6;">
+ <path style="&st5;" d="M48,48H0V0h48v48z"/>
+ </g>
+</svg>
diff --git a/tools/build/doc/images/prev.png b/tools/build/doc/images/prev.png
new file mode 100644
index 0000000000..d88a40f923
--- /dev/null
+++ b/tools/build/doc/images/prev.png
Binary files differ
diff --git a/tools/build/doc/images/prev.svg b/tools/build/doc/images/prev.svg
new file mode 100644
index 0000000000..6d88ffdd0d
--- /dev/null
+++ b/tools/build/doc/images/prev.svg
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="iso-8859-1"?>
+<!-- Generator: Adobe Illustrator 9.0, SVG Export Plug-In -->
+<!DOCTYPE svg [
+ <!ENTITY st0 "fill:none;stroke:none;">
+ <!ENTITY st1 "fill:#FFFFFF;stroke:#FFFFFF;stroke-width:7.5901;stroke-linejoin:round;">
+ <!ENTITY st2 "fill-rule:nonzero;clip-rule:nonzero;stroke:#000000;stroke-miterlimit:4;">
+ <!ENTITY st3 "stroke:none;">
+]>
+<svg width="48pt" height="48pt" viewBox="0 0 48 48" xml:space="preserve" xmlns="http://www.w3.org/2000/svg">
+ <g id="Layer_x0020_3" style="&st2;">
+ <g>
+ <path style="&st1;" d="M25.6,6.9c0-0.3-0.3-0.3-0.5-0.2L8.4,23.6c-0.5,0.5-0.4,0.7,0,1l16.6,16.6c0.1,0.1,0.4,0.1,0.4-0.1v-10h13.6c0.3,0,0.5-0.2,0.5-0.4l0-13.3c0-0.3-0.2-0.5-0.5-0.5H25.5l0.1-10.1z"/>
+ <path style="&st3;" d="M25.6,6.9c0-0.3-0.3-0.3-0.5-0.2L8.4,23.6c-0.5,0.5-0.4,0.7,0,1l16.6,16.6c0.1,0.1,0.4,0.1,0.4-0.1v-10h13.6c0.3,0,0.5-0.2,0.5-0.4l0-13.3c0-0.3-0.2-0.5-0.5-0.5H25.5l0.1-10.1z"/>
+ </g>
+ </g>
+ <g id="crop_x0020_marks" style="&st2;">
+ <path style="&st0;" d="M48,48H0V0h48v48z"/>
+ </g>
+</svg>
diff --git a/tools/build/doc/images/prev_disabled.png b/tools/build/doc/images/prev_disabled.png
new file mode 100644
index 0000000000..ab3c17e02d
--- /dev/null
+++ b/tools/build/doc/images/prev_disabled.png
Binary files differ
diff --git a/tools/build/doc/images/smiley.png b/tools/build/doc/images/smiley.png
new file mode 100644
index 0000000000..30a77f71ce
--- /dev/null
+++ b/tools/build/doc/images/smiley.png
Binary files differ
diff --git a/tools/build/doc/images/tip.png b/tools/build/doc/images/tip.png
new file mode 100644
index 0000000000..5c4aab3bb3
--- /dev/null
+++ b/tools/build/doc/images/tip.png
Binary files differ
diff --git a/tools/build/doc/images/tip.svg b/tools/build/doc/images/tip.svg
new file mode 100644
index 0000000000..cd437a5e85
--- /dev/null
+++ b/tools/build/doc/images/tip.svg
@@ -0,0 +1,84 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!-- Created with Inkscape (http://www.inkscape.org/) --><svg height="1052.3622047" id="svg2" inkscape:version="0.42.2" sodipodi:docbase="/home/sergio/tmp/downloads" sodipodi:docname="lamp.svg" sodipodi:version="0.32" width="744.09448819" xmlns="http://www.w3.org/2000/svg" xmlns:cc="http://web.resource.org/cc/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:sodipodi="http://inkscape.sourceforge.net/DTD/sodipodi-0.dtd" xmlns:svg="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
+ <metadata>
+ <rdf:RDF xmlns:cc="http://web.resource.org/cc/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
+ <cc:Work rdf:about="">
+ <dc:title>lamp</dc:title>
+ <dc:description></dc:description>
+ <dc:subject>
+ <rdf:Bag>
+ <rdf:li>office</rdf:li>
+ <rdf:li></rdf:li>
+ <rdf:li>lamp</rdf:li>
+ </rdf:Bag>
+ </dc:subject>
+ <dc:publisher>
+ <cc:Agent rdf:about="http://www.openclipart.org/">
+ <dc:title>Open Clip Art Library</dc:title>
+ </cc:Agent>
+ </dc:publisher>
+ <dc:creator>
+ <cc:Agent>
+ <dc:title>Sergio Luiz Araujo Silva</dc:title>
+ </cc:Agent>
+ </dc:creator>
+ <dc:rights>
+ <cc:Agent>
+ <dc:title>Public Domain</dc:title>
+ </cc:Agent>
+ </dc:rights>
+ <dc:date>set 2005</dc:date>
+ <dc:format>image/svg+xml</dc:format>
+ <dc:type rdf:resource="http://purl.org/dc/dcmitype/StillImage"/>
+ <cc:license rdf:resource="http://web.resource.org/cc/PublicDomain"/>
+ <dc:language>en</dc:language>
+ </cc:Work>
+ <cc:License rdf:about="http://web.resource.org/cc/PublicDomain">
+ <cc:permits rdf:resource="http://web.resource.org/cc/Reproduction"/>
+ <cc:permits rdf:resource="http://web.resource.org/cc/Distribution"/>
+ <cc:permits rdf:resource="http://web.resource.org/cc/DerivativeWorks"/>
+ </cc:License>
+ </rdf:RDF>
+ </metadata>
+ <defs id="defs4">
+ <linearGradient id="linearGradient13125">
+ <stop id="stop13127" offset="0.0000000" style="stop-color:#ffffff;stop-opacity:1.0000000;"/>
+ <stop id="stop13129" offset="1" style="stop-color:#fffeff;stop-opacity:0;"/>
+ </linearGradient>
+ <linearGradient id="linearGradient12389">
+ <stop id="stop12391" offset="0.0000000" style="stop-color:#fefefe;stop-opacity:1.0000000;"/>
+ <stop id="stop12393" offset="1.0000000" style="stop-color:#fffefe;stop-opacity:1.0000000;"/>
+ </linearGradient>
+ <radialGradient cx="358.25909" cy="186.06468" fx="358.25909" fy="186.06468" gradientTransform="matrix(1.000001,-8.244061e-7,3.143917e-7,0.381356,-4.028738e-4,115.1081)" gradientUnits="userSpaceOnUse" id="radialGradient13131" inkscape:collect="always" r="27.486719" xlink:href="#linearGradient13125"/>
+ <radialGradient cx="358.25909" cy="186.06468" fx="358.25909" fy="186.06468" gradientTransform="matrix(1.000001,-8.244061e-7,3.143917e-7,0.381356,-4.028738e-4,115.1081)" gradientUnits="userSpaceOnUse" id="radialGradient14587" inkscape:collect="always" r="27.486719" xlink:href="#linearGradient13125"/>
+ <radialGradient cx="358.25909" cy="186.06468" fx="358.25909" fy="186.06468" gradientTransform="matrix(1.000001,-8.244061e-7,3.143917e-7,0.381356,-4.028738e-4,115.1081)" gradientUnits="userSpaceOnUse" id="radialGradient15390" inkscape:collect="always" r="27.486719" xlink:href="#linearGradient13125"/>
+ <radialGradient cx="358.25909" cy="186.06468" fx="358.25909" fy="186.06468" gradientTransform="matrix(1.000001,-8.244061e-7,3.143917e-7,0.381356,-4.028738e-4,115.1081)" gradientUnits="userSpaceOnUse" id="radialGradient16141" inkscape:collect="always" r="27.486719" xlink:href="#linearGradient13125"/>
+ </defs>
+ <sodipodi:namedview bordercolor="#666666" borderopacity="1.0" id="base" inkscape:current-layer="layer1" inkscape:cx="344.34505" inkscape:cy="795.78292" inkscape:document-units="px" inkscape:guide-bbox="true" inkscape:pageopacity="0.0" inkscape:pageshadow="2" inkscape:window-height="693" inkscape:window-width="1024" inkscape:window-x="0" inkscape:window-y="25" inkscape:zoom="0.72123084" pagecolor="#ffffff" showguides="true"/>
+ <g id="layer1" inkscape:groupmode="layer" inkscape:label="Layer 1">
+ <path d="M 369.44028,121.86683 C 302.64703,119.68096 242.59223,184.30679 250.47188,250.87980 C 252.47522,280.21980 267.84094,306.49880 285.94332,328.82253 C 303.71281,358.65039 312.13900,393.24133 313.51068,427.73030 C 317.00419,446.97288 338.01608,454.57063 355.35334,455.26572 C 375.18456,456.91501 395.94281,455.09265 414.43470,447.69729 C 430.92724,435.70557 427.37713,413.20597 430.74488,395.55648 C 434.70351,361.57615 449.78002,329.76555 471.07843,303.26619 C 504.41026,252.31528 488.56419,176.76397 437.75400,143.26422 C 417.82956,129.49394 393.70573,121.69096 369.44028,121.86683 z " id="path1384" style="opacity:1.0000000;fill:#f3f2f3;fill-opacity:0.83333331;stroke:#000000;stroke-width:0.58960420;stroke-miterlimit:4.0000000;stroke-dasharray:none;stroke-dashoffset:0.0000000;stroke-opacity:1.0000000"/>
+ <path d="M 425.72698,154.07768 C 437.68158,164.87540 453.68534,182.03604 451.17873,203.82428 C 455.99913,200.54641 460.81954,197.26853 465.63995,193.99066 C 459.85546,170.27425 448.28648,162.75442 425.72698,154.07768 z " id="path2153" sodipodi:nodetypes="cccc" style="fill:#fefefe;fill-opacity:1.0000000;fill-rule:evenodd;stroke:none;stroke-width:1.0000000px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1.0000000"/>
+ <path d="M 506.99897 296.94009 A 37.120701 18.718985 0 1 1 432.75756,296.94009 A 37.120701 18.718985 0 1 1 506.99897 296.94009 z" id="path2881" sodipodi:cx="469.87827" sodipodi:cy="296.94009" sodipodi:rx="37.120701" sodipodi:ry="18.718985" sodipodi:type="arc" style="opacity:1.0000000;color:#000000;fill:#fefefe;fill-opacity:1.0000000;fill-rule:nonzero;stroke:none;stroke-width:0.64700001;stroke-linecap:butt;stroke-linejoin:miter;marker:none;marker-start:none;marker-mid:none;marker-end:none;stroke-miterlimit:4.0000000;stroke-dasharray:none;stroke-dashoffset:0.0000000;stroke-opacity:1.0000000;visibility:visible;display:inline;overflow:visible" transform="matrix(0.818103,0.000000,0.000000,0.896150,-13.89510,-26.68653)"/>
+ <path d="M 359.20536,314.30802 L 336.64585,244.31570 C 362.29042,230.62575 382.72895,234.28926 403.16748,243.15881 L 379.45107,315.46491 L 379.45107,315.46491" id="path3617" sodipodi:nodetypes="ccccc" style="fill:none;fill-opacity:0.75000000;fill-rule:evenodd;stroke:#8f9595;stroke-width:0.91160071px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1.0000000"/>
+ <path d="M 513.73605 514.32300 A 52.508934 11.885468 0 1 1 408.71818,514.32300 A 52.508934 11.885468 0 1 1 513.73605 514.32300 z" id="path4361" sodipodi:cx="461.22711" sodipodi:cy="514.32300" sodipodi:rx="52.508934" sodipodi:ry="11.885468" sodipodi:type="arc" style="opacity:1.0000000;color:#000000;fill:#a0a0a0;fill-opacity:1.0000000;fill-rule:nonzero;stroke:none;stroke-width:0.64700001;stroke-linecap:butt;stroke-linejoin:miter;marker:none;marker-start:none;marker-mid:none;marker-end:none;stroke-miterlimit:4.0000000;stroke-dasharray:none;stroke-dashoffset:0.0000000;stroke-opacity:1.0000000;visibility:visible;display:inline;overflow:visible" transform="matrix(0.982435,0.000000,0.000000,1.387810,-83.52495,-281.2705)"/>
+ <path d="M 315.87677,433.07959 C 319.14672,442.90428 329.03398,448.82383 338.76816,450.68840 C 362.00206,456.37952 386.74882,455.38004 409.63484,448.57985 C 414.28840,447.19363 419.18392,445.42184 422.06530,441.25295 C 423.42527,439.84003 425.68582,434.46169 424.07088,434.30126 C 411.81432,444.17256 395.75685,447.78808 380.34111,448.56322 C 362.85475,449.05661 344.64886,448.26521 328.51659,440.79114 C 324.02706,438.71576 319.76022,436.14612 315.87677,433.07959 z " id="path4363" style="fill:#d6dee6;fill-opacity:1.0000000;fill-rule:evenodd;stroke:none;stroke-width:1.0000000px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1.0000000"/>
+ <path d="M 400.47436,522.16227 C 396.48542,528.09177 392.49650,534.02126 388.50756,539.95076 C 383.93367,541.47295 366.98819,546.44954 353.57745,538.01018 C 350.34318,532.29631 347.10892,526.58244 343.87465,520.86856 C 364.35835,531.64946 396.48542,523.99502 400.47436,522.16227 z " id="path5094" sodipodi:nodetypes="ccccc" style="fill:#090a0c;fill-opacity:1.0000000;fill-rule:evenodd;stroke:#000000;stroke-width:0.91160071px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1.0000000"/>
+ <path d="M 419.65600,444.27781 C 419.97026,446.39906 420.28452,448.52031 420.59878,450.64156 C 421.46299,450.95582 422.32720,451.27008 423.19142,451.58434 C 423.19142,452.91994 423.19142,454.25554 423.19142,455.59114 C 422.32720,455.98397 421.46299,456.37678 420.59878,456.76961 C 420.36308,459.20512 420.12739,461.64063 419.89170,464.07614 C 420.52021,464.23327 421.14873,464.39039 421.77725,464.54753 C 421.69869,466.59021 421.62012,468.63289 421.54156,470.67558 C 420.83447,471.46123 420.12739,472.24688 419.42030,473.03253 C 419.57744,474.05387 419.73456,475.07522 419.89170,476.09656 C 420.91303,477.11790 421.93438,478.13925 422.95572,479.16058 C 422.87716,480.18193 422.79859,481.20328 422.72003,482.22461 C 422.01294,483.01026 421.30586,483.79591 420.59878,484.58156 C 420.36308,485.05294 420.12739,485.52433 419.89170,485.99572 C 419.57744,486.70280 419.26317,487.40989 418.94892,488.11697 C 419.10605,489.05975 419.26317,490.00253 419.42030,490.94531 C 419.89170,491.65239 420.36308,492.35947 420.83447,493.06655 C 420.67734,494.71641 420.52021,496.36627 420.36308,498.01614 C 415.02067,505.24410 409.67827,512.47206 404.33587,519.70003 C 403.15740,520.24998 401.97892,520.79994 400.80045,521.34989 C 397.81498,522.29266 394.82952,523.23544 391.84406,524.17822 C 386.34452,524.80674 380.84498,525.43525 375.34545,526.06378 C 371.96717,525.90664 368.58887,525.74952 365.21059,525.59238 C 362.46082,525.51382 359.71105,525.43525 356.96128,525.35669 C 353.42587,524.49247 349.89045,523.62827 346.35503,522.76405 C 345.17656,521.82128 343.99809,520.87850 342.81962,519.93572 C 339.75559,517.81447 336.69157,515.69322 333.62754,513.57197 C 328.75652,508.30813 323.88551,503.04429 319.01448,497.78044 C 319.01448,496.52341 319.01448,495.26636 319.01448,494.00933 C 319.87870,494.00933 320.74291,494.00933 321.60712,494.00933 C 321.13574,492.83086 320.66435,491.65239 320.19296,490.47392 C 319.09305,488.19554 317.99314,485.91716 316.89323,483.63878 C 316.89323,482.93170 316.89323,482.22461 316.89323,481.51753 C 318.38597,480.26049 319.87869,479.00345 321.37143,477.74642 C 320.03583,475.54660 318.70022,473.34679 317.36462,471.14697 C 317.28606,470.83271 317.20748,470.51845 317.12892,470.20419 C 318.46453,468.39720 319.80013,466.59021 321.13574,464.78322 C 320.74291,463.68331 320.35009,462.58341 319.95726,461.48350 C 319.09305,460.38359 318.22883,459.28369 317.36462,458.18378 C 317.12892,457.31956 316.89323,456.45536 316.65753,455.59114 C 317.75744,454.17697 318.85735,452.76281 319.95726,451.34864 C 319.87870,450.01304 319.80013,448.67744 319.72157,447.34184 C 319.32874,446.71332 318.93592,446.08480 318.54310,445.45628 C 318.62166,444.74920 318.70023,444.04212 318.77879,443.33503 C 319.48588,443.25647 320.19296,443.17790 320.90004,443.09934 C 324.04263,445.22059 327.18523,447.34184 330.32782,449.46309 C 348.08347,456.92674 391.76550,461.09068 419.65600,444.27781 z " id="path7284" sodipodi:nodetypes="ccccccccccccccccccccccccccccccccccccccccccccccc" style="fill:#fba246;fill-opacity:1.0000000;fill-rule:evenodd;stroke:#000000;stroke-width:0.91160071px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1.0000000"/>
+ <path d="M 389.86281,523.00744 C 389.46998,521.82897 391.23336,522.26765 390.84054,521.08918 C 383.37688,521.01061 375.91323,520.93205 368.44957,520.85348 C 368.44957,520.53923 368.44957,520.22496 368.44957,519.91070 C 374.10624,519.75357 379.76290,519.59645 385.41957,519.43932 C 388.24790,518.88937 391.07623,518.33941 393.90457,517.78946 C 395.39730,517.55377 396.89003,517.31807 398.38277,517.08237 C 401.44679,515.03969 404.51082,512.99701 407.57485,510.95432 C 407.49629,510.64006 407.41771,510.32580 407.33915,510.01153 C 401.36822,510.48292 395.39730,510.95432 389.42637,511.42571 C 387.30512,511.81853 385.18387,512.21135 383.06263,512.60418 C 379.13438,512.36849 375.20615,512.13279 371.27790,511.89710 C 369.78518,511.73997 368.29244,511.58284 366.79971,511.42571 C 364.44277,510.32580 362.08582,509.22589 359.72888,508.12598 C 376.54175,507.18320 396.89003,507.18320 415.11707,493.98432 C 391.31192,502.15506 371.27790,500.19093 355.01499,497.99112 C 375.91322,494.06288 396.57577,493.19867 417.00262,478.42849 C 387.38368,489.42756 366.24975,485.57788 349.35832,483.84946 C 371.51360,479.29269 403.56804,478.27136 414.40998,466.64376 C 383.06263,474.89306 355.95776,473.47890 338.75207,469.47210 C 352.81517,467.58654 366.87827,465.70098 380.94137,463.81543 C 374.10624,463.18691 367.27110,462.55840 360.43596,461.92988 C 373.32059,459.73006 386.20522,457.53024 399.08985,455.33043 C 381.88416,456.19465 346.53000,460.82997 319.89653,444.48849 C 323.66763,447.63108 328.61721,449.83090 331.20985,453.91627 C 327.28161,453.44487 323.35338,452.97349 319.42513,452.50210 C 319.66083,453.83770 319.89653,455.17330 320.13222,456.50890 C 324.13902,459.02298 328.14582,461.53704 332.15263,464.05112 C 327.43875,466.25093 322.72485,468.45075 318.01096,470.65057 C 323.90332,472.53612 329.79568,474.42169 335.68805,476.30724 C 330.03138,478.66418 322.48915,476.30724 318.71804,483.37807 C 325.55318,486.59923 335.21666,487.22774 339.22346,493.04154 C 333.33110,493.51293 326.73166,489.27043 321.54639,494.45571 C 327.67444,498.06968 333.80249,501.68367 339.93055,505.29765 C 336.55226,504.82626 333.17397,504.35487 329.79568,503.88348 C 334.58814,509.30445 341.26727,513.37780 346.05972,518.79877 C 362.00838,520.29150 373.91416,521.51471 389.86281,523.00744 z " id="path6556" sodipodi:nodetypes="ccccccccccccccccccccccccccccccccccccc" style="fill:#ffc080;fill-opacity:1.0000000;fill-rule:evenodd;stroke:none;stroke-width:1.0000000px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1.0000000"/>
+ <path d="M 410.63580,448.38806 C 375.91016,459.46570 347.07688,453.33765 330.49970,448.38806 C 332.54238,449.09515 334.58507,449.80223 336.62775,450.50931 C 365.30391,460.56561 396.80839,453.41621 407.80747,450.27362 C 408.75025,449.64510 409.69303,449.01658 410.63580,448.38806 z " id="path7286" sodipodi:nodetypes="ccccc" style="fill:#ffffff;fill-opacity:1.0000000;fill-rule:evenodd;stroke:none;stroke-width:1.0000000px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1.0000000"/>
+ <path d="M 431.22109,368.33927 C 427.74256,388.71364 424.26401,409.08801 420.78546,429.46237 C 416.60557,437.06563 407.94091,440.30372 400.07083,442.61238 C 391.48668,445.18530 382.40444,445.05799 373.54205,444.61656 C 371.08048,446.38986 364.99205,442.92177 370.06503,441.81235 C 377.17154,440.98795 384.60188,442.10538 391.38552,439.26558 C 401.04319,435.47671 410.26670,429.97354 417.05844,422.00834 C 421.19961,403.95301 425.34070,385.89766 429.48184,367.84233 C 430.06159,368.00798 430.64135,368.17360 431.22109,368.33927 z " id="path3629" style="fill:#ffffff;fill-opacity:0.64285713;fill-rule:evenodd;stroke:none;stroke-width:1.0000000px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1.0000000"/>
+ <path d="M 353.42087,428.84088 L 351.10708,419.00725 L 351.68553,378.22661 L 353.13164,373.45440 L 353.05576,339.28565 L 349.95018,336.28751 L 349.37173,316.04336 C 363.86558,304.49563 376.56238,306.21837 388.70625,316.23514 L 388.12780,336.28907 L 385.23556,339.18131 L 384.65711,373.58108 L 386.39245,378.21491 L 385.81401,427.68398 L 382.34331,429.99778 L 374.24503,428.84088 L 371.35278,425.37019 L 366.14675,425.37019 L 360.94071,429.41933 L 353.42087,428.84088 z " id="path3619" sodipodi:nodetypes="ccccccccccccccccccc" style="fill:#c1c1c1;fill-opacity:1.0000000;fill-rule:evenodd;stroke:#9b989f;stroke-width:0.91160071px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1.0000000"/>
+ <path d="M 358.25832,325.31572 L 358.25832,416.41507" id="path5096" style="fill:none;fill-opacity:0.75000000;fill-rule:evenodd;stroke:#ffffff;stroke-width:0.91160071px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1.0000000"/>
+ <path d="M 380.15345,325.31572 L 380.15345,416.41507" id="path5824" style="fill:none;fill-opacity:0.75000000;fill-rule:evenodd;stroke:#ffffff;stroke-width:0.91160071px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1.0000000"/>
+ <path d="M 361.91098,325.31572 L 361.91098,416.41507" id="path5826" style="fill:none;fill-opacity:0.75000000;fill-rule:evenodd;stroke:#8f8f92;stroke-width:0.91160071px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1.0000000"/>
+ <path d="M 376.52161,325.31572 L 376.52161,416.41507" id="path6554" style="fill:none;fill-opacity:0.75000000;fill-rule:evenodd;stroke:#8f8f92;stroke-width:0.91160071px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1.0000000"/>
+ <g id="g9475" transform="matrix(0.911601,0.000000,0.000000,0.911601,328.5961,-156.2531)">
+ <path d="M 86.864034,673.56687 L 79.199560,676.97330 L 77.155700,678.67652 L 75.793127,679.69845 L 65.573829,679.35780 L 65.403508,678.33587 L 70.683478,676.97330 C 70.683478,676.97330 74.430554,676.63266 75.111841,676.46234 C 75.793127,676.29201 78.688595,674.92944 78.688595,674.92944 L 84.649852,671.52301 L 87.034355,671.52301 L 86.864034,673.56687 z " id="path8741" style="fill:#ffffff;fill-opacity:1.0000000;fill-rule:evenodd;stroke:none;stroke-width:1.0000000px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1.0000000"/>
+ <path d="M 91.973683,686.34099 L 88.056285,686.17067 L 85.331139,687.53324 L 81.073098,689.23646 L 77.836987,691.45064 L 75.111841,692.30225 L 70.853800,692.64289 L 69.320905,693.15386 L 71.024122,693.83514 L 75.963449,693.83514 L 80.221490,694.51643 L 83.627923,693.83514 L 87.545320,690.42871 C 87.545320,690.42871 90.270466,689.23646 90.951753,688.89581 C 91.633039,688.55517 93.165934,687.87388 93.165934,687.87388 L 91.973683,686.34099 z " id="path8743" style="fill:#ffffff;fill-opacity:1.0000000;fill-rule:evenodd;stroke:none;stroke-width:1.0000000px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1.0000000"/>
+ <path d="M 94.017542,700.30736 L 89.078215,703.03251 L 85.842104,705.07637 L 83.457601,706.94991 L 77.836987,708.14216 L 75.622806,708.14216 L 81.584063,710.01570 L 86.353069,707.97184 L 91.292396,705.58733 L 92.825291,704.05444 L 94.017542,700.30736 z " id="path8745" style="fill:#ffffff;fill-opacity:1.0000000;fill-rule:evenodd;stroke:none;stroke-width:1.0000000px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1.0000000"/>
+ <path d="M 91.462718,717.85049 C 91.462718,717.85049 81.924706,721.59757 81.584063,722.27885 C 81.243420,722.96014 78.688595,723.98207 78.688595,723.98207 L 72.897660,724.66336 L 71.024122,725.68529 L 76.644736,726.36657 L 82.435671,724.49304 L 86.693712,724.32271 L 89.929823,722.10853 L 91.462718,720.40532 L 91.462718,717.85049 z " id="path8747" style="fill:#ffffff;fill-opacity:1.0000000;fill-rule:evenodd;stroke:none;stroke-width:1.0000000px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1.0000000"/>
+ </g>
+ <path d="M 378.14273,525.28637 C 377.57434,530.51553 378.00099,537.83204 377.43261,543.06120 C 372.27918,543.00443 367.82875,543.82657 360.97078,541.72320 C 359.43614,536.89190 356.80919,529.30796 355.27454,524.47667 C 356.26507,524.72572 356.68741,524.86790 357.82038,524.93742 C 358.95335,525.00694 360.79692,524.96593 361.90337,525.03791 C 363.00981,525.10990 364.25012,525.06768 365.31257,525.13480 C 366.37503,525.20191 367.41113,525.22689 368.41214,525.28180 C 369.41314,525.33669 370.37905,525.38365 371.30113,525.41898 C 372.22321,525.45432 374.35115,525.55378 375.17683,525.56221 C 376.00251,525.57065 375.56381,525.48806 376.27564,525.46225 C 376.98745,525.43643 377.56225,525.35378 378.14273,525.28637 z " id="path10207" sodipodi:nodetypes="ccccsssssssc" style="fill:#ffffff;fill-opacity:0.31547615;fill-rule:evenodd;stroke:none;stroke-width:1.0000000px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1.0000000"/>
+ <path d="M 467.06377,199.37552 L 453.69293,208.53364 L 451.86130,221.53816 L 468.71223,214.21167 L 467.06377,199.37552 z " id="path16869" style="fill:#fefefe;fill-opacity:1.0000000;fill-rule:evenodd;stroke:none;stroke-width:1.0000000px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1.0000000;opacity:1.0000000;color:#000000;marker:none;marker-start:none;marker-mid:none;marker-end:none;stroke-miterlimit:4.0000000;stroke-dasharray:none;stroke-dashoffset:0;visibility:visible;display:inline;overflow:visible"/>
+ </g>
+</svg>
diff --git a/tools/build/doc/images/toc-blank.png b/tools/build/doc/images/toc-blank.png
new file mode 100644
index 0000000000..6ffad17a0c
--- /dev/null
+++ b/tools/build/doc/images/toc-blank.png
Binary files differ
diff --git a/tools/build/doc/images/toc-minus.png b/tools/build/doc/images/toc-minus.png
new file mode 100644
index 0000000000..abbb020c8e
--- /dev/null
+++ b/tools/build/doc/images/toc-minus.png
Binary files differ
diff --git a/tools/build/doc/images/toc-plus.png b/tools/build/doc/images/toc-plus.png
new file mode 100644
index 0000000000..941312ce0d
--- /dev/null
+++ b/tools/build/doc/images/toc-plus.png
Binary files differ
diff --git a/tools/build/doc/images/up.png b/tools/build/doc/images/up.png
new file mode 100644
index 0000000000..17d9c3ec49
--- /dev/null
+++ b/tools/build/doc/images/up.png
Binary files differ
diff --git a/tools/build/doc/images/up.svg b/tools/build/doc/images/up.svg
new file mode 100644
index 0000000000..d31aa9c809
--- /dev/null
+++ b/tools/build/doc/images/up.svg
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="iso-8859-1"?>
+<!-- Generator: Adobe Illustrator 9.0, SVG Export Plug-In -->
+<!DOCTYPE svg [
+ <!ENTITY st0 "fill:none;stroke:none;">
+ <!ENTITY st1 "fill:#FFFFFF;stroke:#FFFFFF;stroke-width:7.5901;stroke-linejoin:round;">
+ <!ENTITY st2 "fill-rule:nonzero;clip-rule:nonzero;stroke:#000000;stroke-miterlimit:4;">
+ <!ENTITY st3 "stroke:none;">
+]>
+<svg width="48pt" height="48pt" viewBox="0 0 48 48" xml:space="preserve" xmlns="http://www.w3.org/2000/svg">
+ <g id="Layer_x0020_3" style="&st2;">
+ <g>
+ <path style="&st1;" d="M41.1,25.6c0.3,0,0.3-0.3,0.2-0.5L24.4,8.4c-0.5-0.5-0.7-0.4-1,0L6.7,25.1c-0.1,0.1-0.1,0.4,0.1,0.4h10v13.6c0,0.3,0.2,0.5,0.4,0.5l13.3,0c0.3,0,0.5-0.2,0.5-0.5V25.5l10.1,0.1z"/>
+ <path style="&st3;" d="M41.1,25.6c0.3,0,0.3-0.3,0.2-0.5L24.4,8.4c-0.5-0.5-0.7-0.4-1,0L6.7,25.1c-0.1,0.1-0.1,0.4,0.1,0.4h10v13.6c0,0.3,0.2,0.5,0.4,0.5l13.3,0c0.3,0,0.5-0.2,0.5-0.5V25.5l10.1,0.1z"/>
+ </g>
+ </g>
+ <g id="crop_x0020_marks" style="&st2;">
+ <path style="&st0;" d="M48,48H0V0h48v48z"/>
+ </g>
+</svg>
diff --git a/tools/build/doc/images/up_disabled.png b/tools/build/doc/images/up_disabled.png
new file mode 100644
index 0000000000..e22bc87121
--- /dev/null
+++ b/tools/build/doc/images/up_disabled.png
Binary files differ
diff --git a/tools/build/doc/images/warning.png b/tools/build/doc/images/warning.png
new file mode 100644
index 0000000000..1c33db8f34
--- /dev/null
+++ b/tools/build/doc/images/warning.png
Binary files differ
diff --git a/tools/build/doc/images/warning.svg b/tools/build/doc/images/warning.svg
new file mode 100644
index 0000000000..fc8d7484cb
--- /dev/null
+++ b/tools/build/doc/images/warning.svg
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="iso-8859-1"?>
+<!-- Generator: Adobe Illustrator 9.0, SVG Export Plug-In -->
+<!DOCTYPE svg [
+ <!ENTITY st0 "fill:#000000;stroke:#FFFFFF;stroke-width:7.9139;stroke-linejoin:round;">
+ <!ENTITY st1 "fill-rule:nonzero;clip-rule:nonzero;fill:#FFFFFF;stroke:#000000;stroke-miterlimit:4;">
+ <!ENTITY st2 "fill:none;stroke:none;">
+ <!ENTITY st3 "fill:#000000;">
+ <!ENTITY st4 "fill-rule:evenodd;clip-rule:evenodd;stroke:none;">
+ <!ENTITY st5 "fill-rule:nonzero;clip-rule:nonzero;stroke:#000000;stroke-miterlimit:4;">
+]>
+<svg width="48pt" height="48pt" viewBox="0 0 48 48" xml:space="preserve" xmlns="http://www.w3.org/2000/svg">
+ <g id="Layer_x0020_4" style="&st1;">
+ <g style="&st4;">
+ <path style="&st0;" d="M16.4,42.3L5.7,31.6V16.4L16.4,5.7h15.2l10.7,10.7v15.2L31.6,42.3H16.4z"/>
+ <path style="&st3;" d="M16.4,42.3L5.7,31.6V16.4L16.4,5.7h15.2l10.7,10.7v15.2L31.6,42.3H16.4z"/>
+ <path d="M11.7,17.7l18.7,18.7l5.9-5.9L17.6,11.7l-5.9,5.9z"/>
+ <path d="M11.7,30.5l5.9,5.9l18.7-18.7l-5.9-5.9L11.7,30.5z"/>
+ </g>
+ </g>
+ <g id="crop_x0020_marks" style="&st5;">
+ <path style="&st2;" d="M48,48H0V0h48v48z"/>
+ </g>
+</svg>
diff --git a/tools/build/doc/jamfile.jam b/tools/build/doc/jamfile.jam
index 91dcce9b1c..22d67e62ae 100644
--- a/tools/build/doc/jamfile.jam
+++ b/tools/build/doc/jamfile.jam
@@ -14,7 +14,12 @@ boostbook userman : src/standalone.xml
<xsl:param>nav.layout=none
<implicit-dependency>jam_docs
<dependency>jam_docs
- <xsl:param>boost.root=../../../..
+ <xsl:param>boost.root=..
+ <xsl:param>boost.graphics.root=../images/
+ <xsl:param>html.stylesheet=../boostbook.css
+ <xsl:param>chunk.first.sections=0
+ <xsl:param>admon.graphics=0
+
<xsl:param>boost.defaults=Boost
;
diff --git a/tools/build/doc/src/howto.xml b/tools/build/doc/src/howto.xml
index de17a286a8..8ba571ab0a 100644
--- a/tools/build/doc/src/howto.xml
+++ b/tools/build/doc/src/howto.xml
@@ -2,33 +2,43 @@
<!DOCTYPE chapter PUBLIC "-//Boost//DTD BoostBook XML V1.0//EN"
"http://www.boost.org/tools/boostbook/dtd/boostbook.dtd">
- <chapter id="bbv2.howto">
+ <dedication id="bbv2.howto">
+
<title>How to use this document</title>
<para>
- If you've just found out about Boost.Build V2 and want to know
- if it will work for you, start with <xref linkend=
- "bbv2.tutorial" />. You can continue with <xref
- linkend="bbv2.overview" />. When you're ready to try Boost.Build
+ Want to learn about Boost.Build features? Start with <xref linkend=
+ "bbv2.tutorial"/> and continue with <xref
+ linkend="bbv2.overview"/>. When you're ready to try Boost.Build
in practice, go to <xref linkend="bbv2.installation"/>.
</para>
<para>
- If you are about to use Boost.Build on your project, or already
- using it and have a problem, look at <xref linkend=
- "bbv2.overview"/>.
+ Building a project with Boost.Build? See <xref
+ linkend="bbv2.installation"/> and
+ then read <xref linkend="bbv2.overview.invocation"/>.
</para>
<para>
- If you're trying to build a project which uses Boost.Build,
- see <xref linkend="bbv2.installation"/> and then read about
- <xref linkend="bbv2.overview.invocation"/>.
+ Setting up Boost.Build on your project? Take a look at <xref
+ linkend="bbv2.overview"/> and <xref linkend="bbv2.extender"/>.
</para>
<para>
- If you have questions, please post them to our mailing list (<ulink
+ If there's anything you find unclear in this documentation, report the
+ problem directly in the <ulink
+ url="https://github.com/boostorg/build/issues">issue tracker</ulink>.
+ For more general questions, please post them to our mailing list (<ulink
url="http://boost.org/more/mailing_lists.htm#jamboost"/>). The mailing list is
also mirrored to the newsgroup <ulink url="news://news.gmane.org/gmane.comp.lib.boost.build"/>.
</para>
- </chapter>
+ <para role="copyright">
+ Copyright 2006, 2014 <ulink url="http://vladimirprus.com">Vladimir
+ Prus</ulink>. Distributed under the Boost Software License, Version 1.0.
+ (See accompanying file <filename>LICENSE_1_0.txt</filename> or copy at
+ <ulink
+ url="http://www.boost.org/LICENSE_1_0.txt">http://www.boost.org/LICENSE_1_0.txt</ulink>)
+ </para>
+
+ </dedication>
diff --git a/tools/build/doc/src/overview.xml b/tools/build/doc/src/overview.xml
index 6dbb38a84a..da128efb93 100644
--- a/tools/build/doc/src/overview.xml
+++ b/tools/build/doc/src/overview.xml
@@ -775,7 +775,7 @@ b2 toolset=gcc variant=debug optimization=space
<varlistentry>
<term><option>-d0</option></term>
<listitem>
- <para>Supress all informational messages.</para>
+ <para>Suppress all informational messages.</para>
</listitem>
</varlistentry>
diff --git a/tools/build/doc/src/reference.xml b/tools/build/doc/src/reference.xml
index b343912687..9ac0bfa4de 100644
--- a/tools/build/doc/src/reference.xml
+++ b/tools/build/doc/src/reference.xml
@@ -1199,7 +1199,7 @@ using msvc : &toolset_ops; ;
with the ARM architecture:
</para>
<programlisting>
-.\b2 toolset=msvc=12.0 windows-api=store architecture=arm</programlisting>
+.\b2 toolset=msvc-12.0 windows-api=store architecture=arm</programlisting>
<para>
Note that when targeting Windows Phone 8.1, version 12.0 didn't
diff --git a/tools/build/doc/src/standalone.xml b/tools/build/doc/src/standalone.xml
index a48d2a0f8f..d6f8561770 100644
--- a/tools/build/doc/src/standalone.xml
+++ b/tools/build/doc/src/standalone.xml
@@ -4,26 +4,8 @@
<book xmlns:xi="http://www.w3.org/2001/XInclude"
id="bbv2" last-revision="$Date$">
- <bookinfo>
- <copyright>
- <year>2006</year>
- <year>2007</year>
- <year>2008</year>
- <year>2009</year>
- <year>2014</year>
- <holder>Vladimir Prus</holder>
- </copyright>
- <legalnotice>
- <para>Distributed under the Boost Software License, Version 1.0.
- (See accompanying file <filename>LICENSE_1_0.txt</filename> or copy at
- <ulink
- url="http://www.boost.org/LICENSE_1_0.txt">http://www.boost.org/LICENSE_1_0.txt</ulink>)
- </para>
- </legalnotice>
- </bookinfo>
-
- <title>Boost.Build V2 User Manual</title>
+ <title>Boost.Build User Manual</title>
<!-- Chapters -->
<xi:include href="howto.xml"/>
diff --git a/tools/build/doc/src/tutorial.xml b/tools/build/doc/src/tutorial.xml
index 29a0143930..e3cb41879e 100644
--- a/tools/build/doc/src/tutorial.xml
+++ b/tools/build/doc/src/tutorial.xml
@@ -17,8 +17,8 @@
-->
<para>
- This section will guide you though the most basic features of Boost.Build
- V2. We will start with the &#x201C;Hello, world&#x201D; example, learn how
+ This section will guide you though the most basic features of Boost.Build.
+ We will start with the &#x201C;Hello, world&#x201D; example, learn how
to use libraries, and finish with testing and installing features.
</para>
diff --git a/tools/build/doc/src/userman.xml b/tools/build/doc/src/userman.xml
index 72bcce72d9..396d851480 100644
--- a/tools/build/doc/src/userman.xml
+++ b/tools/build/doc/src/userman.xml
@@ -4,26 +4,8 @@
<part xmlns:xi="http://www.w3.org/2001/XInclude"
id="bbv2" last-revision="$Date$">
- <partinfo>
- <copyright>
- <year>2006</year>
- <year>2007</year>
- <year>2008</year>
- <year>2009</year>
- <year>2014</year>
- <holder>Vladimir Prus</holder>
- </copyright>
- <legalnotice>
- <para>Distributed under the Boost Software License, Version 1.0.
- (See accompanying file <filename>LICENSE_1_0.txt</filename> or copy at
- <ulink
- url="http://www.boost.org/LICENSE_1_0.txt">http://www.boost.org/LICENSE_1_0.txt</ulink>)
- </para>
- </legalnotice>
- </partinfo>
-
- <title>Boost.Build V2 User Manual</title>
+ <title>Boost.Build User Manual</title>
<!-- Chapters -->
<xi:include href="howto.xml"/>
diff --git a/tools/build/doc/tools.html b/tools/build/doc/tools.html
deleted file mode 100644
index 8b4929d290..0000000000
--- a/tools/build/doc/tools.html
+++ /dev/null
@@ -1,92 +0,0 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
-
-<!-- Copyright 2004 Aleksey Gurtovoy -->
-<!-- Copyright 2003, 2004 Vladimir Prus -->
-<!-- Distributed under the Boost Software License, Version 1.0. -->
-<!-- (See accompanying file LICENSE_1_0.txt or http://www.boost.org/LICENSE_1_0.txt) -->
-
-<html>
- <head>
- <meta name="generator" content=
- "HTML Tidy for Linux/x86 (vers 1st April 2002), see www.w3.org">
- <meta name="generator" content="Microsoft FrontPage 5.0">
- <meta http-equiv="Content-Type" content=
- "text/html; charset=windows-1252">
- <!-- tidy options: &dash;&dash;tidy-mark false -i -wrap 78 !-->
-
- <title>Boost Build System V2 &mdash; supported tools</title>
- </head>
-
- <body bgcolor="#FFFFFF" text="#000000">
- <img src="../../../../boost.png" alt="boost.png (6897 bytes)" align="center"
- width="277" height="86"> <a href="http://sourceforge.net"><img src=
- "http://sourceforge.net/sflogo.php?group_id=7586&amp;type=1" width="88"
- height="31" border="0" alt="SourceForge.net Logo" align="right"></a>
-
- <h1>Boost Build System V2 &mdash; supported tools</h1>
-
- <h2>Compilers</h2>
-
- <p>The following compilers are supported:</p>
-
- <ul>
- <li>GNU gcc (various versions), on Linux, NT, Cygwin and Darwin.</li>
-
- <li>Microsoft VC++ compiler (various version), on NT and Cygwin.</li>
-
- <li>Borland's compiler, on NT and Cygwin.</li>
-
- <li>Metrowerks Code Warrior, on NT.</li>
-
- <li>Intel C++ Compiler, on Linux and NT.</li>
-
- <li>Sun's C++ Compiler.</li>
-
- </ul>
-
- <h2>Libraries</h2>
-
- <p>Some important libraries have special support in Boost.Build:</p>
-
- <ul>
- <li><a href="http://stlport.sourceforge.net">STLport</a> &mdash; on gcc and
- msvc.</li>
-
- <li><a href="http://www.trolltech.com/products/qt/index.html">QT</a>,
- including the <tt>moc</tt> and <tt>uic</tt> tools &mdash; on gcc and msvc.</li>
- </ul>
-
- <h2>Other tools</h2>
-
- <ul>
- <li>Parser/lexer generators <tt>bison</tt> and <tt>lex</tt>.</li>
-
- <li>XSLT processor <a href=
- "http://xmlsoft.org/XSLT/">xsltproc</a>.</li>
-
- <li>The Apache <a href="http://xml.apache.org/fop/index.html">FOP</a>
- tool.</li>
-
- <li>BoostBook documentation format.</li>
-
- <li>GNU <a href=
- "http://www.gnu.org/software/gettext/gettext.html">gettext</a>
- internationalization tools.</li>
- </ul>
- <hr>
-
- <p>&copy; Copyright Vladimir Prus 2003. Permission to copy, use, modify,
- sell and distribute this document is granted provided this copyright
- notice appears in all copies. This document is provided "as is" without
- express or implied warranty, and with no claim as to its suitability for
- any purpose.</p>
-
- <p>Revised
- <!--webbot bot="Timestamp" s-type="EDITED" s-format="%d %B, %Y" startspan
- -->Jule 3, 2003
- <!--webbot bot="Timestamp" endspan i-checksum="13972"
- -->
- </p>
- </body>
-</html>
-
diff --git a/tools/build/index.html b/tools/build/index.html
index 6769bcaec5..fd08ee93b8 100644
--- a/tools/build/index.html
+++ b/tools/build/index.html
@@ -7,159 +7,95 @@
<html>
<head>
- <meta name="generator" content=
- "HTML Tidy for Linux/x86 (vers 1st April 2002), see www.w3.org">
- <meta name="generator" content="Microsoft FrontPage 5.0">
- <meta http-equiv="Content-Type" content=
- "text/html; charset=windows-1252">
- <!-- tidy options: &dash;&dash;tidy-mark false -i -wrap 78 !-->
-<style type="text/css">
-div.sidebar {
- margin-left: 1em ;
- border: medium outset ;
- padding: 0em 1em ;
- background-color: #adbed2;
- border-color: #000000;
- border-width: 1;
- width: 40% ;
- float: right ;
- clear: right }
-}
-
-div.sidebar p.rubric {
- font-family: sans-serif ;
- font-size: medium }
-</style>
- <title>Boost.Build V2</title>
- </head>
-
- <body bgcolor="#FFFFFF" text="#000000">
-
- <p align="center"><img src="website/boost_build.png" width="396" height="60" alt="Boost.Build V2"></img>
-
- <div class="contents sidebar topic" id="index">
- <p>
- <b>Quick access</b>
- <ul>
- <li>Download: <a href=
- "http://prdownloads.sourceforge.net/boost/boost-build-2.0-m12.zip">[zip]
- </a>, <a href=
- "http://prdownloads.sourceforge.net/boost/boost-build-2.0-m12.tar.bz2">[tar.bz2]
- </a>
- <li>Nightly build: <a href="http://boost.org/boost-build2/boost-build.zip">[zip]</a>,
- <a href="http://boost.org/boost-build2/boost-build.tar.bz2">[tar.bz2]</a>
- <li><a href="../../../doc/html/bbv2.html">Documentation</a>
- (<a href="doc/userman.pdf">PDF</a>)
- <li><a
- href="http://www.crystalclearsoftware.com/cgi-bin/boost_wiki/wiki.pl?Boost.Build_V2">Wiki
- (User-contibuted documentation)</a>
- <li>Feedback: <a
- href="http://lists.boost.org/mailman/listinfo.cgi/boost-build">[mailing list]</a>,
- <a
- href="news://news.gmane.org/gmane.comp.lib.boost.build">[newsgroup]</a>
- <ul>
- <li>Before posting, <a href="http://lists.boost.org/mailman/listinfo.cgi/boost-build">subscribe</a>
- <!--
- <li><form method="get" action="http://search.gmane.org/">
- <input type="text" name="query">
- <input type="hidden" name="group" value="gmane.comp.lib.boost.build">
- <input type="submit" value="Search">
- </form> -->
- </ul>
- <li><a href="https://trac.lvk.cs.msu.su/boost.build">Bug tracker</a>
-<!-- <li>Rate Boost.Build: <a href="http://freshmeat.net/rate/38012/">Freshmeat</a> -->
- </ul>
- </p>
- </div>
-
-<!-- <h1>Boost.Build V2</h1> -->
-
-
- <h2>Overview</h2>
-
- <p>Boost.Build is an easy way to build C++ projects, everywhere. You
- name you executables and libraries and list their sources. Boost.Build
- takes care about compiling your sources with right options, creating
- static and shared libraries, making executables, and other chores --
- whether you're using gcc, msvc, or a dozen more supported C++
- compilers -- on Windows, OSX, Linux and commercial UNIX systems.
-
- <p>Some of the most important features:
- <ul>
- <li><b>Simple and high level build description</b>. In most
- cases a name of target and list of sources is all you need.</li>
-
- <li><b>Portability</b>. Most important build properties have symbolic
- names that work everywhere. Why memorize compiler flags necessary
- for multi-threaded 64-bit shared library, if Boost.Build can do it for you?
-
- <li><b>Variant builds</b>. When you build the same project
- twice with different properties, all produced files are placed
- in different directories, so you can build with 2 versions of
- gcc, or both debug and release variants in one invocation.</li>
-
- <li><b>Global dependencies</b>. No matter what directory you build
- in, Boost.Build will always check all dependencies in your entire
- project, preventing inconsistent binaries. And it's easy to
- use one Boost.Build project in other, again with full dependency
- tracking.
-
- <li><b>Usage requirements</b>. A target can specify properties,
- like include paths and preprocessor defines, that are necessary to use
- it. Those properties will be automatically applied whenever the target
- is used.</li>
-
- <li><b>Standalone</b>. Boost.Build's only dependency is a C compiler,
- so it's easy to setup. You can even include all of Boost.Build in your
- project. Boost.Build does not depend on C++ Boost in any way.</li>
- </ul>
+ <title>Boost.Build: modern C++ build system</title>
- <h2>Status and future</h2>
+ <link href="website/bootstrap/css/bootstrap.min.css" rel="stylesheet">
+ <link href="website/index.css" rel="stylesheet">
- <p>Boost.Build is ready to use today, and new features are being actively
- developed.
-
- <p>The current version of 2.0 Milestone 12, which added support for
- precompiled headers on gcc, and added 3 new C++ compilers
- (<a href="http://svn.boost.org/svn/boost/trunk/tools/build/v2/changes.txt">full changelog</a>).
-
- <p>Milestone 13 is planned as bugfix release. Milestone 14 will
- focus on improving user documentation. Milestone 15 will see most
- of Boost.Build reimplemented in Python, to make extending
- Boost.Build even easier for end users (see <a href="https://trac.lvk.cs.msu.su/boost.build/wiki/PythonPort">PythonPort</a>).
- The specific issues planned for each release can be found on the
- <a href="https://trac.lvk.cs.msu.su/boost.build/roadmap">roadmap</a>.
+ </head>
+ <body bgcolor="#FFFFFF" text="#000000">
-
- <h2>Feedback and contributing</h2>
-
- <p>Should you have any questions or comments, we'd be glad to hear them.
- Post everything to the <a href="http://lists.boost.org/mailman/listinfo.cgi/boost-build">mailing list</a>.</p>
-
- <p>Bugs and feature requests can be entered at our
- <a href="https://trac.lvk.cs.msu.su/boost.build">bug tracker</a>.
-
- <p>If you'd like to help with development, just pick a bug
- in the tracker that you'd like to fix, or feel free to implement
- any feature you like. There's a separate
- <a href="hacking.txt">guidelines document</a> for working on code.</p>
- <hr>
-
- <p>&copy; Copyright David Abrahams and Vladimir Prus 2002-2007.
- Permission to copy, use, modify, sell and distribute this document is
- granted provided this copyright notice appears in all copies. This
- document is provided "as is" without express or implied warranty, and
- with no claim as to its suitability for any purpose.</p>
-
- <p>Revised
- <!--webbot bot="Timestamp" s-type="EDITED" s-format="%d %B, %Y" startspan
- -->Oct 4, 2007
- <!--webbot bot="Timestamp" endspan i-checksum="13972"
- -->
- </p>
+ <div style="text-align: center; margin-top: 10px;">
+
+ <div style="position: relative; display: inline-block">
+ <img src="website/boost_build.png" width="396"
+ height="60" alt="Boost.Build V2"></img>
+
+ <div style="padding-top: 10px; width: 100%; text-align: right">
+ <a href="tutorial.html" style="padding-right: 1em">Tutorial</a>
+ <a href="doc/html/index.html" style="padding-right: 1em">Documentation</a> <a href="http://github.com/boostorg/build">GitHub</a>
+ </div>
+ </div>
+ </div>
+ <div class="container content" style="margin-top: 2em">
+
+ <div class="row">
+ <div class="col-md-12">
+ <p>Boost.Build makes it easy to build C++ projects, everywhere.
+
+ <p>
+ You
+ name you executables and libraries and list their sources. Boost.Build
+ takes care about compiling your sources with right options, creating
+ static and shared libraries, making executables, and other chores &mdash;
+ whether you're using gcc, msvc, or a dozen more supported C++
+ compilers &mdash; on Windows, OSX, Linux and commercial UNIX systems.
+ </div>
+ </div>
+
+ <div class="row">
+
+ <div class="col-md-6">
+ <p>
+ <b>Simple and high level build description</b>. In most
+ cases a name of target and list of sources is all you need.
+
+ <p>
+ <b>Portability</b>. Most important build properties have symbolic
+ names that work everywhere. Why memorize compiler flags necessary
+ for multi-threaded 64-bit shared library, if Boost.Build can do it for you?
+
+ <p><b>Variant builds</b>. When you build the same project
+ twice with different properties, all produced files are placed
+ in different directories, so you can build with 2 versions of
+ gcc, or both debug and release variants in one invocation.
+
+ </div>
+
+ <div class="col-md-6">
+ <p>
+ <b>Global dependencies</b>. No matter what directory you build
+ in, Boost.Build will always check all dependencies in your entire
+ project, preventing inconsistent binaries. And it's easy to
+ use one Boost.Build project in other, again with full dependency
+ tracking.
+
+ <p>
+ <b>Usage requirements</b>. A target can specify properties,
+ like include paths and preprocessor defines, that are necessary to use
+ it. Those properties will be automatically applied whenever the target
+ is used.
+
+ <p>
+ <b>Standalone</b>. Boost.Build's only dependency is a C compiler,
+ so it's easy to setup. You can even include all of Boost.Build in your
+ project. Boost.Build does not depend on Boost C++ Libraries.
+ </div>
+ </div> <!-- main content -->
+
+
+ <div class="row">
+ <div class="col-md-12">
+ <p>This index is for off-line use, visit
+ the <a href="http://boost.org/boost-build2">website</a> for most
+ up-to-date content.
+ </div>
+
+ </div>
+
</body>
</html>
diff --git a/tools/build/scripts/build-docs.sh b/tools/build/scripts/build-docs.sh
new file mode 100755
index 0000000000..4463774ef1
--- /dev/null
+++ b/tools/build/scripts/build-docs.sh
@@ -0,0 +1,34 @@
+#!/bin/bash
+
+# Copyright 2014 Vladimir Prus
+# Distributed under the Boost Software License, Version 1.0.
+# (See accompanying file LICENSE_1_0.txt or copy at
+# http://www.boost.org/LICENSE_1_0.txt)
+
+set -e
+
+# Build the documentation
+touch doc/jamroot.jam
+export BOOST_BUILD_PATH=`pwd`
+export BOOST_ROOT=/home/ghost/Sources/boost
+./bootstrap.sh
+cd doc
+../b2
+
+find . -type f -iname "*.html" | while read i; do
+ echo "Processing: $i"
+ sed -i "s#</body>#\
+ <script>\n\
+ (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){\n\
+ (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),\n\
+ m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)\n\
+ })(window,document,'script','//www.google-analytics.com/analytics.js','ga');\n\
+\n\
+ ga('create', 'UA-2917240-2', 'auto');\n\
+ ga('send', 'pageview');\n\
+\n\
+ </script>\n\
+</body>#g" "$i"
+
+done
+
diff --git a/tools/build/src/build/feature.jam b/tools/build/src/build/feature.jam
index ee6abc5916..e58edcbedb 100644
--- a/tools/build/src/build/feature.jam
+++ b/tools/build/src/build/feature.jam
@@ -30,6 +30,7 @@ local rule setup ( )
link-incompatible
subfeature
order-sensitive
+ hidden
;
.all-features = ;
diff --git a/tools/build/src/build/feature.py b/tools/build/src/build/feature.py
index 386e49931c..827dae3408 100644
--- a/tools/build/src/build/feature.py
+++ b/tools/build/src/build/feature.py
@@ -196,12 +196,12 @@ def set_default (feature, value):
bad_attribute = "free"
elif attributes & Feature.OPTIONAL:
bad_attribute = "optional"
-
+
if bad_attribute:
raise InvalidValue ("%s property %s cannot have a default" % (bad_attribute, feature.name()))
-
+
if not value in f.values():
- raise InvalidValue ("The specified default value, '%s' is invalid.\n" % value + "allowed values are: %s" % values)
+ raise InvalidValue ("The specified default value, '%s' is invalid.\n" % value + "allowed values are: %s" % f.values())
f.set_default(value)
diff --git a/tools/build/src/build/project.jam b/tools/build/src/build/project.jam
index c9a090982c..83d0377e4d 100644
--- a/tools/build/src/build/project.jam
+++ b/tools/build/src/build/project.jam
@@ -50,7 +50,7 @@ import sequence ;
# Jamfile at that location is loaded already, does nothing. Returns the project
# module for the Jamfile.
#
-rule load ( jamfile-location )
+rule load ( jamfile-location : synthesize ? )
{
local module-name = [ module-name $(jamfile-location) ] ;
# If Jamfile is already loaded, do not try again.
@@ -61,7 +61,7 @@ rule load ( jamfile-location )
ECHO Loading Jamfile at '$(jamfile-location)' ;
}
- load-jamfile $(jamfile-location) : $(module-name) ;
+ load-jamfile $(jamfile-location) : $(module-name) : $(synthesize) ;
# We want to make sure that child project are loaded only after parent
# projects. In particular, because parent projects define attributes
@@ -270,14 +270,14 @@ rule find-jamfile (
# the file as indicated by the JAMFILE patterns. Effect of calling this rule
# twice with the same 'dir' is undefined.
#
-local rule load-jamfile ( dir : jamfile-module )
+local rule load-jamfile ( dir : jamfile-module : synthesize ? )
{
# See if the Jamfile is where it should be.
#
local jamfile-to-load = [ path.glob $(dir) : $(JAMROOT) ] ;
if ! $(jamfile-to-load)
{
- jamfile-to-load = [ find-jamfile $(dir) ] ;
+ jamfile-to-load = [ find-jamfile $(dir) : $(synthesize) ] ;
}
if $(jamfile-to-load[2])
@@ -286,6 +286,11 @@ local rule load-jamfile ( dir : jamfile-module )
errors.error "Multiple Jamfiles found at '$(dir)'" :
"Filenames are: " $(jamfile-to-load:D=) ;
}
+
+ if ! $(jamfile-to-load) && $(synthesize)
+ {
+ jamfile-to-load = $(dir)/@ ;
+ }
# Now load the Jamfile in its own context.
# The call to 'initialize' may load the parent Jamfile, which might contain
@@ -307,14 +312,24 @@ local rule load-jamfile ( dir : jamfile-module )
local saved-project = $(.current-project) ;
mark-as-user $(jamfile-module) ;
- modules.load $(jamfile-module) : [ path.native $(jamfile-to-load) ]
- : . ;
- if [ MATCH ^($(JAMROOT))$ : $(jamfile-to-load:BS) ]
+ if $(jamfile-to-load:B) = "@"
{
- jamfile = [ find-jamfile $(dir) : no-errors ] ;
- if $(jamfile)
+ # Not a real jamfile to load. Synthsize the load.
+ modules.poke $(jamfile-module) : __name__ : $(jamfile-module) ;
+ modules.poke $(jamfile-module) : __file__ : [ path.native $(jamfile-to-load) ] ;
+ modules.poke $(jamfile-module) : __binding__ : [ path.native $(jamfile-to-load) ] ;
+ }
+ else
+ {
+ modules.load $(jamfile-module) : [ path.native $(jamfile-to-load) ]
+ : . ;
+ if [ MATCH ^($(JAMROOT))$ : $(jamfile-to-load:BS) ]
{
- load-aux $(jamfile-module) : [ path.native $(jamfile) ] ;
+ jamfile = [ find-jamfile $(dir) : no-errors ] ;
+ if $(jamfile)
+ {
+ load-aux $(jamfile-module) : [ path.native $(jamfile) ] ;
+ }
}
}
@@ -902,7 +917,7 @@ rule target ( project-module )
# extensions are really projects, they can be initialized as a module would be
# with the "using" (project.project-rules.using) mechanism.
#
-rule extension ( id : options * : * )
+rule extension ( id space ? : options * : * )
{
# The caller is a standalone module for the extension.
local mod = [ CALLER_MODULE ] ;
@@ -921,15 +936,19 @@ rule extension ( id : options * : * )
{
root-project = [ project.attribute $(root-project) parent-module ] ;
}
+
+ # Default to creating extensions in /ext/.. project space.
+ local id = $(1[1]) ;
+ local space = $(1[2]) ;
+ space ?= ext ;
# Create the project data, and bring in the project rules into the
# module.
project.initialize $(__name__) : [ path.join [ project.attribute
- $(root-project) location ] ext $(1:L) ] ;
+ $(root-project) location ] $(space:L) $(id:L) ] ;
- # Create the project itself, i.e. the attributes. All extensions are
- # created in the "/ext" project space.
- project /ext/$(1) : $(2) : $(3) : $(4) : $(5) : $(6) : $(7) : $(8) :
+ # Create the project itself, i.e. the attributes.
+ project /$(space:L)/$(id:L) : $(2) : $(3) : $(4) : $(5) : $(6) : $(7) : $(8) :
$(9) : $(10) : $(11) : $(12) : $(13) : $(14) : $(15) : $(16) : $(17)
: $(18) : $(19) ;
local attributes = [ project.attributes $(__name__) ] ;
diff --git a/tools/build/src/build/property.jam b/tools/build/src/build/property.jam
index ff28dfd202..78a9744b16 100644
--- a/tools/build/src/build/property.jam
+++ b/tools/build/src/build/property.jam
@@ -237,12 +237,15 @@ rule as-path ( properties * )
local components ;
for local p in $(properties)
{
- if $(p:G)
+ if ! hidden in [ feature.attributes $(p:G) ]
{
- local f = [ utility.ungrist $(p:G) ] ;
- p = $(f)-$(p:G=) ;
+ if $(p:G)
+ {
+ local f = [ utility.ungrist $(p:G) ] ;
+ p = $(f)-$(p:G=) ;
+ }
+ components += [ $(.abbrev) $(p) ] ;
}
- components += [ $(.abbrev) $(p) ] ;
}
$(entry) = $(components:J=/) ;
diff --git a/tools/build/src/build/property.py b/tools/build/src/build/property.py
index dab83c7c88..f851c9e5ef 100644
--- a/tools/build/src/build/property.py
+++ b/tools/build/src/build/property.py
@@ -1,4 +1,4 @@
-# Status: ported, except for tests and --abbreviate-paths.
+# Status: ported, except for tests.
# Base revision: 64070
#
# Copyright 2001, 2002, 2003 Dave Abrahams
@@ -8,6 +8,7 @@
# (See accompanying file LICENSE_1_0.txt or http://www.boost.org/LICENSE_1_0.txt)
import re
+import sys
from b2.util.utility import *
from b2.build import feature
from b2.util import sequence, qualify_jam_action
@@ -25,6 +26,8 @@ __re_separate_condition_and_property = re.compile (r'(.*):(<.*)')
__not_applicable_feature='not-applicable-in-this-context'
feature.feature(__not_applicable_feature, [], ['free'])
+__abbreviated_paths = False
+
class Property(object):
__slots__ = ('_feature', '_value', '_condition')
@@ -62,9 +65,9 @@ class Property(object):
return hash((self._feature, self._value, tuple(self._condition)))
def __cmp__(self, other):
- return cmp((self._feature, self._value, self._condition),
- (other._feature, other._value, other._condition))
-
+ return cmp((self._feature.name(), self._value, self._condition),
+ (other._feature.name(), other._value, other._condition))
+
def create_from_string(s, allow_condition=False,allow_missing_value=False):
@@ -130,10 +133,19 @@ def reset ():
# A cache of results from as_path
__results = {}
-
+
reset ()
-
+
+def set_abbreviated_paths(on=True):
+ global __abbreviated_paths
+ __abbreviated_paths = on
+
+
+def get_abbreviated_paths():
+ return __abbreviated_paths or '--abbreviated-paths' in sys.argv
+
+
def path_order (x, y):
""" Helper for as_path, below. Orders properties with the implicit ones
first, and within the two sections in alphabetical order of feature
diff --git a/tools/build/src/build/property_set.py b/tools/build/src/build/property_set.py
index 6b3643045f..37fe466313 100644
--- a/tools/build/src/build/property_set.py
+++ b/tools/build/src/build/property_set.py
@@ -12,9 +12,10 @@ from b2.util.utility import *
import property, feature
import b2.build.feature
from b2.exceptions import *
+from b2.build.property import get_abbreviated_paths
from b2.util.sequence import unique
from b2.util.set import difference
-from b2.util import cached
+from b2.util import cached, abbreviate_dashed
from b2.manager import get_manager
@@ -41,7 +42,7 @@ def create (raw_properties = []):
else:
x = [property.create_from_string(ps) for ps in raw_properties]
x.sort()
- x = unique (x)
+ x = unique(x, stable=True)
# FIXME: can we do better, e.g. by directly computing
# hash value of the list?
@@ -350,7 +351,10 @@ class PropertySet:
if p.feature().implicit():
components.append(p.value())
else:
- components.append(p.feature().name() + "-" + p.value())
+ value = p.feature().name() + "-" + p.value()
+ if property.get_abbreviated_paths():
+ value = abbreviate_dashed(value)
+ components.append(value)
self.as_path_ = '/'.join (components)
diff --git a/tools/build/src/build/version.py b/tools/build/src/build/version.py
new file mode 100644
index 0000000000..1efe3b5c59
--- /dev/null
+++ b/tools/build/src/build/version.py
@@ -0,0 +1,38 @@
+import os
+import sys
+
+import bjam
+
+
+from b2.manager import get_manager
+
+
+MANAGER = get_manager()
+ERROR_HANDLER = MANAGER.errors()
+
+_major = "2014"
+_minor = "03"
+
+
+def boost_build():
+ return "{}.{}-svn".format(_major, _minor)
+
+
+def verify_engine_version():
+ major, minor, _ = v = bjam.variable('JAM_VERSION')
+ if major != _major or minor != _minor:
+ from textwrap import dedent
+ engine = sys.argv[0]
+ core = os.path.dirname(os.path.dirname(__file__))
+ print dedent("""\
+ warning: mismatched version of Boost.Build engine core
+ warning: Boost.Build engine "{}" is "{}"
+ warning: Boost.Build core at {} is {}
+ """.format(engine, '.'.join(v), core, boost_build()))
+ return False
+ return True
+
+
+def report():
+ if verify_engine_version():
+ print "Boost.Build " + boost_build()
diff --git a/tools/build/src/build/virtual-target.jam b/tools/build/src/build/virtual-target.jam
index 3103c30514..264616db61 100644
--- a/tools/build/src/build/virtual-target.jam
+++ b/tools/build/src/build/virtual-target.jam
@@ -432,6 +432,10 @@ class abstract-file-target : virtual-target
{
ps = [ property-set.empty ] ;
}
+
+ # Add this target object for use in getting additional information
+ # when tagging.
+ ps = [ property-set.create [ $(ps).raw ] <target>$(__name__) ] ;
local tag = [ $(ps).get <tag> ] ;
@@ -1092,7 +1096,7 @@ rule register-actual-name ( actual-name : virtual-target )
errors.user-error "Name clash for '$(actual-name)'"
: ""
: "Tried to build the target twice, with property sets having "
- : "these incompabile properties:"
+ : "these incompatible properties:"
: ""
: " - " $(properties-removed)
: " - " $(properties-added)
@@ -1285,7 +1289,7 @@ class subvariant
# Returns the properties specifying implicit include paths to generated
# headers. This traverses all targets in this subvariant and subvariants
- # referred by <implicit-dependecy> properties. For all targets of type
+ # referred by <implicit-dependency> properties. For all targets of type
# 'target-type' (or for all targets, if 'target-type' is not specified), the
# result will contain <$(feature)>path-to-that-target.
#
diff --git a/tools/build/src/build_system.py b/tools/build/src/build_system.py
index c5757c8173..6bd05d1d9a 100644
--- a/tools/build/src/build_system.py
+++ b/tools/build/src/build_system.py
@@ -455,7 +455,7 @@ def main_real():
import b2.build.configure as configure
if "--version" in sys.argv:
-
+ from b2.build import version
version.report()
return
@@ -804,7 +804,7 @@ def main_real():
j = option.get("jobs")
if j:
- bjam.call("set-variable", PARALLELISM, j)
+ bjam.call("set-variable", 'PARALLELISM', j)
k = option.get("keep-going", "true", "true")
if k in ["on", "yes", "true"]:
diff --git a/tools/build/src/contrib/boost.py b/tools/build/src/contrib/boost.py
index e0bbcf34de..e256fe9658 100644
--- a/tools/build/src/contrib/boost.py
+++ b/tools/build/src/contrib/boost.py
@@ -271,7 +271,7 @@ def tag_maybe(param):
def tag_system(name, type, prop_set):
return common.format_name(['<base>'] + tag_maybe(__build_id), name, type, prop_set)
-def tag_system(name, type, prop_set):
+def tag_tagged(name, type, prop_set):
return common.format_name(['<base>', '<threading>', '<runtime>'] + tag_maybe(__build_id), name, type, prop_set)
def tag_versioned(name, type, prop_set):
diff --git a/tools/build/src/contrib/modular.jam b/tools/build/src/contrib/modular.jam
new file mode 100644
index 0000000000..917dfbaa52
--- /dev/null
+++ b/tools/build/src/contrib/modular.jam
@@ -0,0 +1,141 @@
+# Copyright Rene Rivera 2015
+# Distributed under the Boost Software License, Version 1.0.
+# (See accompanying file LICENSE_1_0.txt or copy at
+# http://www.boost.org/LICENSE_1_0.txt)
+
+#alias library
+# :
+# : : : <include>include
+# ;
+
+import path ;
+import project ;
+import modules ;
+import regex ;
+
+rule find ( target-refs + )
+{
+ process-args ;
+
+ local caller-mod = [ CALLER_MODULE ] ;
+ local caller-dir = [ modules.peek $(caller-mod) : __file__ ] ;
+ caller-dir = $(caller-dir:D) ;
+ caller-dir = [ path.root $(caller-dir) [ path.pwd ] ] ;
+
+ for local target-ref in $(target-refs)
+ {
+ local ref = [ MATCH ^(.*)//.* : $(target-ref:G=) ] ;
+ local search-prefix ;
+ local search-sub ;
+ for local prefix in $(.search-path-prefix)
+ {
+ if ! $(search-prefix)
+ {
+ local search-match = [ MATCH ^($(prefix))/(.*)$ : $(ref) ] ;
+ search-prefix = $(search-match[1]) ;
+ search-sub = $(search-match[2]) ;
+ }
+ }
+ local found = [ path.glob $(.search-path.$(search-prefix)) : $(search-sub) ] ;
+ found = $(found[1]) ;
+ if $(found)
+ {
+ local lib-ref = [ regex.split $(search-sub) / ] ;
+ lib-ref = $(search-prefix)/$(lib-ref[1]) ;
+ local lib-path = [ path.relative-to $(caller-dir) $(found) ] ;
+ library $(lib-ref) $(caller-mod) : $(lib-path) ;
+ }
+ }
+
+ return $(target-refs) ;
+}
+
+rule library ( name caller-module ? : root )
+{
+ process-args ;
+
+ # Dir path of caller to base paths from.
+ caller-module ?= [ CALLER_MODULE ] ;
+ local caller-dir = [ modules.peek $(caller-module) : __file__ ] ;
+ caller-dir = $(caller-dir:D) ;
+
+ # Find the various parts of the library.
+ local lib-dir = [ path.root [ path.root $(root) $(caller-dir) ] [ path.pwd ] ] ;
+ local lib-contents = [ path.glob $(lib-dir) : "include" "build" ] ;
+ lib-contents = $(lib-contents:D=) ;
+ # "include" dir for library..
+ local include-dir ;
+ if "include" in $(lib-contents)
+ {
+ include-dir = include ;
+ }
+
+ # Does it look like a library?
+ if $(include-dir)
+ {
+ # Load/create/declare library project.
+ local lib-module = [ project.find $(root) : $(caller-dir) ] ;
+ if ! $(lib-module)
+ {
+ lib-module = [ project.load
+ [ path.root [ path.make $(root) ] $(caller-dir) ] : synthesize ] ;
+ }
+ local lib-target = [ project.target $(lib-module) ] ;
+
+ # We move to the library project module to define the various
+ # targets others use for the library.
+ if ! [ modules.peek $(lib-module) : __library__ ]
+ {
+ modules.poke $(lib-module) : __library__ : $(name) ;
+ project.push-current $(lib-target) ;
+
+ # Declare the library alias.
+ modules.call-in $(lib-module) : alias library
+ : # Sources
+ : # Requirements
+ : # Default Build
+ : # Usage Requirements
+ <include>$(include-dir)
+ ;
+
+ project.pop-current ;
+ }
+
+ # Declare project alternate ID.
+ modules.call-in $(caller-module) : use-project $(name) : $(root) ;
+ }
+}
+
+# Add a location, i.e. directory, where to search for libraries.
+# The optional 'prefix' indicates which rooted-prefixes the new
+# search dir applies to. The prefix defaults to '/'.
+rule add-location ( dir prefix ? : base-dir ? )
+{
+ process-args ;
+
+ prefix ?= "/" ;
+
+ # Dir path of caller to base paths from.
+ caller-module ?= [ CALLER_MODULE ] ;
+ local caller-dir = [ modules.peek $(caller-module) : __file__ ] ;
+ caller-dir = $(caller-dir:D) ;
+
+ base-dir ?= $(caller-dir) ;
+
+ .search-path-prefix += $(prefix) ;
+ .search-path.$(prefix) += [ path.root [ path.root $(dir) $(base-dir) ] [ path.pwd ] ] ;
+}
+
+local rule process-args ( )
+{
+ if ! $(.did-process-args)
+ {
+ .did-process-args = yes ;
+ local argv = [ modules.peek : ARGV ] ;
+ local dirs = [ MATCH ^--modular-search-dir=(.*)$ : $(argv) ] ;
+ for local dir in $(dirs)
+ {
+ add-location $(dir) : [ path.pwd ] ;
+ }
+ }
+}
diff --git a/tools/build/src/engine/Jambase b/tools/build/src/engine/Jambase
index 94f8fbde5c..6e7b7a2be5 100644
--- a/tools/build/src/engine/Jambase
+++ b/tools/build/src/engine/Jambase
@@ -855,6 +855,18 @@ else if $(OS) = BEOS
NOARSCAN ?= true ;
STDHDRS ?= /boot/develop/headers/posix ;
}
+else if $(OS) = HAIKU
+{
+ BINDIR ?= /boot/system/non-packaged/bin ;
+ CC ?= gcc ;
+ C++ ?= $(CC) ;
+ FORTRAN ?= "" ;
+ LIBDIR ?= /boot/system/non-packaged/lib ;
+ LINK ?= gcc ;
+ LINKLIBS ?= -lnetwork ;
+ NOARSCAN ?= true ;
+ STDHDRS ?= /boot/system/develop/headers/posix ;
+}
else if $(UNIX)
{
switch $(OS)
diff --git a/tools/build/src/engine/boehm_gc/dyn_load.c b/tools/build/src/engine/boehm_gc/dyn_load.c
index 36968ba5d7..eed9253e31 100644
--- a/tools/build/src/engine/boehm_gc/dyn_load.c
+++ b/tools/build/src/engine/boehm_gc/dyn_load.c
@@ -64,7 +64,7 @@ static int (*GC_has_static_roots)(const char *, void *, size_t);
!defined(AIX) && !defined(SCO_ELF) && !defined(DGUX) && \
!(defined(FREEBSD) && defined(__ELF__)) && \
!(defined(NETBSD) && defined(__ELF__)) && !defined(HURD) && \
- !defined(DARWIN) && !defined(CYGWIN32)
+ !defined(DARWIN) && !defined(CYGWIN32) && !defined(HAIKU)
--> We only know how to find data segments of dynamic libraries for the
--> above. Additional SVR4 variants might not be too
--> hard to add.
@@ -82,6 +82,10 @@ static int (*GC_has_static_roots)(const char *, void *, size_t);
# define ELFSIZE ARCH_ELFSIZE
#endif
+#if defined(HAIKU)
+// purposefully empty
+#endif
+
#if defined(LINUX) && defined(__ELF__) || defined(SCO_ELF) || \
(defined(FREEBSD) && defined(__ELF__)) || defined(DGUX) || \
(defined(NETBSD) && defined(__ELF__)) || defined(HURD)
@@ -216,7 +220,8 @@ void GC_register_dynamic_libraries()
#if defined(LINUX) && defined(__ELF__) || defined(SCO_ELF) || \
(defined(FREEBSD) && defined(__ELF__)) || defined(DGUX) || \
- (defined(NETBSD) && defined(__ELF__)) || defined(HURD)
+ (defined(NETBSD) && defined(__ELF__)) || defined(HURD) \
+ defined(HAIKU)
#ifdef USE_PROC_FOR_LIBRARIES
diff --git a/tools/build/src/engine/boehm_gc/include/gc.h b/tools/build/src/engine/boehm_gc/include/gc.h
index cc950888f0..590a868d63 100644
--- a/tools/build/src/engine/boehm_gc/include/gc.h
+++ b/tools/build/src/engine/boehm_gc/include/gc.h
@@ -494,7 +494,7 @@ GC_API void * GC_malloc_atomic_ignore_off_page(size_t lb);
/* of compilers. */
/* This may also be desirable if it is possible but expensive to */
/* retrieve the call chain. */
-#if (defined(__linux__) || defined(__NetBSD__) || defined(__OpenBSD__) \
+#if (defined(__linux__) || defined(__NetBSD__) || defined(__OpenBSD__) || defined(__HAIKU__) \
|| defined(__FreeBSD__) || defined(__DragonFly__)) & !defined(GC_CAN_SAVE_CALL_STACKS)
# define GC_ADD_CALLER
# if __GNUC__ >= 3 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 95)
diff --git a/tools/build/src/engine/boehm_gc/include/gc_config_macros.h b/tools/build/src/engine/boehm_gc/include/gc_config_macros.h
index 66abf0b1e3..762162a344 100644
--- a/tools/build/src/engine/boehm_gc/include/gc_config_macros.h
+++ b/tools/build/src/engine/boehm_gc/include/gc_config_macros.h
@@ -45,7 +45,8 @@
|| defined(GC_AIX_THREADS) \
|| defined(GC_LINUX_THREADS) \
|| defined(GC_NETBSD_THREADS) \
- || defined(GC_GNU_THREADS))
+ || defined(GC_GNU_THREADS) \
+ || defined(GC_HAIKU_THREADS))
# define _REENTRANT
/* Better late than never. This fails if system headers that */
/* depend on this were previously included. */
@@ -65,7 +66,7 @@
defined(GC_DGUX386_THREADS) || defined(GC_DARWIN_THREADS) || \
defined(GC_AIX_THREADS) || defined(GC_NETBSD_THREADS) || \
(defined(GC_WIN32_THREADS) && defined(__CYGWIN32__)) || \
- defined(GC_GNU_THREADS)
+ defined(GC_GNU_THREADS) || defined(GC_HAIKU_THREADS)
# define GC_PTHREADS
# endif
diff --git a/tools/build/src/engine/boehm_gc/include/private/gcconfig.h b/tools/build/src/engine/boehm_gc/include/private/gcconfig.h
index 20f35bc3a1..61cf9eacbf 100644
--- a/tools/build/src/engine/boehm_gc/include/private/gcconfig.h
+++ b/tools/build/src/engine/boehm_gc/include/private/gcconfig.h
@@ -215,6 +215,10 @@
# define BEOS
# define mach_type_known
# endif
+# if defined(__HAIKU__) && defined(_X86_)
+# define I386
+# define HAIKU
+# define mach_type_known
# if defined(LINUX) && (defined(i386) || defined(__i386__))
# define I386
# define mach_type_known
@@ -1014,6 +1018,13 @@
extern int etext[];
# define DATASTART ((ptr_t)((((word) (etext)) + 0xfff) & ~0xfff))
# endif
+# ifdef HAIKU
+# define OS_TYPE "HAIKU"
+# include <OS.h>
+# define GETPAGESIZE() B_PAGE_SIZE
+# extern int etext[];
+# define DATASTART ((ptr_t)((((word) (etext)) + 0xfff) & ~0xfff))
+# endif
# ifdef SOLARIS
# define OS_TYPE "SOLARIS"
extern int _etext[], _end[];
diff --git a/tools/build/src/engine/boehm_gc/os_dep.c b/tools/build/src/engine/boehm_gc/os_dep.c
index bb8fa08f61..2dd087fbe7 100644
--- a/tools/build/src/engine/boehm_gc/os_dep.c
+++ b/tools/build/src/engine/boehm_gc/os_dep.c
@@ -777,6 +777,17 @@ ptr_t GC_get_main_stack_base(void){
# endif /* BEOS */
+# ifdef HAIKU
+# include <OS.h>
+ptr_t GC_get_main_stack_base(void)
+{
+ thread_info th;
+ get_thread_info(find_thread(NULL), &th);
+ return th.stack_end;
+}
+# endif
+
+
# ifdef OS2
ptr_t GC_get_main_stack_base(void)
@@ -1097,7 +1108,7 @@ ptr_t GC_get_main_stack_base(void)
#if !defined(BEOS) && !defined(AMIGA) && !defined(MSWIN32) \
&& !defined(MSWINCE) && !defined(OS2) && !defined(NOSYS) && !defined(ECOS) \
- && !defined(CYGWIN32)
+ && !defined(CYGWIN32) && !defined(HAIKU)
ptr_t GC_get_main_stack_base(void)
{
@@ -1154,7 +1165,7 @@ ptr_t GC_get_main_stack_base(void)
# endif /* STACKBOTTOM */
}
-# endif /* ! AMIGA, !OS 2, ! MS Windows, !BEOS, !NOSYS, !ECOS */
+# endif /* ! AMIGA, !OS 2, ! MS Windows, !BEOS, !NOSYS, !ECOS, !HAIKU */
#if defined(GC_LINUX_THREADS) && !defined(HAVE_GET_STACK_BASE)
diff --git a/tools/build/src/engine/build.bat b/tools/build/src/engine/build.bat
index c96e508e75..0fdb804b6a 100644
--- a/tools/build/src/engine/build.bat
+++ b/tools/build/src/engine/build.bat
@@ -613,3 +613,4 @@ goto Set_Args
:Skip_Jam
:Finish
+exit /b %ERRORLEVEL%
diff --git a/tools/build/src/engine/build.sh b/tools/build/src/engine/build.sh
index 470ea3c070..6dbc70633c 100755
--- a/tools/build/src/engine/build.sh
+++ b/tools/build/src/engine/build.sh
@@ -142,16 +142,27 @@ case $BOOST_JAM_TOOLSET in
;;
intel-linux)
- if test -r /opt/intel/cc/9.0/bin/iccvars.sh ; then
- BOOST_JAM_TOOLSET_ROOT=/opt/intel/cc/9.0/
- elif test -r /opt/intel_cc_80/bin/iccvars.sh ; then
- BOOST_JAM_TOOLSET_ROOT=/opt/intel_cc_80/
- elif test -r /opt/intel/compiler70/ia32/bin/iccvars.sh ; then
- BOOST_JAM_TOOLSET_ROOT=/opt/intel/compiler70/ia32/
- elif test -r /opt/intel/compiler60/ia32/bin/iccvars.sh ; then
- BOOST_JAM_TOOLSET_ROOT=/opt/intel/compiler60/ia32/
- elif test -r /opt/intel/compiler50/ia32/bin/iccvars.sh ; then
- BOOST_JAM_TOOLSET_ROOT=/opt/intel/compiler50/ia32/
+ which icc >/dev/null 2>&1
+ if test $? ; then
+ BOOST_JAM_CC=$(which icc)
+ echo "Found $BOOST_JAM_CC in environment"
+ BOOST_JAM_TOOLSET_ROOT=$(echo $BOOST_JAM_CC | sed -e 's/bin.*\/icc//')
+ # probably the most widespread
+ ARCH=intel64
+ else
+ echo "No intel compiler in current path"
+ echo "Look in a few old place for legacy reason"
+ if test -r /opt/intel/cc/9.0/bin/iccvars.sh ; then
+ BOOST_JAM_TOOLSET_ROOT=/opt/intel/cc/9.0/
+ elif test -r /opt/intel_cc_80/bin/iccvars.sh ; then
+ BOOST_JAM_TOOLSET_ROOT=/opt/intel_cc_80/
+ elif test -r /opt/intel/compiler70/ia32/bin/iccvars.sh ; then
+ BOOST_JAM_TOOLSET_ROOT=/opt/intel/compiler70/ia32/
+ elif test -r /opt/intel/compiler60/ia32/bin/iccvars.sh ; then
+ BOOST_JAM_TOOLSET_ROOT=/opt/intel/compiler60/ia32/
+ elif test -r /opt/intel/compiler50/ia32/bin/iccvars.sh ; then
+ BOOST_JAM_TOOLSET_ROOT=/opt/intel/compiler50/ia32/
+ fi
fi
if test -r ${BOOST_JAM_TOOLSET_ROOT}bin/iccvars.sh ; then
# iccvars does not change LD_RUN_PATH. We adjust LD_RUN_PATH here in
@@ -164,9 +175,11 @@ case $BOOST_JAM_TOOLSET in
LD_RUN_PATH="${BOOST_JAM_TOOLSET_ROOT}lib:${LD_RUN_PATH}"
fi
export LD_RUN_PATH
- . ${BOOST_JAM_TOOLSET_ROOT}bin/iccvars.sh
+ . ${BOOST_JAM_TOOLSET_ROOT}bin/iccvars.sh $ARCH
+ fi
+ if test -z "$BOOST_JAM_CC" ; then
+ BOOST_JAM_CC=icc
fi
- BOOST_JAM_CC=icc
;;
vacpp)
diff --git a/tools/build/src/engine/builtins.c b/tools/build/src/engine/builtins.c
index daa73db9aa..162c3d2953 100644
--- a/tools/build/src/engine/builtins.c
+++ b/tools/build/src/engine/builtins.c
@@ -759,8 +759,9 @@ static int has_wildcards( char const * const str )
static LIST * append_if_exists( LIST * list, OBJECT * file )
{
- return file_query( file )
- ? list_push_back( list, object_copy( file ) )
+ file_info_t * info = file_query( file );
+ return info
+ ? list_push_back( list, object_copy( info->name ) )
: list ;
}
diff --git a/tools/build/src/engine/execunix.c b/tools/build/src/engine/execunix.c
index 965e580116..297c003772 100644
--- a/tools/build/src/engine/execunix.c
+++ b/tools/build/src/engine/execunix.c
@@ -137,6 +137,9 @@ void exec_cmd
LIST * shell
)
{
+ struct sigaction ignore, saveintr, savequit;
+ sigset_t chldmask, savemask;
+
int const slot = get_free_cmdtab_slot();
int out[ 2 ];
int err[ 2 ];
@@ -203,6 +206,21 @@ void exec_cmd
if ( globs.pipe_action )
fcntl( err[ EXECCMD_PIPE_READ ], F_SETFD, FD_CLOEXEC );
+ /* ignore SIGINT and SIGQUIT */
+ ignore.sa_handler = SIG_IGN;
+ sigemptyset(&ignore.sa_mask);
+ ignore.sa_flags = 0;
+ if (sigaction(SIGINT, &ignore, &saveintr) < 0)
+ return;
+ if (sigaction(SIGQUIT, &ignore, &savequit) < 0)
+ return;
+
+ /* block SIGCHLD */
+ sigemptyset(&chldmask);
+ sigaddset(&chldmask, SIGCHLD);
+ if (sigprocmask(SIG_BLOCK, &chldmask, &savemask) < 0)
+ return;
+
if ( ( cmdtab[ slot ].pid = vfork() ) == -1 )
{
perror( "vfork" );
@@ -216,6 +234,11 @@ void exec_cmd
/*****************/
int const pid = getpid();
+ /* restore previous signals */
+ sigaction(SIGINT, &saveintr, NULL);
+ sigaction(SIGQUIT, &savequit, NULL);
+ sigprocmask(SIG_SETMASK, &savemask, NULL);
+
/* Redirect stdout and stderr to pipes inherited from the parent. */
dup2( out[ EXECCMD_PIPE_WRITE ], STDOUT_FILENO );
dup2( globs.pipe_action ? err[ EXECCMD_PIPE_WRITE ] :
@@ -236,7 +259,10 @@ void exec_cmd
r_limit.rlim_max = globs.timeout;
setrlimit( RLIMIT_CPU, &r_limit );
}
- setpgid( pid, pid );
+ if (0 != setpgid( pid, pid )) {
+ perror("setpgid(child)");
+ /* exit( EXITBAD ); */
+ }
execvp( argv[ 0 ], (char * *)argv );
perror( "execvp" );
_exit( 127 );
@@ -245,7 +271,9 @@ void exec_cmd
/******************/
/* Parent process */
/******************/
- setpgid( cmdtab[ slot ].pid, cmdtab[ slot ].pid );
+
+ /* redundant call, ignore return value */
+ setpgid(cmdtab[ slot ].pid, cmdtab[ slot ].pid);
/* Parent not need the write pipe ends used by the child. */
close( out[ EXECCMD_PIPE_WRITE ] );
@@ -281,6 +309,11 @@ void exec_cmd
/* Save input data into the selected running commands table slot. */
cmdtab[ slot ].func = func;
cmdtab[ slot ].closure = closure;
+
+ /* restore previous signals */
+ sigaction(SIGINT, &saveintr, NULL);
+ sigaction(SIGQUIT, &savequit, NULL);
+ sigprocmask(SIG_SETMASK, &savemask, NULL);
}
#undef EXECCMD_PIPE_READ
@@ -448,10 +481,17 @@ void exec_wait()
/* select() will wait for I/O on a descriptor, a signal, or timeout. */
{
+ /* disable child termination signals while in select */
int ret;
+ sigset_t sigmask;
+ sigemptyset(&sigmask);
+ sigaddset(&sigmask, SIGCHLD);
+ sigprocmask(SIG_BLOCK, &sigmask, NULL);
while ( ( ret = select( fd_max + 1, &fds, 0, 0, ptv ) ) == -1 )
if ( errno != EINTR )
break;
+ /* restore original signal mask by unblocking sigchld */
+ sigprocmask(SIG_UNBLOCK, &sigmask, NULL);
if ( ret <= 0 )
continue;
}
diff --git a/tools/build/src/engine/fileunix.c b/tools/build/src/engine/fileunix.c
index bff3a42f52..e8ea515075 100644
--- a/tools/build/src/engine/fileunix.c
+++ b/tools/build/src/engine/fileunix.c
@@ -80,7 +80,10 @@ struct ar_hdr /* archive file member header - printable ascii */
};
#endif
-#if defined( OS_QNX ) || defined( OS_BEOS ) || defined( OS_MPEIX )
+#if defined( OS_QNX ) || \
+ defined( OS_BEOS ) || \
+ defined( OS_HAIKU ) || \
+ defined( OS_MPEIX )
# define NO_AR
# define HAVE_AR
#endif
diff --git a/tools/build/src/engine/function.c b/tools/build/src/engine/function.c
index 690855e14c..d9ad754e43 100644
--- a/tools/build/src/engine/function.c
+++ b/tools/build/src/engine/function.c
@@ -228,9 +228,18 @@ STACK * stack_global()
return &result;
}
+struct list_alignment_helper
+{
+ char ch;
+ LIST * l;
+};
+
+#define LISTPTR_ALIGN_BASE ( sizeof( struct list_alignment_helper ) - sizeof( LIST * ) )
+#define LISTPTR_ALIGN ( ( LISTPTR_ALIGN_BASE > sizeof( LIST * ) ) ? sizeof( LIST * ) : LISTPTR_ALIGN_BASE )
+
static void check_alignment( STACK * s )
{
- assert( (size_t)s->data % sizeof( LIST * ) == 0 );
+ assert( (size_t)s->data % LISTPTR_ALIGN == 0 );
}
void * stack_allocate( STACK * s, int size )
diff --git a/tools/build/src/engine/jam.c b/tools/build/src/engine/jam.c
index 1c80eec50b..890d7672c9 100644
--- a/tools/build/src/engine/jam.c
+++ b/tools/build/src/engine/jam.c
@@ -627,7 +627,8 @@ char *executable_path( char const * argv0 )
# include <stdlib.h>
char * executable_path( char const * argv0 )
{
- return strdup( getexecname() );
+ const char * execname = getexecname();
+ return execname ? strdup( execname ) : NULL;
}
#elif defined(__FreeBSD__)
# include <sys/sysctl.h>
diff --git a/tools/build/src/engine/jam.h b/tools/build/src/engine/jam.h
index 497a5bfb1a..2895906af5 100644
--- a/tools/build/src/engine/jam.h
+++ b/tools/build/src/engine/jam.h
@@ -154,6 +154,11 @@
#define OSMINOR "OS=HPUX"
#define OS_HPUX
#endif
+#ifdef __HAIKU__
+ #define unix
+ #define OSMINOR "OS=HAIKU"
+ #define OS_HAIKU
+#endif
#ifdef __OPENNT
#define unix
#define OSMINOR "OS=INTERIX"
@@ -370,7 +375,8 @@
#define OSPLAT "OSPLAT=MIPS"
#endif
-#ifdef __arm__
+#if defined( __arm__ ) || \
+ defined( __aarch64__ )
#define OSPLAT "OSPLAT=ARM"
#endif
diff --git a/tools/build/src/engine/jambase.c b/tools/build/src/engine/jambase.c
index b15282bc32..323ba15641 100644
--- a/tools/build/src/engine/jambase.c
+++ b/tools/build/src/engine/jambase.c
@@ -560,6 +560,18 @@ char *jambase[] = {
"NOARSCAN ?= true ;\n",
"STDHDRS ?= /boot/develop/headers/posix ;\n",
"}\n",
+"else if $(OS) = HAIKU\n",
+"{\n",
+"BINDIR ?= /boot/system/non-packaged/bin ;\n",
+"CC ?= gcc ;\n",
+"C++ ?= $(CC) ;\n",
+"FORTRAN ?= \"\" ;\n",
+"LIBDIR ?= /boot/system/non-packaged/lib ;\n",
+"LINK ?= gcc ;\n",
+"LINKLIBS ?= -lnetwork ;\n",
+"NOARSCAN ?= true ;\n",
+"STDHDRS ?= /boot/system/develop/headers/posix ;\n",
+"}\n",
"else if $(UNIX)\n",
"{\n",
"switch $(OS)\n",
diff --git a/tools/build/src/engine/make1.c b/tools/build/src/engine/make1.c
index 5a96dc4e5d..390b4ccbe2 100644
--- a/tools/build/src/engine/make1.c
+++ b/tools/build/src/engine/make1.c
@@ -593,8 +593,6 @@ static void make1c( state const * const pState )
TARGET * saved_includes;
SETTINGS * s;
- t->rescanned = 1;
-
/* Clean current includes. */
saved_includes = t->includes;
t->includes = 0;
diff --git a/tools/build/src/engine/modules/order.c b/tools/build/src/engine/modules/order.c
index 3a83d3895c..467322da0e 100644
--- a/tools/build/src/engine/modules/order.c
+++ b/tools/build/src/engine/modules/order.c
@@ -77,7 +77,7 @@ void topological_sort( int * * graph, int num_vertices, int * result )
for ( i = 0; i < num_vertices; ++i )
colors[ i ] = white;
- for ( i = 0; i < num_vertices; ++i )
+ for ( i = num_vertices - 1; i >= 0; --i )
if ( colors[ i ] == white )
do_ts( graph, i, colors, &result );
diff --git a/tools/build/src/engine/rules.c b/tools/build/src/engine/rules.c
index 7947c55071..eb35aa6df1 100644
--- a/tools/build/src/engine/rules.c
+++ b/tools/build/src/engine/rules.c
@@ -63,7 +63,6 @@ static TARGET * get_target_includes( TARGET * const t )
i->name = object_copy( t->name );
i->boundname = object_copy( i->name );
i->flags |= T_FLAG_NOTFILE | T_FLAG_INTERNAL;
- i->original_target = t;
t->includes = i;
}
return t->includes;
diff --git a/tools/build/src/engine/rules.h b/tools/build/src/engine/rules.h
index f3a020bb8c..d118b3149f 100644
--- a/tools/build/src/engine/rules.h
+++ b/tools/build/src/engine/rules.h
@@ -125,6 +125,16 @@ struct _target
ACTIONS * actions; /* rules to execute, if any */
SETTINGS * settings; /* variables to define */
+ TARGETS * depends; /* dependencies */
+ TARGETS * dependants; /* the inverse of dependencies */
+ TARGETS * rebuilds; /* targets that should be force-rebuilt
+ * whenever this one is
+ */
+ TARGET * includes; /* internal includes node */
+
+ timestamp time; /* update time */
+ timestamp leaf; /* update time of leaf sources */
+
short flags; /* status info */
#define T_FLAG_TEMP 0x0001 /* TEMPORARY applied */
@@ -164,18 +174,6 @@ struct _target
#define T_BIND_PARENTS 2 /* using parent's timestamp */
#define T_BIND_EXISTS 3 /* real file, timestamp valid */
- TARGETS * depends; /* dependencies */
- TARGETS * dependants; /* the inverse of dependencies */
- TARGETS * rebuilds; /* targets that should be force-rebuilt
- * whenever this one is
- */
- TARGET * includes; /* internal includes node */
- TARGET * original_target; /* original_target->includes = this */
- char rescanned;
-
- timestamp time; /* update time */
- timestamp leaf; /* update time of leaf sources */
-
char fate; /* make0()'s diagnosis */
#define T_FATE_INIT 0 /* nothing done to target */
@@ -212,12 +210,12 @@ struct _target
#define T_MAKE_SEMAPHORE 5 /* Special target type for semaphores */
#endif
+ char status; /* exec_cmd() result */
+
#ifdef OPT_SEMAPHORE
TARGET * semaphore; /* used in serialization */
#endif
- char status; /* exec_cmd() result */
-
int asynccnt; /* child deps outstanding */
TARGETS * parents; /* used by make1() for completion */
TARGET * scc_root; /* used by make to resolve cyclic includes
diff --git a/tools/build/src/tools/builtin.jam b/tools/build/src/tools/builtin.jam
index d62680afd9..92959afc07 100644
--- a/tools/build/src/tools/builtin.jam
+++ b/tools/build/src/tools/builtin.jam
@@ -35,13 +35,13 @@ import message ;
import convert ;
# FIXME: the following generate module import is not needed here but removing it
-# too hastly will break using code (e.g. the main Boost library Jamroot file)
+# too hastily will break using code (e.g. the main Boost library Jamroot file)
# that forgot to import the generate module before calling the generate rule.
import generate ;
-.os-names = aix android bsd cygwin darwin freebsd hpux iphone linux netbsd openbsd osf
- qnx qnxnto sgi solaris unix unixware windows
+.os-names = aix android bsd cygwin darwin freebsd haiku hpux iphone linux netbsd
+ openbsd osf qnx qnxnto sgi solaris unix unixware windows
elf # Not actually an OS -- used for targeting bare metal where object
# format is ELF. This catches both -elf and -eabi gcc targets and well
# as other compilers targeting ELF. It is not clear how often we need
@@ -76,6 +76,7 @@ local rule default-host-os ( )
case COHERENT : host-os = unix ;
case DRAGONFLYBSD : host-os = bsd ;
case IRIX : host-os = sgi ;
+ case HAIKU : host-os = haiku ;
case MACOSX : host-os = darwin ;
case KFREEBSD : host-os = freebsd ;
case LINUX : host-os = linux ;
@@ -127,7 +128,7 @@ feature.feature debug-symbols : on off : propagated ;
# everything not necessary to running removed. This option should
# not be very often needed. Also, this feature will show up in
# target paths of everything, not just binaries. Should fix that
-# when impelementing feature relevance.
+# when implementing feature relevance.
feature.feature strip : off on : propagated ;
feature.feature define : : free ;
feature.feature undef : : free ;
@@ -812,7 +813,7 @@ class linking-generator : generator
local result = [ property-set.empty ] ;
local extra ;
- # Add appropricate <xdll-path> usage requirements.
+ # Add appropriate <xdll-path> usage requirements.
local raw = [ $(property-set).raw ] ;
if <link>shared in $(raw)
{
@@ -833,9 +834,9 @@ class linking-generator : generator
# to other shared libraries this one depends on in order to be able to
# find them all at runtime.
- # Just pass all features in property-set, it is theorically possible
+ # Just pass all features in property-set, it is theoretically possible
# that we will propagate <xdll-path> features explicitly specified by
- # the user, but then the user is to blaim for using an internal feature.
+ # the user, but then the user is to blame for using an internal feature.
local values = [ $(property-set).get <xdll-path> ] ;
extra += $(values:G=<xdll-path>) ;
diff --git a/tools/build/src/tools/builtin.py b/tools/build/src/tools/builtin.py
index 68ddfed4b1..14a883e1b6 100644
--- a/tools/build/src/tools/builtin.py
+++ b/tools/build/src/tools/builtin.py
@@ -103,6 +103,7 @@ def default_host_os():
elif host_os == 'MACOSX': host_os = 'darwin'
elif host_os == 'KFREEBSD': host_os = 'freebsd'
elif host_os == 'LINUX': host_os = 'linux'
+ elif host_os == 'HAIKU': host_os = 'haiku'
else: host_os = 'unix'
return host_os.lower()
diff --git a/tools/build/src/tools/clang-linux.jam b/tools/build/src/tools/clang-linux.jam
index 0aa29d519c..f6dcda9f3e 100644
--- a/tools/build/src/tools/clang-linux.jam
+++ b/tools/build/src/tools/clang-linux.jam
@@ -75,8 +75,9 @@ toolset.flags clang-linux.compile OPTIONS <optimization>space : -Os ;
# note: clang silently ignores some of these inlining options
toolset.flags clang-linux.compile OPTIONS <inlining>off : -fno-inline ;
+# For clang, 'on' and 'full' are identical.
toolset.flags clang-linux.compile OPTIONS <inlining>on : -Wno-inline ;
-toolset.flags clang-linux.compile OPTIONS <inlining>full : -finline-functions -Wno-inline ;
+toolset.flags clang-linux.compile OPTIONS <inlining>full : -Wno-inline ;
toolset.flags clang-linux.compile OPTIONS <warnings>off : -w ;
toolset.flags clang-linux.compile OPTIONS <warnings>on : -Wall ;
diff --git a/tools/build/src/tools/common.py b/tools/build/src/tools/common.py
index 63c65e4c01..443b3e92d2 100644
--- a/tools/build/src/tools/common.py
+++ b/tools/build/src/tools/common.py
@@ -66,7 +66,8 @@ def reset ():
m = {"NT": __executable_path_variable,
"CYGWIN": "PATH",
"MACOSX": "DYLD_LIBRARY_PATH",
- "AIX": "LIBPATH"}
+ "AIX": "LIBPATH",
+ "HAIKU": "LIBRARY_PATH"}
global __shared_library_path_variable
__shared_library_path_variable = m.get(OS, "LD_LIBRARY_PATH")
diff --git a/tools/build/src/tools/gcc.jam b/tools/build/src/tools/gcc.jam
index ce9be9d6df..db0453461b 100644
--- a/tools/build/src/tools/gcc.jam
+++ b/tools/build/src/tools/gcc.jam
@@ -1034,6 +1034,7 @@ rule setup-threading ( targets * : sources * : properties * )
case cygwin : option = -mthreads ;
case solaris : option = -pthreads ; libs = rt ;
case beos : # No threading options.
+ case haiku : option = ;
case *bsd : option = -pthread ; # There is no -lrt on BSD.
case sgi : # gcc on IRIX does not support multi-threading.
case darwin : # No threading options.
diff --git a/tools/build/src/tools/gcc.py b/tools/build/src/tools/gcc.py
index 97f1e79d45..a13ce7ad2e 100644
--- a/tools/build/src/tools/gcc.py
+++ b/tools/build/src/tools/gcc.py
@@ -686,6 +686,9 @@ elif bjam.variable('UNIX'):
elif host_os_name == 'BeOS':
# BeOS has no threading options, don't set anything here.
pass
+ elif host_os_name == 'Haiku':
+ flags('gcc', 'OPTIONS', ['<threading>multi'], ['-lroot'])
+ # there is no -lrt on Haiku, and -pthread is implicit
elif host_os_name.endswith('BSD'):
flags('gcc', 'OPTIONS', ['<threading>multi'], ['-pthread'])
# there is no -lrt on BSD
diff --git a/tools/build/src/tools/link.jam b/tools/build/src/tools/link.jam
index 4a7034b8ac..944911b3eb 100644
--- a/tools/build/src/tools/link.jam
+++ b/tools/build/src/tools/link.jam
@@ -94,6 +94,8 @@ rule can-junction ( project : ps )
else
{
+.can-junction = false ;
+
rule can-junction ( project : ps )
{
}
@@ -229,10 +231,20 @@ rule do-file-link
{
local target = [ path.native [ path.relative-to [ path.pwd ] $(<) ] ] ;
local source = [ path.native [ path.relative-to [ path.pwd ] $(>) ] ] ;
+ local old-source = [ on $(target) return $(LINK-SOURCE) ] ;
+ if $(old-source)
+ {
+ import errors ;
+ errors.user-error
+ Cannot create link $(target) to $(source). :
+ Link previously defined to another file, $(old-source[1]). ;
+ }
+ LINK-SOURCE on $(target) = $(source) $(.current-target) ;
LOCATE on $(target) = . ;
DEPENDS $(.current-target) : $(target) ;
if $(.can-symlink) = true
{
+ DEPENDS $(target) : $(source) ;
link.mklink $(target) : $(source) ;
}
else if $(.can-hardlink) = true
@@ -279,6 +291,12 @@ rule do-link
}
}
+rule force-update
+{
+ local target = [ path.native [ path.relative-to [ path.pwd ] $(<) ] ] ;
+ ALWAYS $(target) ;
+}
+
rule do-split
{
local target = [ path.native [ path.relative-to [ path.pwd ] $(<) ] ] ;
@@ -309,7 +327,7 @@ actions mklink-or-dir
$(MKLINK_OR_DIR)
}
-rule link-entries ( target : files * : split ? )
+rule link-entries ( target : files * : split ? : deleted ? )
{
for local s in $(files)
{
@@ -324,7 +342,7 @@ rule link-entries ( target : files * : split ? )
}
if $(split)
{
- link-recursively $(t) : $(s) ;
+ link-recursively $(t) : $(s) : : $(deleted) ;
}
else
{
@@ -338,8 +356,12 @@ rule link-entries ( target : files * : split ? )
}
}
-rule link-recursively ( target : source : no-recurse ? )
+rule link-recursively ( target : source : no-recurse ? : deleted ? )
{
+ if $(deleted) {
+ force-update $(target) ;
+ }
+
local split ;
if [ CHECK_IF_FILE [ path.native $(source) ] ]
{
@@ -350,30 +372,47 @@ rule link-recursively ( target : source : no-recurse ? )
split = true ;
if ! $(.split-dirs.$(target))
{
+ if [ READLINK [ path.native $(target) ] ]
+ {
+ if ! $(deleted) {
+ do-rm $(target) ;
+ deleted = true ;
+ .deleted-dirs.$(target) = true ;
+ }
+ }
local .current-target = $(.known-dirs.base.$(target)) ;
for local s in $(.known-dirs.$(target))
{
local t = [ path.join $(target) [ path.basename $(s) ] ] ;
- link-recursively $(t) : $(s) : flat ;
- }
- if [ READLINK [ path.native $(target) ] ]
- {
- do-rm $(target) ;
+ link-recursively $(t) : $(s) : flat : $(deleted) ;
}
do-split $(target) ;
- .split-dirs.$(target) = true ;
+ }
+ else if $(.deleted-dirs.$(target))
+ {
+ deleted = true ;
}
}
- else if [ path.exists [ path.native $(target) ] ]
+ else if [ path.exists [ path.native $(target) ] ] && ! $(deleted)
{
local link-target = [ READLINK [ path.native $(target) ] ] ;
if $(link-target)
{
local full-path =
[ path.root [ path.make $(link-target) ] [ path.parent $(target) ] ] ;
- if $(full-path) != $(source)
+ # HACK: Take advantage of the fact that path.glob
+ # normalizes its arguments. If full-path and
+ # source are different, but both are empty, they
+ # will compare equal, but that's okay because
+ # for the purposes of this module, empty directories
+ # are equivalent.
+ if [ path.glob $(full-path) : * ] != [ path.glob $(source) : * ]
{
- do-rm $(target) ;
+ if ! $(deleted) {
+ do-rm $(target) ;
+ deleted = true ;
+ .deleted-dirs.$(target) = true ;
+ }
do-split $(target) ;
split = true ;
}
@@ -388,7 +427,11 @@ rule link-recursively ( target : source : no-recurse ? )
{
if [ READLINK [ path.native $(target) ] ]
{
- do-rm $(target) ;
+ if ! $(deleted) {
+ do-rm $(target) ;
+ deleted = true ;
+ .deleted-dirs.$(target) = true ;
+ }
}
do-split $(target) ;
split = true ;
@@ -398,9 +441,14 @@ rule link-recursively ( target : source : no-recurse ? )
do-link $(target) : $(source) ;
}
+ if $(split)
+ {
+ .split-dirs.$(target) = true ;
+ }
+
if ! $(no-recurse)
{
- link-entries $(target) : [ path.glob $(source) : * ] : $(split) ;
+ link-entries $(target) : [ path.glob $(source) : * ] : $(split) : $(deleted) ;
}
}
@@ -433,7 +481,6 @@ rule mklink
[ path.join [ path.root [ path.make $(source-path[1]) ] [ path.pwd ] ] [ path.make $(>:G=) ] ] ] ;
PATH_TO_SOURCE on $(<) = [ path.native $(relative-path) ] ;
- NOUPDATE $(<) ;
}
if [ os.name ] = NT
diff --git a/tools/build/src/tools/python.jam b/tools/build/src/tools/python.jam
index 783b9cee81..1a41a1e865 100644
--- a/tools/build/src/tools/python.jam
+++ b/tools/build/src/tools/python.jam
@@ -639,6 +639,7 @@ local rule system-library-dependencies ( target-os )
case qnx* : return ;
case darwin : return ;
case windows : return ;
+ case haiku : return ;
case hpux : return <library>rt ;
case *bsd : return <library>pthread <toolset>gcc:<library>util ;
diff --git a/tools/build/src/tools/sun.jam b/tools/build/src/tools/sun.jam
index 0ca927d3e4..ea6f7e36ab 100644
--- a/tools/build/src/tools/sun.jam
+++ b/tools/build/src/tools/sun.jam
@@ -18,10 +18,31 @@ generators.override sun.prebuilt : builtin.lib-generator ;
generators.override sun.prebuilt : builtin.prebuilt ;
generators.override sun.searched-lib-generator : searched-lib-generator ;
+#
+# There are no less than 5 standard library options:
+# 1) The default, which uses an old version of the Rogue Wave std lib,
+# also available via -std=sun03.
+# 2) C++03 mode + STLport, selected via the -library option.
+# 3) C++03 mode plus the Apache std lib, selected via the -library option.
+# 4) C++03 or C++11 in g++ compatibility mode, and GNU libstdc++3, selected via -std=c++03/11.
+#
+# Note that the -std, -library and -compat compiler switches appear to be largely mutually
+# incompatible, and that going forward the -std switch seems to be the prefered one.
+#
+# See http://docs.oracle.com/cd/E37069_01/html/E37075/bkamw.html#OSSCPgnaof
+#
feature.extend stdlib : sun-stlport ;
feature.compose <stdlib>sun-stlport
: <cxxflags>-library=stlport4 <linkflags>-library=stlport4
;
+feature.extend stdlib : apache ;
+feature.compose <stdlib>apache
+ : <cxxflags>-library=stdcxx4 <linkflags>-library=stdcxx4
+ ;
+feature.extend stdlib : gnu ;
+feature.compose <stdlib>gnu
+ : <cxxflags>-std=c++03 <linkflags>-std=c++03
+ ;
rule init ( version ? : command * : options * )
{
diff --git a/tools/build/src/tools/testing-aux.jam b/tools/build/src/tools/testing-aux.jam
index 64ba003874..5c7a267da6 100644
--- a/tools/build/src/tools/testing-aux.jam
+++ b/tools/build/src/tools/testing-aux.jam
@@ -70,7 +70,7 @@ rule capture-output ( target : source : properties * : targets-to-remove * )
# OK if it cannot find the target or updating rule.
NOCARE $(target:S=.output) ;
- # This has two-fold effect. First it adds input files to the dependendency
+ # This has two-fold effect. First it adds input files to the dependency
# graph, preventing a warning. Second, it causes input files to be bound
# before target is created. Therefore, they are bound using SEARCH setting
# on them and not LOCATE setting of $(target), as in other case (due to jam
diff --git a/tools/build/src/tools/testing.jam b/tools/build/src/tools/testing.jam
index e62c378ab9..adb3d3e7ec 100644
--- a/tools/build/src/tools/testing.jam
+++ b/tools/build/src/tools/testing.jam
@@ -1,6 +1,6 @@
# Copyright 2005 Dave Abrahams
# Copyright 2002, 2003, 2004, 2005, 2006 Vladimir Prus
-# Copyright 2014 Rene Rivera
+# Copyright 2014-2015 Rene Rivera
# Copyright 2014 Microsoft Corporation
# Distributed under the Boost Software License, Version 1.0.
# (See accompanying file LICENSE_1_0.txt or http://www.boost.org/LICENSE_1_0.txt)
@@ -433,7 +433,7 @@ rule capture-output ( target : source : properties * : targets-to-remove * )
# OK if it cannot find the target or updating rule.
NOCARE $(target:S=.output) ;
- # This has two-fold effect. First it adds input files to the dependendency
+ # This has two-fold effect. First it adds input files to the dependency
# graph, preventing a warning. Second, it causes input files to be bound
# before target is created. Therefore, they are bound using SEARCH setting
# on them and not LOCATE setting of $(target), as in other case (due to jam
@@ -537,6 +537,7 @@ if [ os.name ] = NT
.SHELL_SET = "set " ;
.CATENATE = type ;
.CP = copy ;
+ .NULLIN = ;
}
else
{
@@ -550,6 +551,7 @@ else
.SHELL_SET = "" ;
.CATENATE = cat ;
.CP = cp ;
+ .NULLIN = "<" "/dev/null" ;
}
@@ -571,7 +573,7 @@ actions capture-output bind INPUT_FILES output-file
echo Skipping test execution due to testing.execute=off
exit 0
$(.ENDIF)
- $(LAUNCHER) "$(>)" $(ARGS) "$(INPUT_FILES)" > "$(output-file)" 2>&1
+ $(LAUNCHER) "$(>)" $(ARGS) "$(INPUT_FILES)" > "$(output-file)" 2>&1 $(.NULLIN)
$(.SET_STATUS)
$(.RUN_OUTPUT_NL) >> "$(output-file)"
echo EXIT STATUS: $(.STATUS) >> "$(output-file)"
diff --git a/tools/build/src/util/__init__.py b/tools/build/src/util/__init__.py
index f80fe70e90..e6a277af77 100644
--- a/tools/build/src/util/__init__.py
+++ b/tools/build/src/util/__init__.py
@@ -3,6 +3,9 @@ import bjam
import re
import types
+from itertools import groupby
+
+
# Decorator the specifies bjam-side prototype for a Python function
def bjam_signature(s):
@@ -134,3 +137,46 @@ def stem(filename):
return filename[0:i]
else:
return filename
+
+
+def abbreviate_dashed(s):
+ """Abbreviates each part of string that is delimited by a '-'."""
+ r = []
+ for part in s.split('-'):
+ r.append(abbreviate(part))
+ return '-'.join(r)
+
+
+def abbreviate(s):
+ """Apply a set of standard transformations to string to produce an
+ abbreviation no more than 4 characters long.
+ """
+ if not s:
+ return ''
+ # check the cache
+ if s in abbreviate.abbreviations:
+ return abbreviate.abbreviations[s]
+ # anything less than 4 characters doesn't need
+ # an abbreviation
+ if len(s) < 4:
+ # update cache
+ abbreviate.abbreviations[s] = s
+ return s
+ # save the first character in case it's a vowel
+ s1 = s[0]
+ s2 = s[1:]
+ if s.endswith('ing'):
+ # strip off the 'ing'
+ s2 = s2[:-3]
+ # reduce all doubled characters to one
+ s2 = ''.join(c for c, _ in groupby(s2))
+ # remove all vowels
+ s2 = s2.translate(None, "AEIOUaeiou")
+ # shorten remaining consonants to 4 characters
+ # and add the first char back to the front
+ s2 = s1 + s2[:4]
+ # update cache
+ abbreviate.abbreviations[s] = s2
+ return s2
+# maps key to its abbreviated form
+abbreviate.abbreviations = {}
diff --git a/tools/build/src/util/doc.jam b/tools/build/src/util/doc.jam
index 702cab4b5a..733fa7c976 100644
--- a/tools/build/src/util/doc.jam
+++ b/tools/build/src/util/doc.jam
@@ -264,7 +264,7 @@ local rule print-help-top ( )
print.list-item "-a Rebuild everything" ;
print.list-item "-n Don't execute the commands, only print them" ;
print.list-item "-d+2 Show commands as they are executed" ;
- print.list-item "-d0 Supress all informational messages" ;
+ print.list-item "-d0 Suppress all informational messages" ;
print.list-item "-q Stop at first error" ;
print.list-item "--reconfigure Rerun all configuration checks" ;
print.list-item "--debug-configuration Diagnose configuration" ;
diff --git a/tools/build/src/util/order.jam b/tools/build/src/util/order.jam
index a74fc8c849..793c961306 100644
--- a/tools/build/src/util/order.jam
+++ b/tools/build/src/util/order.jam
@@ -166,4 +166,8 @@ rule __test__ ( )
$(c1).add-pair x l2 ;
assert.result l1 l2 : $(c1).order l2 l1 ;
assert.result l1 l2 l3 : $(c1).order l2 l3 l1 ;
+
+ # The output should be stable for unconstrained
+ # elements.
+ assert.result l4 l5 : $(c1).order l4 l5 ;
}
diff --git a/tools/build/src/util/os.jam b/tools/build/src/util/os.jam
index daef27f77f..818b0b4231 100644
--- a/tools/build/src/util/os.jam
+++ b/tools/build/src/util/os.jam
@@ -75,6 +75,8 @@ if $(.name) = NT
.shared-library-path-variable-AIX = LIBPATH ;
+.shared-library-path-variable-HAIKU = LIBRARY_PATH ;
+
# Default constants
.shared-library-path-variable = LD_LIBRARY_PATH ;
.path-separator = ":" ;
diff --git a/tools/build/test/default_build.py b/tools/build/test/default_build.py
index 6ad696ef07..f6c8302109 100644
--- a/tools/build/test/default_build.py
+++ b/tools/build/test/default_build.py
@@ -19,7 +19,7 @@ t.run_build_system()
t.expect_addition("bin/$toolset/debug/a.exe")
t.expect_addition("bin/$toolset/release/a.exe")
-# Check that explictly-specified build variant supresses default-build.
+# Check that explictly-specified build variant suppresses default-build.
t.rm("bin")
t.run_build_system(["release"])
t.expect_addition(BoostBuild.List("bin/$toolset/release/") * "a.exe a.obj")
diff --git a/tools/build/test/link.py b/tools/build/test/link.py
index 0d63615b78..e25b702035 100755
--- a/tools/build/test/link.py
+++ b/tools/build/test/link.py
@@ -1,6 +1,6 @@
#!/usr/bin/python
-# Copyright 2004 Vladimir Prus
+# Copyright 2014-2015 Steven Watanabe
# Distributed under the Boost Software License, Version 1.0.
# (See accompanying file LICENSE_1_0.txt or http://www.boost.org/LICENSE_1_0.txt)
@@ -57,7 +57,7 @@ def test_merge_two():
t.expect_nothing_more()
t.cleanup()
-def test_merge_existing():
+def test_merge_existing(group1, group2):
"""Test adding a link when a different symlink already exists"""
t = BoostBuild.Tester()
t.write("jamroot.jam", """\
@@ -69,25 +69,43 @@ def test_merge_existing():
t.write("src/dir1/include/file1.h", "file1")
t.write("src/dir2/include/file2.h", "file2")
- t.run_build_system(["dir1-link"])
+ t.run_build_system(group1)
- t.expect_addition("include/file1.h")
- t.expect_content("include/file1.h", "file1")
+ if "dir1-link" in group1:
+ t.expect_addition("include/file1.h")
+ t.expect_content("include/file1.h", "file1")
+ if "dir2-link" in group1:
+ t.expect_addition("include/file2.h")
+ t.expect_content("include/file2.h", "file2")
ignore_config(t)
t.expect_nothing_more()
- t.run_build_system(["dir2-link"])
+ t.run_build_system(group2)
- t.expect_addition("include/file2.h")
- t.expect_content("include/file2.h", "file2")
- # If include is a symlink to src/dir1/include, then
- # we have to delete it and add a directory.
- t.ignore_removal("include/file1.h")
+ if "dir1-link" in group2:
+ if "dir1-link" not in group1:
+ t.expect_addition("include/file1.h")
+ t.expect_content("include/file1.h", "file1")
+ else:
+ t.ignore_removal("include/file1.h")
+
+ if "dir2-link" in group2:
+ if "dir2-link" not in group1:
+ t.expect_addition("include/file2.h")
+ t.expect_content("include/file2.h", "file2")
+ else:
+ t.ignore_removal("include/file2.h")
ignore_config(t)
t.expect_nothing_more()
t.cleanup()
+def test_merge_existing_all():
+ test_merge_existing(["dir1-link"], ["dir2-link"])
+ test_merge_existing(["dir2-link"], ["dir1-link"])
+ test_merge_existing(["dir1-link"], ["dir1-link", "dir2-link"])
+ test_merge_existing(["dir2-link"], ["dir1-link", "dir2-link"])
+
def test_merge_recursive():
"Test merging several directories including common prefixes"
t = BoostBuild.Tester()
@@ -118,6 +136,48 @@ def test_merge_recursive():
t.cleanup()
+def test_merge_recursive_existing(group1, group2):
+ "Test merging several directories including common prefixes."
+ t = BoostBuild.Tester()
+ t.write("jamroot.jam", """\
+ import link ;
+ link-directory dir1-link : src/dir1/include : <location>. ;
+ link-directory dir2-link : src/dir2/include : <location>. ;
+ link-directory dir3-link : src/dir3/include : <location>. ;
+ link-directory dir4-link : src/dir4/include : <location>. ;
+ link-directory dir5-link : src/dir5/include : <location>. ;
+ """)
+
+ t.write("src/dir1/include/file1.h", "file1")
+ t.write("src/dir2/include/nested/file2.h", "file2")
+ t.write("src/dir3/include/nested/file3.h", "file3")
+ t.write("src/dir4/include/nested/xxx/yyy/file4.h", "file4")
+ t.write("src/dir5/include/nested/xxx/yyy/file5.h", "file5")
+
+ t.run_build_system(group1)
+ t.run_build_system(group2 + ["-d+12"])
+
+ t.ignore_addition("include/file1.h")
+ t.ignore_addition("include/nested/file2.h")
+ t.ignore_addition("include/nested/file3.h")
+ t.ignore_addition("include/nested/xxx/yyy/file4.h")
+ t.ignore_addition("include/nested/xxx/yyy/file5.h")
+ ignore_config(t)
+ t.expect_nothing_more()
+
+ t.cleanup()
+
+def test_merge_recursive_existing_all():
+ # These should create a link
+ test_merge_recursive_existing(["dir2-link"], ["dir2-link", "dir1-link"])
+ test_merge_recursive_existing(["dir2-link"], ["dir1-link", "dir2-link"])
+ # These should create a directory
+ test_merge_recursive_existing(["dir2-link"], ["dir2-link", "dir3-link"])
+ test_merge_recursive_existing(["dir2-link"], ["dir3-link", "dir2-link"])
+ # It should work even if we have to create many intermediate subdirectories
+ test_merge_recursive_existing(["dir4-link"], ["dir4-link", "dir5-link"])
+ test_merge_recursive_existing(["dir4-link"], ["dir5-link", "dir4-link"])
+
def test_include_scan():
"""Make sure that the #include scanner finds the headers"""
t = BoostBuild.Tester()
@@ -147,8 +207,128 @@ def test_include_scan():
t.cleanup()
+def test_include_scan_merge_existing():
+ """Make sure that files are replaced if needed when merging in
+ a new directory"""
+ t = BoostBuild.Tester()
+
+ t.write("jamroot.jam", """\
+ import link ;
+ link-directory dir1-link : src/dir1/include : <location>. ;
+ link-directory dir2-link : src/dir2/include : <location>. ;
+ obj test : test.cpp :
+ <include>include
+ <implicit-dependency>dir1-link
+ <implicit-dependency>dir2-link ;
+ """)
+
+ t.write("src/dir1/include/file1.h", "int f();")
+ t.write("src/dir2/include/file2.h", "#include <file1.h>")
+ t.write("test.cpp", """\
+ #include <file2.h>
+ int main() { f(); }
+ """)
+
+ t.run_build_system(["dir2-link"])
+
+ t.run_build_system(["test"])
+ t.expect_addition("include/file1.h")
+ t.expect_addition("bin/$toolset/debug/test.obj")
+ t.expect_nothing_more()
+
+ t.cleanup()
+
+def test_update_file_link(params1, params2):
+ """Tests the behavior of updates when changing the link mode.
+ The link needs to be updated iff the original was a copy."""
+ t = BoostBuild.Tester()
+
+ t.write("jamroot.jam", """\
+ import link ;
+ import project ;
+ import property-set ;
+ import modules ;
+
+ if --no-symlinks in [ modules.peek : ARGV ]
+ {
+ modules.poke link : .can-symlink : false ;
+ }
+
+ if --no-hardlinks in [ modules.peek : ARGV ]
+ {
+ modules.poke link : .can-hardlink : false ;
+ }
+
+ .project = [ project.current ] ;
+ .has-files = [ glob include/file1.h ] ;
+
+ rule can-link ( properties * ) {
+ if ( ! [ link.can-symlink $(.project) : [ property-set.empty ] ] ) &&
+ ( ! [ link.can-hardlink $(.project) : [ property-set.empty ] ] )
+ {
+ ECHO links unsupported ;
+ }
+ }
+
+ # Use two directories so that we link to individual files.
+ link-directory dir1-link : src/dir1/include : <location>. ;
+ link-directory dir2-link : src/dir2/include : <location>. ;
+ alias check-linking : : <conditional>@can-link ;
+ """)
+ t.write("src/dir1/include/file1.h", "file1")
+ t.write("src/dir2/include/file2.h", "file2")
+
+ t.run_build_system(params1)
+ ignore_config(t)
+ t.expect_addition("include/file1.h")
+ t.expect_addition("include/file2.h")
+ t.expect_nothing_more()
+
+ using_links = "links unsupported" not in t.stdout()
+
+ t.touch("src/dir1/include/file1.h")
+
+ t.run_build_system(params2)
+ if not using_links: t.expect_touch("include/file1.h")
+ ignore_config(t)
+ t.expect_nothing_more()
+
+ t.cleanup()
+
+def test_update_file_link_all():
+ """Test all nine possible combinations of two runs."""
+ possible_args = [[], ["--no-symlinks"], ["--no-symlinks", "--no-hardlinks"]]
+ for arg1 in possible_args:
+ for arg2 in possible_args:
+ test_update_file_link(arg1, arg2)
+
+def test_error_duplicate():
+ """Test that linking a single file from
+ multiple sources causes a hard error."""
+ t = BoostBuild.Tester()
+
+ t.write("jamroot.jam", """\
+ import link ;
+ link-directory dir1-link : src/dir1/include : <location>. ;
+ link-directory dir2-link : src/dir2/include : <location>. ;
+ """)
+
+ t.write("src/dir1/include/file1.h", "file1")
+ t.write("src/dir2/include/file1.h", "file2")
+
+ t.run_build_system(status=1)
+ t.expect_output_lines(
+ ["error: Cannot create link include/file1.h to src/dir2/include/file1.h.",
+ "error: Link previously defined to another file, src/dir1/include/file1.h."])
+
+ t.cleanup()
+
test_basic()
test_merge_two()
-test_merge_existing()
+test_merge_existing_all()
test_merge_recursive()
+test_merge_recursive_existing_all()
test_include_scan()
+test_include_scan_merge_existing()
+test_update_file_link_all()
+test_error_duplicate()
diff --git a/tools/build/test/ordered_include.py b/tools/build/test/ordered_include.py
index 2ce955c0da..f91f81fe8a 100644
--- a/tools/build/test/ordered_include.py
+++ b/tools/build/test/ordered_include.py
@@ -8,6 +8,82 @@
import BoostBuild
+def test_default_order():
+ tester = BoostBuild.Tester(use_test_config=False)
+ tester.write("jamroot.jam", """
+
+ import order ;
+ import "class" : new ;
+
+ obj test : test.cpp : <include>b <include>a ;
+ """)
+
+ tester.write("test.cpp", """
+ #include <test.hpp>
+ int main() { f(); }
+ """)
+
+ tester.write("a/test.hpp", """
+ void f();
+ """)
+
+ tester.write("b/test.hpp", """
+ """)
+
+ tester.run_build_system()
+
+ tester.expect_addition("bin/$toolset/debug/test.obj")
+
+ # Check that the dependencies are correct
+ tester.touch("a/test.hpp")
+ tester.run_build_system()
+ tester.expect_touch("bin/$toolset/debug/test.obj")
+ tester.expect_nothing_more()
+
+ tester.touch("b/test.hpp")
+ tester.run_build_system()
+ tester.expect_nothing_more()
+
+ tester.cleanup()
+
+def test_default_order_mixed():
+ tester = BoostBuild.Tester(use_test_config=False)
+ tester.write("jamroot.jam", """
+
+ import order ;
+ import "class" : new ;
+
+ obj test : test.cpp : <include>b <include>a <include>c&&d ;
+ """)
+
+ tester.write("test.cpp", """
+ #include <test.hpp>
+ int main() { f(); }
+ """)
+
+ tester.write("a/test.hpp", """
+ void f();
+ """)
+
+ tester.write("b/test.hpp", """
+ """)
+
+ tester.run_build_system()
+
+ tester.expect_addition("bin/$toolset/debug/test.obj")
+
+ # Check that the dependencies are correct
+ tester.touch("a/test.hpp")
+ tester.run_build_system()
+ tester.expect_touch("bin/$toolset/debug/test.obj")
+ tester.expect_nothing_more()
+
+ tester.touch("b/test.hpp")
+ tester.run_build_system()
+ tester.expect_nothing_more()
+
+ tester.cleanup()
+
def test_basic():
tester = BoostBuild.Tester(use_test_config=False)
tester.write("jamroot.jam", """
@@ -167,6 +243,8 @@ def test_order_graph():
t.cleanup()
+test_default_order()
+test_default_order_mixed()
test_basic()
test_order1()
test_order2()
diff --git a/tools/build/tutorial.html b/tools/build/tutorial.html
new file mode 100644
index 0000000000..c500d20855
--- /dev/null
+++ b/tools/build/tutorial.html
@@ -0,0 +1,1522 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+
+<html>
+<head>
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+
+ <title>Boost.Build tutorial</title>
+
+ <link href="website/bootstrap/css/bootstrap.min.css" rel="stylesheet">
+ <link href="website/index.css" rel="stylesheet">
+
+</head>
+
+<body>
+
+ <div lang="en" class="container">
+
+ <div class="header">
+ <ul>
+ <li><a href="index.html">About</a>
+ <li><a href="doc/html/index.html">Documentation</a>
+ <li><a href="http://github.com/boostorg/build">GitHub</a>
+ </ul>
+ <span><b>Boost.Build Tutorial</b></span>
+ </div>
+
+ <hr class="hrhead">
+ <p>Written by Boris Schäling.</p>
+
+ <div class="toc">
+ <h3>Table of Contents</h3>
+
+ <ul>
+ <li><a href="#introduction">1. Introduction</a></li>
+
+ <li><a href="#buildprocess">2. Build process</a></li>
+
+ <li><a href="#basic_tasks">3. Basic tasks</a></li>
+
+ <li><a href="#project_management">4. Project management</a></li>
+
+ <li><a href="#best_practices">5. Best practices</a></li>
+
+ <li><a href="#rule_reference">6. Rule reference</a></li>
+
+ <li><a href="#feature_reference">7. Feature reference</a></li>
+ </ul>
+ </div>
+
+
+ <hr>
+
+ <h2 id="introduction">Introduction<br><small>Compiler- and
+ platform-independent build system</small></h2>
+
+ <div>
+
+ <p>Boost.Build is a high-level build system which makes it as easy as
+ possible to manage C++ projects. The idea is to specify in
+ configuration files just as much as necessary to build a program. For
+ example it is not required to tell Boost.Build how to use a certain
+ compiler. Boost.Build supports many compilers out of the box and knows
+ how to use them. If you create a configuration file you just need to
+ tell Boost.Build where to find the source files, what the executable
+ should be called and which compiler Boost.Build should use. Boost.Build
+ will then try to find the compiler and automatically build the
+ program.</p>
+
+ <p>As Boost.Build supports many compilers configuration files never
+ contain any compiler-specific options. Configuration files are entirely
+ compiler-independent. Of course it is possible to set options like
+ whether code should be optimized. However these options are written in
+ a language only understood by Boost.Build. Once a compiler is picked to
+ build a program Boost.Build translates options in configuration files
+ to command line options expected by the selected compiler. This makes
+ it possible to write configuration files once and build a program on
+ different platforms with different compilers.</p>
+
+ <p>As nice as it sounds Boost.Build can only be used for C++ and C
+ projects. Boost.Build doesn't know how to use other compilers like a
+ Java compiler. Although Boost.Build is extensible it makes more sense
+ to use a different build system for programs implemented in other
+ programming languages.</p>
+
+ <p>Boost.Build was created to build and install the <a class="link"
+ href="http://www.boost.org/" target="_top">Boost C++ libraries</a>
+ easily with different compilers on different platforms. Although
+ Boost.Build is part of and shipped with the Boost C++ libraries it can
+ be used separately for any C++ or C project. It's even possible to
+ <a class="link" href="http://sourceforge.net/projects/boost/files/"
+ target="_top">download only Boost.Build</a> in case you don't want to
+ use the Boost C++ libraries.</p>
+
+ <p>This article is an introduction to help you using Boost.Build for
+ your own C++ or C projects. It gives you a basic understanding of how
+ Boost.Build works and how you start using it. After reading the article
+ you should not only be able to use Boost.Build for your own projects,
+ it will also be easier to understand the <a class="link" href=
+ "http://www.boost.org/doc/tools/build/doc/html/index.html" target=
+ "_top">Boost.Build documentation</a> as you'll know the big
+ picture.</p>
+ </div>
+ <hr>
+
+ <h2 id="buildprocess">Build process<br>
+ <small>Jamfiles and an interpreter called b2</small>
+ </h2>
+
+ <div>
+
+ <p>The program you use to build a project managed by Boost.Build is
+ called <span class="command"><strong>b2</strong></span>. If you
+ downloaded and built the Boost C++ libraries you have used <span class=
+ "command"><strong>b2</strong></span> already. <span class=
+ "command"><strong>b2</strong></span> looks for configuration files,
+ reads them and builds a project accordingly. It also accepts various
+ command line options which can be useful for example to show all
+ commands executed by <span class="command"><strong>b2</strong></span>
+ to build a project.</p>
+
+ <p>Projects can be large and can consist of many components whose
+ source code is distributed over many directories. Instead of creating
+ one big configuration file for the entire project components typically
+ get their own configuration files. This is no different with
+ Boost.Build: In a large project there will be many configuration files
+ which have to be found and interpreted by <span class=
+ "command"><strong>b2</strong></span>.</p>
+
+ <p>For Boost.Build every directory with a configuration file is a
+ project: If there is a configuration file in a directory something can
+ be built. Whether it's a component in a subdirectory or a software
+ consisting of many components doesn't make a difference for
+ Boost.Build.</p>
+
+ <p>When <span class="command"><strong>b2</strong></span> is started
+ it doesn't run a search for configuration files on the entire file
+ system. It searches for a configuration file in the current working
+ directory only. If it doesn't find a configuration file it doesn't do
+ anything. <span class="command"><strong>b2</strong></span> does not
+ search for configuration files in any other directory if there is no
+ configuration file in the current working directory.</p>
+
+ <p>The configuration file <span class=
+ "command"><strong>b2</strong></span> is looking for is called
+ <code class="filename">Jamfile.jam</code>. Files with the extension
+ <code class="filename">jam</code> are called Jamfiles. If <span class=
+ "command"><strong>b2</strong></span> finds a Jamfile in the current
+ working directory it searches for more Jamfiles in parent directories.
+ <span class="command"><strong>b2</strong></span> climbs up parent
+ directories until it finds a configuration file called <code class=
+ "filename">Jamroot.jam</code>. <code class=
+ "filename">Jamroot.jam</code> is no different from <code class=
+ "filename">Jamfile.jam</code>. It only indicates that <span class=
+ "command"><strong>b2</strong></span> doesn't need to look
+ further.</p>
+
+ <p>The reason why <span class="command"><strong>b2</strong></span>
+ looks for Jamfiles in parent directories is that it makes it possible
+ to group settings. If there are some components which should be built
+ with similar settings they can be stored in a Jamfile in a parent
+ directory which will be automatically used if a component in a
+ subdirectory is built.</p>
+
+ <p>Please note that <span class="command"><strong>b2</strong></span>
+ must find a file called <code class="filename">Jamroot.jam</code>. It
+ is an error if no <code class="filename">Jamroot.jam</code> exists. If
+ <code class="filename">Jamroot.jam</code> is in the current working
+ directory no other file <code class="filename">Jamfile.jam</code> is
+ required. If <code class="filename">Jamroot.jam</code> is in a parent
+ directory a file <code class="filename">Jamfile.jam</code> must exist
+ in the current working directory - otherwise <span class=
+ "command"><strong>b2</strong></span> doesn't do anything.</p>
+
+ <p>If you copy <span class="command"><strong>b2</strong></span> to a
+ directory which contains no Jamfiles and start the program you get an
+ error message. However <span class=
+ "command"><strong>b2</strong></span> doesn't complain that it can't
+ find a Jamfile. It complains about not finding the build system.</p>
+ <pre class="screen">
+Unable to load Boost.Build: could not find "boost-build.jam"
+---------------------------------------------------------------
+Attempted search from C:\Users\Boris\Desktop up to the root
+
+Please consult the documentation at 'http://www.boost.org'.
+</pre>
+
+ <p>The first thing <span class="command"><strong>b2</strong></span>
+ does is not looking for a Jamfile but loading the build system. But
+ what exactly is the build system?</p>
+
+ <p><span class="command"><strong>b2</strong></span> is an
+ interpreter. It doesn't really know how to build anything. What
+ <span class="command"><strong>b2</strong></span> does is interpreting
+ Jamfiles. Boost.Build is really implemented in Jamfiles. And they
+ contain all the logic which makes Boost.Build such a powerful tool. As
+ <span class="command"><strong>b2</strong></span> only does what it
+ reads in Jamfiles it needs to know where to find the Jamfiles
+ Boost.Build is made of.</p>
+
+ <p>When <span class="command"><strong>b2</strong></span> is started
+ it looks for a file <code class="filename">boost-build.jam</code> in
+ the current working directory. If it doesn't find the file it searches
+ all parent directories. This file needs to contain only one line to
+ tell <span class="command"><strong>b2</strong></span> where to find
+ the build system.</p>
+ <pre class="programlisting">
+boost-build C:/boost_1_57_0/tools/build/src ;
+</pre>
+
+ <p>The path after <code class="code">boost-build</code> must refer to a
+ directory which contains a file called <code class=
+ "filename">bootstrap.jam</code>. This is the file <span class=
+ "command"><strong>b2</strong></span> needs to load the build system.
+ As the Boost C++ libraries ship Boost.Build you can refer to the
+ subdirectory <code class="filename">tools/build</code> of the root
+ directory of the Boost C++ libraries. And you can always use a slash as
+ a path separator - even if you are on Windows.</p>
+
+ <p>Please note that there must be a space between the path and the
+ semicolon at the end of the line. It is an error if the space is
+ missing. You'll learn more about the syntax used in Jamfiles later in
+ this article.</p>
+
+ <p>If <span class="command"><strong>b2</strong></span> finds
+ <code class="filename">boost-build.jam</code> it uses the path within
+ the file to load the build system. When the build system is loaded it
+ also prepares itself to use a certain compiler, linker and maybe other
+ tools required to build a project. Boost.Build refers to these programs
+ as a toolset. If no command line option is used to start <span class=
+ "command"><strong>b2</strong></span> the build system tries to find a
+ toolset it can use automatically. On Windows for example it searches
+ for Visual C++. And if it detects that Visual C++ is installed it uses
+ the toolset msvc.</p>
+ <pre class="screen">
+warning: No toolsets are configured.
+warning: Configuring default toolset "msvc".
+warning: If the default is wrong, your build may not work correctly.
+warning: Use the "toolset=xxxxx" option to override our guess.
+warning: For more configuration options, please consult
+warning: http://boost.org/boost-build2/doc/html/bbv2/advanced/configuration.html
+</pre>
+
+ <p>If you start <span class="command"><strong>b2</strong></span>
+ without specifying which toolset should be used you see a warning.
+ <span class="command"><strong>b2</strong></span> tells you which
+ toolset it detected and decided to use. If you want to suppress the
+ warning you must specify the toolset yourself. For example you tell the
+ build system to use Visual C++ with <span class="command"><strong>b2
+ toolset=msvc</strong></span>. If you want GCC to be used you enter
+ <span class="command"><strong>b2 toolset=gcc</strong></span>.</p>
+
+ <p>As of today there are more than 10 toolsets supported. There is a
+ good chance that Boost.Build will work with the compiler you use out of
+ the box.</p>
+
+ <p>Once the build system has been found, loaded and knows which toolset
+ to use - either because you specified one or the build system detected
+ one automatically - <span class="command"><strong>b2</strong></span>
+ looks for a file <code class="filename">Jamfile.jam</code> in the
+ current working directory. If it doesn't find a Jamfile an error
+ message is printed.</p>
+ <pre class="screen">
+error: error: no Jamfile in current directory found, and no target references specified.
+</pre>
+
+ <p>If you create an empty file <code class=
+ "filename">Jamfile.jam</code> and start <span class=
+ "command"><strong>b2</strong></span> again another error message is
+ printed.</p>
+ <pre class="screen">
+error: Could not find parent for project at '.'
+error: Did not find Jamfile.jam or Jamroot.jam in any parent directory.
+</pre>
+
+ <p><span class="command"><strong>b2</strong></span> is ultimately
+ looking for a Jamfile called <code class="filename">Jamroot.jam</code>.
+ If it doesn't exist in the current working directory <span class=
+ "command"><strong>b2</strong></span> expects to find it in a parent
+ directory.</p>
+
+ <p>If you create an empty file <code class=
+ "filename">Jamroot.jam</code> and start <span class=
+ "command"><strong>b2</strong></span> the error message is gone.
+ Obviously there is nothing done by Boost.Build. But now you know how
+ <span class="command"><strong>b2</strong></span> proceeds to build a
+ program and what the minimum Boost.Build configuration looks like.</p>
+
+ <p>Please note that if you work on a small project and you need only
+ one configuration file you can simply call it <code class=
+ "filename">Jamroot.jam</code>. You don't need another file called
+ <code class="filename">Jamfile.jam</code>.</p>
+ </div>
+ <hr>
+
+ <h2 id="basic_tasks">Basic tasks<br>
+ <small>Rules and features</small>
+ </h2>
+
+ <div class="sect1">
+
+ <p>If you look at Jamfiles the syntax might remind you of configuration
+ files used by other build systems. Simple Jamfiles can look like plain
+ old configuration files where for example values seem to be assigned to
+ keys. What is important to understand though is that Jamfiles are
+ really script files. There is a programming language used to write
+ Jamfiles. <span class="command"><strong>b2</strong></span> isn't the
+ core component of Boost.Build which knows how to build programs. The
+ logic of Boost.Build is in the Jamfiles which tell <span class=
+ "command"><strong>b2</strong></span> how to build programs.</p>
+
+ <p>Even though Boost.Build is based on a programming language you don't
+ need to think of programming when you create Jamfiles. The syntax of
+ the programming language used by Boost.Build tries to remind you more
+ of creating plain old configuration files. The idea is to have the best
+ of two worlds: A powerful and flexible programming language but a
+ simple syntax you might be familiar with from other build systems.</p>
+
+ <p>This article doesn't introduce you into the programming language
+ Boost.Build is based on. The programming language is proprietary and
+ not really a joy to use. It is no competitor to popular scripting
+ languages like Javascript or Python. The developers of Boost.Build
+ recognize it and work on another version of Boost.Build based on
+ Python. However all of this shouldn't matter to developers who plan to
+ manage their projects with Boost.Build. It helps to understand the
+ syntax of Jamfiles better once one realizes that there is a programming
+ language inside Boost.Build. But it's not required to learn the details
+ of the programming language.</p>
+
+ <p>Let's look at a simple Jamfile which can be used to build an
+ executable <span class="command"><strong>hello</strong></span> from a
+ source file <code class="filename">hello.cpp</code>.</p>
+ <pre class="programlisting">
+exe hello : hello.cpp ;
+</pre>
+
+ <p>Boost.Build provides a lot of built-in rules and <code class=
+ "code">exe</code> is one of them. While the documentation of
+ Boost.Build refers to <code class="code">exe</code> as a rule you know
+ already that the above Jamfile is actually built using a programming
+ language. As it turns out rules are simply functions. And the Jamfile
+ above contains a function call.</p>
+
+ <p>For the majority of tasks which are typically required to build
+ programs Boost.Build provides predefined rules - or functions if you
+ like. As with functions in other programming languages it is possible
+ to pass parameters. In the Jamfile above the function <code class=
+ "code">exe</code> is called with the two parameters hello and
+ hello.cpp.</p>
+
+ <p>The programming language Boost.Build is based on knows only one data
+ type: Everything is a list of strings. A list can be empty or contain
+ one or more strings. In the Jamfile above the function <code class=
+ "code">exe</code> is called with two parameters each one a list
+ containing one string.</p>
+ <pre class="programlisting">
+exe "hello" : "hello.cpp" ;
+</pre>
+
+ <p>It is possible to use quotes. It's not necessary though as after all
+ every item in a list has the data type string anyway. Quotes are only
+ used if parameters contain spaces.</p>
+
+ <p>While there is no special delimiter between a rule and the first
+ parameter a colon must be used to separate other parameters. It is also
+ required to end a line with a semicolon just as you are used to from
+ C++.</p>
+
+ <p>Please note that the programming language of Boost.Build requires
+ that there is a space around all tokens. For example there must be a
+ space on the left and on the right of the colon and there must be a
+ space on the left of the semicolon. Without spaces around tokens
+ <span class="command"><strong>b2</strong></span> won't be able to
+ parse Jamfiles correctly.</p>
+
+ <p>If <span class="command"><strong>b2</strong></span> is run in a
+ directory which contains the Jamfile above and a source file
+ <code class="filename">hello.cpp</code>, and if the msvc toolset is
+ used on Windows a subdirectory <code class=
+ "filename">bin\msvc-9.0\debug</code> is created to build an executable
+ <code class="filename">hello.exe</code>.</p>
+ <pre class="screen">
+...found 9 targets...
+...updating 5 targets...
+common.mkdir bin
+common.mkdir bin\msvc-9.0
+common.mkdir bin\msvc-9.0\debug
+compile-c-c++ bin\msvc-9.0\debug\hello.obj
+hello.cpp
+msvc.link bin\msvc-9.0\debug\hello.exe
+msvc.manifest bin\msvc-9.0\debug\hello.exe
+...updated 5 targets...
+</pre>
+
+ <p>As you see it takes only one line in a Jamfile to build an
+ executable from a source file. And if the program is built on Windows
+ there is even the correct file extension <code class=
+ "filename">exe</code> appended.</p>
+
+ <p>The main advantage of Boost.Build is that you specify just as much
+ as necessary for a build system to know how to build a program.
+ Anything Boost.Build can do automatically is done automatically. You
+ don't need to detect the platform a program is built on to decide if a
+ file extension like <code class="filename">exe</code> should be
+ appended or not. And you don't need to specify how a compiler like
+ Visual C++ has actually to be invoked to compile source code.</p>
+
+ <p>Boost.Build supports a lot of toolsets out of the box. As a program
+ can be built using different toolsets Boost.Build uses toolset-specific
+ directories. This way it is possible to build a program with different
+ toolsets without a toolset constantly overwriting files produced by
+ another toolset.</p>
+
+ <p>There are not only toolset-specific directories but also
+ variant-specific directories. A variant is a debug or release version
+ of a program. For each variant another directory is used to build a
+ program - again for the reason not to overwrite files produced by
+ another variant. By default the debug variant is used. That's why the
+ subdirectory <code class="filename">bin\msvc-9.0\debug</code> was
+ created. If you want a release version to be created you can specify
+ the variant on the command line with <span class="command"><strong>b2
+ variant=release</strong></span> or, even simpler, <span class="command">
+ <strong>b2 release </strong></span>.</p>
+ <pre class="screen">
+...found 9 targets...
+...updating 5 targets...
+common.mkdir bin
+common.mkdir bin\msvc-9.0
+common.mkdir bin\msvc-9.0\release
+compile-c-c++ bin\msvc-9.0\release\hello.obj
+hello.cpp
+msvc.link bin\msvc-9.0\release\hello.exe
+msvc.manifest bin\msvc-9.0\release\hello.exe
+...updated 5 targets...
+</pre>
+
+ <p>With the variant set to release the subdirectory <code class=
+ "filename">bin\msvc-9.0\release</code> is used to create the executable
+ <code class="filename">hello.exe</code>.</p>
+
+ <p>Choosing a variant is something which is done so often that it's
+ sufficient to enter <span class="command"><strong>b2
+ release</strong></span>. Boost.Build figures out that release is meant
+ to choose the variant.</p>
+
+ <p>If you don't want to specify the variant on the command line but
+ want to build release versions of <code class=
+ "filename">hello.exe</code> by default the Jamfile has to be
+ changed.</p>
+ <pre class="programlisting">
+exe hello : hello.cpp : &lt;variant&gt;release ;
+</pre>
+
+ <p>The <code class="code">exe</code> rule (or, if you prefer, function)
+ accepts a few more parameters which are optional. The third parameter
+ is a list of requirements. You can think of command line options which
+ are always set and passed to commands run to build an executable.</p>
+
+ <p>In order to force a release version to be built the variant has to
+ be set to release just as it was done before on the command line. The
+ syntax to set the variant in a Jamfile is different though.</p>
+
+ <p>Boost.Build defines features which look like XML tags. One of the
+ features supported by Boost.Build is <code class=
+ "code">&lt;variant&gt;</code>. If a feature should be set to a value it
+ has to be put next to it - without a space in between. Some features
+ are free which means they can be set to any value you want.
+ <code class="code">&lt;variant&gt;</code> is a non-free feature as it
+ can only be set to debug or release. No other value is allowed. If
+ another value is set <code class="code">b2</code> will report an
+ error.</p>
+
+ <p>If you run <code class="code">b2 variant=debug</code> and try to
+ build a debug version of <code class="filename">hello.exe</code> it
+ won't work as the Jamfile contains the requirement that <code class=
+ "filename">hello.exe</code> is built as a release version. If you want
+ to be able to overwrite the feature on the command line you have to
+ pass the feature as the fourth parameter instead of the third.</p>
+ <pre class="programlisting">
+exe hello : hello.cpp : : &lt;variant&gt;release ;
+</pre>
+
+ <p>The fourth parameter contains features which are used by default but
+ which can be overwritten.</p>
+
+ <p>If you want both a debug and a release version of <code class=
+ "filename">hello.exe</code> to be built by default the <code class=
+ "code">&lt;variant&gt;</code> feature needs to be set twice to debug
+ and release.</p>
+ <pre class="programlisting">
+exe hello : hello.cpp : : &lt;variant&gt;debug &lt;variant&gt;release ;
+</pre>
+
+ <p>It is important that <code class="code">&lt;variant&gt;</code> is
+ set twice in the fourth parameter where default values are specified.
+ If it was the third parameter where requirements are specified
+ <span class="command"><strong>b2</strong></span> would report an
+ error. It is possible to set a feature multiple times in the
+ requirements but only if values are not mutually exclusive. As a
+ program can't be a debug and a release version at the same time
+ <code class="code">&lt;variant&gt;</code> must be set in the default
+ values. Only then Boost.Build understands that two versions of
+ <code class="filename">hello.exe</code> should be built.</p>
+ <pre class="programlisting">
+exe hello : hello.cpp : &lt;define&gt;WIN32 &lt;define&gt;_WIN32 : &lt;variant&gt;debug &lt;variant&gt;release ;
+</pre>
+
+ <p>The above Jamfile is an example for setting a feature multiple times
+ in the requirements. The feature <code class=
+ "code">&lt;define&gt;</code> is used to define preprocessor directives.
+ It is no problem to define several preprocessor directives. Thus there
+ are now two versions of <code class="filename">hello.exe</code> built
+ both with the two directives <code class="code">WIN32</code> and
+ <code class="code">_WIN32</code> defined.</p>
+ <pre class="programlisting">
+exe hello : hello.cpp : : &lt;variant&gt;debug &lt;variant&gt;release &lt;define&gt;WIN32 &lt;define&gt;_WIN32 ;
+</pre>
+
+ <p>If the definitions are moved to the fourth parameter and you run
+ <span class="command"><strong>b2</strong></span> you get the same two
+ versions of <code class="filename">hello.exe</code> built with the two
+ directives <code class="code">WIN32</code> and <code class=
+ "code">_WIN32</code>. As <code class="code">&lt;define&gt;</code> does
+ not expect mutually exclusive values there is no other set of
+ executables generated. The only difference between this Jamfile and the
+ previous one is that directives passed in the fourth parameter are
+ default values which can be dropped while anything passed as a third
+ parameter is an immutable requirement.</p>
+
+ <p>Here is another example of a feature whose values are mutually
+ exclusive.</p>
+ <pre class="programlisting">
+exe hello : hello.cpp : : &lt;variant&gt;debug &lt;variant&gt;release &lt;optimization&gt;speed &lt;optimization&gt;off ;
+</pre>
+
+ <p><span class="command"><strong>b2</strong></span> creates four
+ versions of <code class="filename">hello.exe</code>: A debug version
+ optimized for speed, a debug version with no optimization, a release
+ version optimized for speed and a release version with no optimization.
+ All of these versions are built in seperate directories which are
+ automatically created.</p>
+
+ <p>So far the only rule used was <code class="code">exe</code>. But of
+ course Boost.Build provides many more built-in rules. Another important
+ rule is <code class="code">lib</code>. It is used to build a
+ library.</p>
+ <pre class="programlisting">
+lib world : world.cpp ;
+</pre>
+
+ <p>The above Jamfile builds a shared library from the source file
+ <code class="filename">world.cpp</code>. On Windows a file <code class=
+ "filename">world.dll</code> is created. The usual file extension is
+ again automatically appended by Boost.Build.</p>
+
+ <p>By default a shared library is built. If you want a static library
+ to be generated you set the <code class="code">&lt;link&gt;</code>
+ feature to static.</p>
+ <pre class="programlisting">
+lib world : world.cpp : &lt;link&gt;static ;
+</pre>
+
+ <p>Another useful rule is <code class="code">install</code>. After
+ executables and libraries have been built this rule can be used to
+ install them.</p>
+ <pre class="programlisting">
+exe hello : hello.cpp ;
+install "C:/Program Files/hello" : hello ;
+</pre>
+
+ <p>The above Jamfile installs the executable <code class=
+ "filename">hello.exe</code> to the directory <code class=
+ "filename">C:\Program Files\hello</code>. The second parameter hello is
+ a reference to the target hello defined in the first line. Please note
+ that the path has to be put in quotes as it contains a space.</p>
+
+ <p>Here concepts known from other build systems shine through: Instead
+ of thinking of function calls every line defines a target. Dependencies
+ are created by referencing other targets. That's how Boost.Build knows
+ in what order it should build targets.</p>
+
+ <p>Typically the rule <code class="code">install</code> is written
+ differently though. Instead of passing the installation directory as
+ the first parameter a feature <code class=
+ "code">&lt;location&gt;</code> is used to set the installation
+ directory in the third parameter.</p>
+ <pre class="programlisting">
+exe hello : hello.cpp ;
+install install-bin : hello : &lt;location&gt;"C:/Program Files/hello" ;
+</pre>
+
+ <p>The main reason why it's better to use <code class=
+ "code">&lt;location&gt;</code> is that the first parameter always
+ defines a target. Other rules might refer to a target. That's why it is
+ a good idea to use target names which don't have to be changed later.
+ Imagine a program should be installed to a different directory. It's
+ easier to change the installation directory if the <code class=
+ "code">&lt;location&gt;</code> feature has been used as no other rules
+ which might refer to install-bin have to be updated.</p>
+
+ <p>There is another reason why it makes sense to use a feature.
+ Boost.Build supports conditional properties which make it possible to
+ use different installation directories depending on the platform a
+ program is built on.</p>
+ <pre class="programlisting">
+exe hello : hello.cpp ;
+install install-bin : hello : &lt;target-os&gt;windows:&lt;location&gt;"C:/Program Files/hello" &lt;target-os&gt;linux:&lt;location&gt;/usr/local/bin ;
+</pre>
+
+ <p>The feature <code class="code">&lt;target-os&gt;</code> is another
+ feature with mutually exclusive values. It can be set for example to
+ windows or linux but not to both.</p>
+
+ <p>The feature <code class="code">&lt;location&gt;</code> follows
+ <code class="code">&lt;target-os&gt;</code> only delimited by a colon.
+ Such a construct is called conditional property: Boost.Build selects
+ the installation directory depending on the operating system.</p>
+
+ <p>Of course conditional properties can also be used with other rules.
+ It is for example possible to define different preprocessor directives
+ depending on the variant when building a program or a library.</p>
+
+ <p>Boost.Build provides many more built-in rules. Another useful rule
+ is <code class="code">glob</code> which makes it possible to use
+ wildcards. In a big project with many source files it's then not
+ required to list them all one by one but refer to all of them with
+ <code class="code">glob</code>.</p>
+ <pre class="programlisting">
+exe hello : [ glob *.cpp ] ;
+</pre>
+
+ <p>The above Jamfile contains a nested function call: The result of the
+ rule <code class="code">glob</code> is passed as the second parameter
+ to <code class="code">exe</code>. Due to requirements of the
+ programming language Boost.Build is based on brackets must be used for
+ nested function calls.</p>
+ </div>
+ <hr>
+
+ <h2 id="project_management">Project management<br>
+ <small>Multiple Jamfiles</small>
+ </h2>
+
+ <div>
+
+ <p>In large projects with many Jamfiles it's necessary to connect
+ Jamfiles somehow. There is typically a <code class=
+ "filename">Jamroot.jam</code> file in the project's root directory and
+ many <code class="filename">Jamfile.jam</code> files in subdirectories.
+ If <span class="command"><strong>b2</strong></span> is run in the
+ root directory developers probably expect that the entire project
+ including all components in subdirectories is built. As <span class=
+ "command"><strong>b2</strong></span> looks for Jamfiles in parent
+ directories but not in subdirectories Jamfiles need to refer to
+ Jamfiles in subdirectories explicitly.</p>
+ <pre class="programlisting">
+build-project hello ;
+</pre>
+
+ <p>If a Jamfile looks like the sample above it refers to a Jamfile in a
+ subdirectory <code class="filename">hello</code>. <code class=
+ "code">build-project</code> is a rule which expects a path as its sole
+ parameter. The path is then used to lookup a Jamfile.</p>
+ <pre class="programlisting">
+build-project hello ;
+build-project world ;
+</pre>
+
+ <p>If you want several projects to be built you must use <code class=
+ "code">build-project</code> multiple times.</p>
+
+ <p>Apart from referring to Jamfiles in subdirectories it makes also
+ sense to group options which should be used when building components in
+ a project.</p>
+ <pre class="programlisting">
+project : default-build release ;
+build-project hello ;
+build-project world ;
+</pre>
+
+ <p>The <code class="code">project</code> rule accepts various
+ parameters to set options for the Jamfile in the current working
+ directory and in subdirectories.</p>
+
+ <p>While other rules like <code class="code">exe</code> and
+ <code class="code">lib</code> expect parameters to be passed in a
+ certain order <code class="code">project</code> uses named arguments.
+ In the sample above the argument's name is default-build. That's why it
+ is possible to pass the value release in a very different
+ parameter.</p>
+ <pre class="programlisting">
+project : : : : : : : : : default-build release ;
+build-project hello ;
+build-project world ;
+</pre>
+
+ <p>It doesn't make sense to pass release as the tenth parameter. But it
+ works as <code class="code">project</code> doesn't care about the
+ order. As the tenth parameter is called default-build it is
+ accepted.</p>
+
+ <p><code class="code">project</code> supports only a few named
+ arguments. Another one is requirements which can be used to set options
+ which can't be overwritten.</p>
+ <pre class="programlisting">
+project : requirements &lt;variant&gt;release ;
+build-project hello ;
+build-project world ;
+</pre>
+
+ <p>The Jamfile above builds only release versions. It is not possible
+ to build a debug version anymore as requirements can not be
+ overwritten. That's the difference to the named argument called
+ default-build which was used in the previous sample: It can be
+ overwritten.</p>
+
+ <p>When <code class="code">build-project</code> is used Boost.Build
+ assumes that the parameter is a reference to a subdirectory. We had
+ seen another type of reference before.</p>
+ <pre class="programlisting">
+exe hello : hello.cpp ;
+install install-bin : hello : &lt;location&gt;"C:/Program Files/hello" ;
+</pre>
+
+ <p>In the above Jamfile the <code class="code">install</code> rule
+ refers to the target hello defined in the first line.</p>
+
+ <p>In a large project it might be necessary to refer to targets which
+ are defined in Jamfiles in other directories. It is possible to
+ concatenate a path to a Jamfile and a target with a double slash.</p>
+ <pre class="programlisting">
+install install-bin : subdir//hello : &lt;location&gt;"C:/Program Files/hello" ;
+</pre>
+
+ <p>Now the <code class="code">install</code> rule refers to a target
+ hello in a Jamfile in the subdirectory <code class=
+ "filename">subdir</code>.</p>
+
+ <p>Let's assume that the executable <span class=
+ "command"><strong>hello</strong></span> depends on a library in another
+ directory <code class="filename">world</code>. The library is also
+ built with Boost.Build using the rule <code class=
+ "code">lib</code>.</p>
+ <pre class="programlisting">
+lib world : world.cpp ;
+</pre>
+
+ <p>In the Jamfile to build the executable a reference is required to
+ the Jamfile of the library. It's not necessary to refer to the target
+ world directly as all targets in a Jamfile are built by default.</p>
+ <pre class="programlisting">
+exe hello : hello.cpp world : : &lt;variant&gt;debug &lt;variant&gt;release ;
+</pre>
+
+ <p>The above Jamfile assumes that the library and its Jamfile are in a
+ subdirectory <code class="filename">world</code>.</p>
+
+ <p>When the executable is built there are two versions generated - a
+ debug and a release version. The Jamfile of the library however doesn't
+ set the <code class="code">&lt;variant&gt;</code> feature. But
+ Boost.Build assumes that it should build two versions of the library,
+ too. The feature <code class="code">&lt;variant&gt;</code> is said to
+ be propagated.</p>
+
+ <p>Propagating features simplify project management as you don't need
+ to set the same features in various Jamfiles. However it also makes it
+ a bit more complicated to understand how components are built as it all
+ depends on what features are propagated. You can assume that
+ Boost.Build knows what it should do. But of course it doesn't mean that
+ you easily understand what it does.</p>
+
+ <p>Let's look at another example using the feature <code class=
+ "code">&lt;define&gt;</code>.</p>
+ <pre class="programlisting">
+exe hello : hello.cpp world : &lt;define&gt;WIN32 : &lt;variant&gt;debug &lt;variant&gt;release ;
+</pre>
+
+ <p>The above Jamfile defines a preprocessor directive <code class=
+ "code">WIN32</code> for the program <span class=
+ "command"><strong>hello</strong></span>. But will <code class=
+ "code">WIN32</code> be defined for the library, too?</p>
+
+ <p>It won't as <code class="code">&lt;define&gt;</code> is not a
+ propagating feature. If you wonder how you should know: The only way to
+ find out which features are propagated is to lookup the
+ documentation.</p>
+
+ <p>If you installed the Boost C++ libraries you probably want to link
+ against some of them. You somehow have to add a dependency to the
+ respective Boost C++ library to your project's Jamfile. If you didn't
+ delete the directories you had unzipped the source files of the Boost
+ C++ libraries to you can refer to a target in a Jamfile in the root
+ directory.</p>
+ <pre class="programlisting">
+exe hello : hello.cpp world C:/boost_1_39_0//filesystem/ ;
+</pre>
+
+ <p>Now <span class="command"><strong>hello</strong></span> also depends
+ on the Boost.Filesystem library. As the target filesystem is defined in
+ a Jamfile in the root directory of the Boost C++ libraries the
+ <code class="code">exe</code> rule can refer to it. Not only will the
+ appropriate Boost C++ libraries be linked - an include directory is
+ also passed to the compiler to find the header files. If <code class=
+ "filename">hello.cpp</code> includes <code class=
+ "filename">boost/filesystem.hpp</code> the header file will be
+ found.</p>
+
+ <p>In the above Jamfile the path to the root directory of the Boost C++
+ libraries is hardcoded. Somehow <span class=
+ "command"><strong>b2</strong></span> needs to know where to find the
+ Boost C++ libraries. But it would be better if the path was hardcoded
+ only once in case several components in a project need to link against
+ some Boost C++ libraries.</p>
+ <pre class="programlisting">
+project : requirements &lt;variant&gt;release ;
+use-project /boost : C:/boost_1_39_0 ;
+build-project hello ;
+build-project world ;
+</pre>
+
+ <p>The <code class="code">use-project</code> rule is used to define an
+ alias to a Jamfile in another directory. Jamfiles in subdirectories use
+ then the alias to refer to a Boost C++ library.</p>
+ <pre class="programlisting">
+exe hello : hello.cpp world /boost//filesystem ;
+</pre>
+
+ <p><span class="command"><strong>b2</strong></span> figures out that
+ <code class="filename">hello.cpp</code> is a source file, <code class=
+ "filename">world</code> a subdirectory and /boost//filesystem a
+ reference to a target filesystem in a Jamfile in <code class=
+ "filename">C:\boost_1_39_0</code>.</p>
+
+ <p>Please note that a reference must start with a slash if it should
+ refer to a project.</p>
+
+ <p>As libraries can be linked differently it is possible to set
+ features relevant to the linker.</p>
+ <pre class="programlisting">
+exe hello : hello.cpp world /boost//filesystem/&lt;link&gt;static ;
+</pre>
+
+ <p>By default libraries are linked dynamically. If libraries should be
+ linked statically the feature <code class="code">&lt;link&gt;</code>
+ has to be set to static.</p>
+
+ <p>Features can be appended with a slash. If more than one feature
+ should be set it is appended with another slash to the previous
+ feature.</p>
+ <pre class="programlisting">
+exe hello : hello.cpp world /boost//filesystem/&lt;link&gt;static/&lt;threading&gt;multi ;
+</pre>
+
+ <p><code class="code">&lt;threading&gt;</code> is another feature which
+ can be set to single or multi. If <span class=
+ "command"><strong>hello</strong></span> should be linked against the
+ thread-safe version of Boost.Filesystem the feature can be set
+ accordingly.</p>
+
+ <p>Linking a Boost C++ library by referencing a Jamfile might not
+ always work. If the Boost C++ libraries were installed differently
+ because they weren't built from source for example there won't be any
+ Jamfile to reference.</p>
+ <pre class="programlisting">
+lib filesystem : : &lt;name&gt;libboost_filesystem &lt;search&gt;C:/libs ;
+exe hello : hello.cpp world filesystem : &lt;include&gt;C:/include ;
+</pre>
+
+ <p>The <code class="code">lib</code> rule can not only be used to build
+ a library from source. It also has to be used to refer to an existing
+ and pre-built library.</p>
+
+ <p>If <code class="code">lib</code> shouldn't build a library from
+ source the second parameter must be empty. Instead in the third
+ parameter the features <code class="code">&lt;name&gt;</code> and
+ <code class="code">&lt;search&gt;</code> are used to specify the
+ library's name and a location where Boost.Build will find the
+ library.</p>
+
+ <p>It is important to specify the library's name in a
+ platform-independent way. For example for the Jamfile above Boost.Build
+ will try to find a file <code class=
+ "filename">libboost_filesystem.lib</code> on Windows. The usual file
+ extension is again automatically appended.</p>
+
+ <p>If you want to reference a file by specifying its exact name you can
+ use the <code class="code">&lt;file&gt;</code> feature.</p>
+
+ <p>If a system library should be referenced for which you can expect
+ Boost.Build to know where to find it the feature <code class=
+ "code">&lt;search&gt;</code> can be dropped.</p>
+
+ <p>It is also possible to use the <code class="code">project</code>
+ rule to make sure all targets in a project are automatically linked
+ against a library.</p>
+ <pre class="programlisting">
+lib filesystem : : &lt;name&gt;libboost_filesystem &lt;search&gt;C:/libs ;
+explicit filesystem ;
+project : requirements &lt;include&gt;C:/include &lt;library&gt;filesystem ;
+lib world : world.cpp ;
+</pre>
+
+ <p>A feature called <code class="code">&lt;library&gt;</code> must be
+ used to add a library dependency to a <code class="code">project</code>
+ rule. <code class="code">&lt;library&gt;</code> must refer to a
+ <code class="code">lib</code> rule which uses the already known
+ features <code class="code">&lt;name&gt;</code> and <code class=
+ "code">&lt;search&gt;</code>.</p>
+
+ <p>It is now very important to make the <code class="code">lib</code>
+ rule explicit. This is done by using the <code class=
+ "code">explicit</code> rule. It is important as by default all targets
+ in a Jamfile are built. As the <code class="code">project</code> rule
+ defines requirements for all targets in the Jamfile they are also
+ requirements for the <code class="code">lib</code> rule. Thus the
+ <code class="code">lib</code> rule refers to itself. If the
+ <code class="code">lib</code> rule is made explicit though it's not
+ built and no recursive reference occurs.</p>
+
+ <p>Please note that the order of rules in a Jamfile matters only if a
+ rule refers to a target: Before a target can be referenced it must have
+ been defined.</p>
+ </div>
+ <hr>
+
+ <h2 id="best_practices">Best practices<br>
+ <small>How Boost.Build is used by others</small>
+ </h2>
+
+ <div>
+
+ <p>As Boost.Build is a high-level build system you benefit most if you
+ keep Jamfiles platform- and compiler-independent. After all the idea is
+ to build your C++ or C projects on any platform with any compiler
+ without being required to modify or maintain several Jamfiles.</p>
+
+ <p>A typical problem you'll run into is that third-party libraries you
+ want to use will be installed in different directories. If you want to
+ build your project on Windows and Unix platforms paths also look very
+ different. Furthermore you might need to link against some system
+ libraries on a platform but not on another.</p>
+
+ <p>Instead of trying to put paths for various platforms in a project's
+ Jamfiles it is better to rely on configuration files on every system
+ for system-specific settings. As it turns out <span class=
+ "command"><strong>b2</strong></span> does indeed look for two more
+ configuration files when it starts.</p>
+
+ <p>The file <code class="filename">site-config.jam</code> should be
+ used to set options for an entire system. As it is machine-dependent
+ <span class="command"><strong>b2</strong></span> expects to find it
+ in <code class="filename">C:\Windows</code> on Windows platforms and in
+ <code class="filename">/etc</code> on Unix systems. As <code class=
+ "filename">site-config.jam</code> is machine-dependent paths to local
+ libraries are no problem.</p>
+
+ <p>Users might not be able to create or change <code class=
+ "filename">site-config.jam</code> though. They would either need to
+ wait for system administrators to update the file or be forced again to
+ add system-specific paths to their own Jamfiles. As neither is a good
+ solution, <span class="command"><strong>b2</strong></span> also looks
+ for a file <code class="filename">user-config.jam</code> in a user's
+ home directory. On Windows it is a subdirectory of <code class=
+ "filename">C:\Users</code>, on Unix a subdirecory of <code class=
+ "filename">/home</code>. As the file <code class=
+ "filename">user-config.jam</code> can be maintained by users it is
+ probably used more often than <code class=
+ "filename">site-config.jam</code>.</p>
+
+ <p>You use <code class="filename">site-config.jam</code> and
+ <code class="filename">user-config.jam</code> just like any other
+ Jamfile. As these configuration files do not belong to a project but to
+ a machine or a user on a machine they are allowed to contain
+ machine-specific options. For example they could contain a <code class=
+ "code">using</code> rule.</p>
+ <pre class="programlisting">
+using msvc ;
+</pre>
+
+ <p>The <code class="code">using</code> rule above tells <span class=
+ "command"><strong>b2</strong></span> to use the msvc toolset. If you
+ know that there is only Visual C++ installed on a system it makes sense
+ to put this line into a configuration file. Then <span class=
+ "command"><strong>b2</strong></span> doesn't need to guess anymore
+ which toolset to use and won't omit a warning.</p>
+
+ <p>If you define targets in <code class=
+ "filename">site-config.jam</code> or <code class=
+ "filename">user-config.jam</code> and want to refer to these targets in
+ Jamfiles the <code class="code">project</code> rule must be used to set
+ a name.</p>
+ <pre class="programlisting">
+using msvc ;
+project user-config ;
+lib xml : : &lt;name&gt;libxml &lt;search&gt;C:/lib : : &lt;include&gt;C:/include ;
+</pre>
+
+ <p>The <code class="code">lib</code> rule is used to refer to a
+ pre-built library whose basename is libxml and can be found in
+ <code class="filename">C:\lib</code>. A program which uses this XML
+ library probably needs to include header files from this library.
+ That's why in the usage requirements - this is the fifth parameter -
+ the feature <code class="code">&lt;include&gt;</code> is set to
+ <code class="filename">C:\include</code>: Whoever uses this rule will
+ inherit the <code class="code">&lt;include&gt;</code> feature.</p>
+
+ <p>As the <code class="code">project</code> rule has been used to set
+ the name user-config a Jamfile can refer to the XML library via
+ /user-config//xml.</p>
+ <pre class="programlisting">
+exe xmlparser : xmlparser.cpp : &lt;library&gt;/user-config//xml ;
+</pre>
+
+ <p>In order to build <span class=
+ "command"><strong>xmlparser</strong></span> the program must be linked
+ against the XML library. Even though the location of the library and
+ its header files might vary the Jamfile does not contain any
+ system-specific paths. The Jamfile expects to find the target xml in
+ the project user-config. If this is a configuration file it's no
+ problem to use system-specific paths as after all configuration files
+ are bound to a machine or to a user on a machine.</p>
+
+ <p>As Boost.Build has been created to build and install the Boost C++
+ libraries there is built-in support to use pre-built Boost C++
+ libraries more easily.</p>
+ <pre class="programlisting">
+using msvc ;
+project user-config ;
+using boost : 1.39 : &lt;include&gt;C:/include/boost-1_39 &lt;library&gt;C:/lib ;
+</pre>
+
+ <p>The <code class="code">using</code> rule must be used to refer to a
+ toolset called boost. This toolset is different from toolsets like msvc
+ which you've read about so far: It doesn't contain any programs which
+ will be run later. As support for pre-built Boost C++ libraries has
+ been implemented in a toolset though it's required to use the
+ <code class="code">using</code> rule.</p>
+
+ <p>Just as with other libraries the location of the Boost C++ libraries
+ might vary. Thus it makes sense to put the <code class=
+ "code">using</code> rule into one of the two configuration files.</p>
+
+ <p>It is possible to pass parameters to the <code class=
+ "code">using</code> rule: The first one is the version number, the
+ second a list of options. In the Jamfile above the Boost C++ libraries
+ 1.39 are used which can be found in the directories passed as
+ options.</p>
+
+ <p>Once the boost toolset is used it is possible to use Boost C++
+ libraries without defining targets yourself.</p>
+ <pre class="programlisting">
+import boost ;
+boost.use-project 1.39 ;
+exe hello : hello.cpp : &lt;library&gt;/boost//thread ;
+</pre>
+
+ <p>If a program uses a Boost C++ library it can refer to targets in a
+ project called boost. In order to recognize the project boost though
+ the boost module must be imported and the rule <code class=
+ "code">boost.use-project</code> used: Importing the boost module makes
+ the <code class="code">boost.use-project</code> rule available. This
+ rule expects a version number as its sole argument. As it is possible
+ to use the <code class="code">using</code> rule to refer to various
+ versions of the Boost C++ libraries a project can specify which version
+ it wants to use. In the Jamfile above the program <span class=
+ "command"><strong>hello</strong></span> uses Boost.Thread from version
+ 1.39.</p>
+ </div>
+ <hr>
+
+ <h2 id="rule_reference">Rule reference<br>
+ <small>Building blocks for Jamfiles</small>
+ </h2>
+
+ <div>
+
+ <p>If you manage a project with Boost.Build and create Jamfiles you use
+ rules all the time. Thus you should know which rules exist and how they
+ are used. The following table gives you an overview about the most
+ important rules.</p>
+
+ <p>There is a star, plus sign or question mark behind some parameters.
+ The star means there can be arbitrary many values, the plus sign there
+ must be at least one value and the question mark there must be zero or
+ exactly one value.</p>
+
+ <table border="0" cellspacing="0" cellpadding="0" id="id369340">
+ <caption>
+ Table&nbsp;1.&nbsp;Rules
+ </caption>
+
+ <tbody>
+ <tr>
+ <th class="col-md-2">Name</th>
+
+ <th>Parameters</th>
+
+ <th>Description</th>
+ </tr>
+
+ <tr>
+ <td>alias</td>
+
+ <td>name : sources * : requirements * : default-build * :
+ usage-requirements *</td>
+
+ <td>Refer to sources or any other targets via a new name.</td>
+ </tr>
+
+ <tr>
+ <td>build-project</td>
+
+ <td>dir</td>
+
+ <td>Refer to a Jamfile in another directory to build a
+ project.</td>
+ </tr>
+
+ <tr>
+ <td>conditional</td>
+
+ <td>condition + : requirements *</td>
+
+ <td>Create conditional requirements without using conditional
+ properties.</td>
+ </tr>
+
+ <tr>
+ <td>exe</td>
+
+ <td>name : sources * : requirements * : default-build * :
+ usage-requirements *</td>
+
+ <td>Build an executable.</td>
+ </tr>
+
+ <tr>
+ <td>explicit</td>
+
+ <td>target-names *</td>
+
+ <td>Make targets explicit.</td>
+ </tr>
+
+ <tr>
+ <td>glob</td>
+
+ <td>wildcards + : excludes *</td>
+
+ <td>Reference files in a directory via wildcards.</td>
+ </tr>
+
+ <tr>
+ <td>glob-tree</td>
+
+ <td>wildcards + : excludes *</td>
+
+ <td>Reference files in a directory and all subdirectories via
+ wildcards.</td>
+ </tr>
+
+ <tr>
+ <td>install</td>
+
+ <td>name-and-dir : sources * : requirements * : default-build
+ *</td>
+
+ <td>Install files to a directory.</td>
+ </tr>
+
+ <tr>
+ <td>lib</td>
+
+ <td>names + : sources * : requirements * : default-build * :
+ usage-requirements *</td>
+
+ <td>Build a library.</td>
+ </tr>
+
+ <tr>
+ <td>project</td>
+
+ <td>id ? : options * : *</td>
+
+ <td>Set project options.</td>
+ </tr>
+
+ <tr>
+ <td>unit-test</td>
+
+ <td>target : source : properties *</td>
+
+ <td>Build and run an executable.</td>
+ </tr>
+
+ <tr>
+ <td>use-project</td>
+
+ <td>id : where</td>
+
+ <td>Reference a Jamfile in another directory to use the project
+ id as a target.</td>
+ </tr>
+
+ <tr>
+ <td>using</td>
+
+ <td>toolset-module : *</td>
+
+ <td>Select a toolset.</td>
+ </tr>
+ </tbody>
+ </table>
+
+ <p>Your Boost.Build version might support more rules than listed above.
+ If you want to find out which rules are supported you should check out
+ the files in the subdirectory <code class="filename">build</code> of
+ your Boost.Build installation.</p>
+ </div>
+ <hr>
+
+ <h2 id="feature_reference">Feature reference<br>
+ <small>Configuration options for the build process</small>
+ </h2>
+
+ <div>
+
+ <p>Features allow you to specify exactly how binaries are built. As
+ there are many configuration options available the list of features is
+ pretty long. The following table introduces you to the most important
+ features.</p>
+
+ <table border="0" cellspacing="0" cellpadding="0" id="id369624">
+ <caption>
+ Table&nbsp;2.&nbsp;Features
+ </caption>
+
+ <tbody>
+ <tr>
+ <th class="col-md-2">Name</th>
+
+ <th>Values</th>
+
+ <th>Description</th>
+ </tr>
+
+ <tr>
+ <td>&lt;address-model&gt;</td>
+
+ <td>16, 32, 64, 32_64</td>
+
+ <td>Generate 16-, 32- or 64-bit code.</td>
+ </tr>
+
+ <tr>
+ <td>&lt;architecture&gt;</td>
+
+ <td>x86, ia64, sparc, power, mips1, mips2, mips3, mips4, mips32,
+ mips32r2, mips64, parisc, arm, combined, combined-x86-power</td>
+
+ <td>Set processor family to generate code for.</td>
+ </tr>
+
+ <tr>
+ <td>&lt;c++-template-depth&gt;</td>
+
+ <td>1, 2, 3, ...</td>
+
+ <td>Set maximum template depth.</td>
+ </tr>
+
+ <tr>
+ <td>&lt;cflags&gt;</td>
+
+ <td>...</td>
+
+ <td>Pass flags to C compiler.</td>
+ </tr>
+
+ <tr>
+ <td>&lt;cxxflags&gt;</td>
+
+ <td>...</td>
+
+ <td>Pass flags to C++ compiler</td>
+ </tr>
+
+ <tr>
+ <td>&lt;debug-symbols&gt;</td>
+
+ <td>on, off</td>
+
+ <td>Create debug symbols.</td>
+ </tr>
+
+ <tr>
+ <td>&lt;def-file&gt;</td>
+
+ <td>...</td>
+
+ <td>Set path to <code class="filename">def</code> file (specific
+ to Windows DLLs).</td>
+ </tr>
+
+ <tr>
+ <td>&lt;define&gt;</td>
+
+ <td>...</td>
+
+ <td>Define preprocessor directives.</td>
+ </tr>
+
+ <tr>
+ <td>&lt;embed-manifest&gt;</td>
+
+ <td>on, off</td>
+
+ <td>Embed manifest (specific to msvc toolset).</td>
+ </tr>
+
+ <tr>
+ <td>&lt;host-os&gt;</td>
+
+ <td>aix, bsd, cygwin, darwin, freebsd, hpux, iphone, linux,
+ netbsd, openbsd, osf, qnx, qnxnto, sgi, solaris, unix, unixware,
+ windows</td>
+
+ <td>Use in conditional properties if features depend on host
+ operating systems.</td>
+ </tr>
+
+ <tr>
+ <td>&lt;include&gt;</td>
+
+ <td>...</td>
+
+ <td>Set include directories.</td>
+ </tr>
+
+ <tr>
+ <td>&lt;inlining&gt;</td>
+
+ <td>off, on, full</td>
+
+ <td>Inline functions.</td>
+ </tr>
+
+ <tr>
+ <td>&lt;library&gt;</td>
+
+ <td>...</td>
+
+ <td>Link to a library (use in <code class="code">project</code>
+ rule).</td>
+ </tr>
+
+ <tr>
+ <td>&lt;link&gt;</td>
+
+ <td>shared, static</td>
+
+ <td>Link to shared or static version of a library.</td>
+ </tr>
+
+ <tr>
+ <td>&lt;linkflags&gt;</td>
+
+ <td>...</td>
+
+ <td>Pass flags to linker.</td>
+ </tr>
+
+ <tr>
+ <td>&lt;location&gt;</td>
+
+ <td>...</td>
+
+ <td>Set directory (use in <code class="code">install</code>
+ rule).</td>
+ </tr>
+
+ <tr>
+ <td>&lt;name&gt;</td>
+
+ <td>...</td>
+
+ <td>Set basename of a library (use in <code class=
+ "code">lib</code> rule).</td>
+ </tr>
+
+ <tr>
+ <td>&lt;optimization&gt;</td>
+
+ <td>off, speed, space</td>
+
+ <td>Generate optimized code.</td>
+ </tr>
+
+ <tr>
+ <td>&lt;profiling&gt;</td>
+
+ <td>off, on</td>
+
+ <td>Generate profiled code.</td>
+ </tr>
+
+ <tr>
+ <td>&lt;runtime-link&gt;</td>
+
+ <td>shared, static</td>
+
+ <td>Link to single-threaded or thread-safe runtime library.</td>
+ </tr>
+
+ <tr>
+ <td>&lt;search&gt;</td>
+
+ <td>...</td>
+
+ <td>Set directory to search for libraries (use in <code class=
+ "code">lib</code> rule together with <code class=
+ "code">&lt;name&gt;</code>).</td>
+ </tr>
+
+ <tr>
+ <td>&lt;source&gt;</td>
+
+ <td>...</td>
+
+ <td>Set source in requirements parameter of <code class=
+ "code">project</code> rule or in conditional properties.</td>
+ </tr>
+
+ <tr>
+ <td>&lt;target-os&gt;</td>
+
+ <td>aix, bsd, cygwin, darwin, freebsd, hpux, iphone, linux,
+ netbsd, openbsd, osf, qnx, qnxnto, sgi, solaris, unix, unixware,
+ windows</td>
+
+ <td>Use in conditional properties if features depend on target
+ operating systems.</td>
+ </tr>
+
+ <tr>
+ <td>&lt;threading&gt;</td>
+
+ <td>single, multi</td>
+
+ <td>Build singlethreaded or thread-safe version.</td>
+ </tr>
+
+ <tr>
+ <td>&lt;toolset&gt;</td>
+
+ <td>gcc, msvc, intel-linux, intel-win, acc, borland, como-linux,
+ cw, dmc, hp_cxx, sun</td>
+
+ <td>Use in conditional properties if features depend on
+ toolsets.</td>
+ </tr>
+
+ <tr>
+ <td>&lt;undef&gt;</td>
+
+ <td>...</td>
+
+ <td>Undefine preprocessor directives.</td>
+ </tr>
+
+ <tr>
+ <td>&lt;use&gt;</td>
+
+ <td>...</td>
+
+ <td>Take over only usage requirements of a referenced target but
+ don't do anything else.</td>
+ </tr>
+
+ <tr>
+ <td>&lt;variant&gt;</td>
+
+ <td>debug, release, profile</td>
+
+ <td>Build debug, release or profile version.</td>
+ </tr>
+
+ <tr>
+ <td>&lt;warnings&gt;</td>
+
+ <td>on, all, off</td>
+
+ <td>Switch off warnings.</td>
+ </tr>
+
+ <tr>
+ <td>&lt;warnings-as-errors&gt;</td>
+
+ <td>off, on</td>
+
+ <td>Treat warnings as errors.</td>
+ </tr>
+ </tbody>
+ </table>
+
+ <p>For a complete and up-to-date reference of Boost.Build features look
+ up the file <code class="filename">builtin.jam</code> in the
+ subdirectory <code class="filename">tools</code> of your Boost.Build
+ installation. Search for lines starting with <code class=
+ "code">feature.feature</code> - this is the internal rule used to
+ define features.</p>
+ </div>
+
+ <hr id="hrfoot">
+ <p>Copyright Boris Schäling 2009. Distributed under the Boost Software
+ License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
+ <a href="http://www.boost.org/LICENSE_1_0.txt">http://www.boost.org/LICENSE_1_0.txt</a>)
+
+ </div>
+
+
+</body>
+</html>
diff --git a/tools/build/website/bootstrap/css/bootstrap-theme.css b/tools/build/website/bootstrap/css/bootstrap-theme.css
new file mode 100644
index 0000000000..df2d3d9678
--- /dev/null
+++ b/tools/build/website/bootstrap/css/bootstrap-theme.css
@@ -0,0 +1,397 @@
+/*!
+ * Bootstrap v3.0.3 (http://getbootstrap.com)
+ * Copyright 2013 Twitter, Inc.
+ * Licensed under http://www.apache.org/licenses/LICENSE-2.0
+ */
+
+.btn-default,
+.btn-primary,
+.btn-success,
+.btn-info,
+.btn-warning,
+.btn-danger {
+ text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.2);
+ -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 1px 1px rgba(0, 0, 0, 0.075);
+ box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 1px 1px rgba(0, 0, 0, 0.075);
+}
+
+.btn-default:active,
+.btn-primary:active,
+.btn-success:active,
+.btn-info:active,
+.btn-warning:active,
+.btn-danger:active,
+.btn-default.active,
+.btn-primary.active,
+.btn-success.active,
+.btn-info.active,
+.btn-warning.active,
+.btn-danger.active {
+ -webkit-box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
+ box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
+}
+
+.btn:active,
+.btn.active {
+ background-image: none;
+}
+
+.btn-default {
+ text-shadow: 0 1px 0 #fff;
+ background-image: -webkit-linear-gradient(top, #ffffff 0%, #e0e0e0 100%);
+ background-image: linear-gradient(to bottom, #ffffff 0%, #e0e0e0 100%);
+ background-repeat: repeat-x;
+ border-color: #dbdbdb;
+ border-color: #ccc;
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#ffe0e0e0', GradientType=0);
+ filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
+}
+
+.btn-default:hover,
+.btn-default:focus {
+ background-color: #e0e0e0;
+ background-position: 0 -15px;
+}
+
+.btn-default:active,
+.btn-default.active {
+ background-color: #e0e0e0;
+ border-color: #dbdbdb;
+}
+
+.btn-primary {
+ background-image: -webkit-linear-gradient(top, #428bca 0%, #2d6ca2 100%);
+ background-image: linear-gradient(to bottom, #428bca 0%, #2d6ca2 100%);
+ background-repeat: repeat-x;
+ border-color: #2b669a;
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff428bca', endColorstr='#ff2d6ca2', GradientType=0);
+ filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
+}
+
+.btn-primary:hover,
+.btn-primary:focus {
+ background-color: #2d6ca2;
+ background-position: 0 -15px;
+}
+
+.btn-primary:active,
+.btn-primary.active {
+ background-color: #2d6ca2;
+ border-color: #2b669a;
+}
+
+.btn-success {
+ background-image: -webkit-linear-gradient(top, #5cb85c 0%, #419641 100%);
+ background-image: linear-gradient(to bottom, #5cb85c 0%, #419641 100%);
+ background-repeat: repeat-x;
+ border-color: #3e8f3e;
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5cb85c', endColorstr='#ff419641', GradientType=0);
+ filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
+}
+
+.btn-success:hover,
+.btn-success:focus {
+ background-color: #419641;
+ background-position: 0 -15px;
+}
+
+.btn-success:active,
+.btn-success.active {
+ background-color: #419641;
+ border-color: #3e8f3e;
+}
+
+.btn-warning {
+ background-image: -webkit-linear-gradient(top, #f0ad4e 0%, #eb9316 100%);
+ background-image: linear-gradient(to bottom, #f0ad4e 0%, #eb9316 100%);
+ background-repeat: repeat-x;
+ border-color: #e38d13;
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff0ad4e', endColorstr='#ffeb9316', GradientType=0);
+ filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
+}
+
+.btn-warning:hover,
+.btn-warning:focus {
+ background-color: #eb9316;
+ background-position: 0 -15px;
+}
+
+.btn-warning:active,
+.btn-warning.active {
+ background-color: #eb9316;
+ border-color: #e38d13;
+}
+
+.btn-danger {
+ background-image: -webkit-linear-gradient(top, #d9534f 0%, #c12e2a 100%);
+ background-image: linear-gradient(to bottom, #d9534f 0%, #c12e2a 100%);
+ background-repeat: repeat-x;
+ border-color: #b92c28;
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffd9534f', endColorstr='#ffc12e2a', GradientType=0);
+ filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
+}
+
+.btn-danger:hover,
+.btn-danger:focus {
+ background-color: #c12e2a;
+ background-position: 0 -15px;
+}
+
+.btn-danger:active,
+.btn-danger.active {
+ background-color: #c12e2a;
+ border-color: #b92c28;
+}
+
+.btn-info {
+ background-image: -webkit-linear-gradient(top, #5bc0de 0%, #2aabd2 100%);
+ background-image: linear-gradient(to bottom, #5bc0de 0%, #2aabd2 100%);
+ background-repeat: repeat-x;
+ border-color: #28a4c9;
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5bc0de', endColorstr='#ff2aabd2', GradientType=0);
+ filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
+}
+
+.btn-info:hover,
+.btn-info:focus {
+ background-color: #2aabd2;
+ background-position: 0 -15px;
+}
+
+.btn-info:active,
+.btn-info.active {
+ background-color: #2aabd2;
+ border-color: #28a4c9;
+}
+
+.thumbnail,
+.img-thumbnail {
+ -webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.075);
+ box-shadow: 0 1px 2px rgba(0, 0, 0, 0.075);
+}
+
+.dropdown-menu > li > a:hover,
+.dropdown-menu > li > a:focus {
+ background-color: #e8e8e8;
+ background-image: -webkit-linear-gradient(top, #f5f5f5 0%, #e8e8e8 100%);
+ background-image: linear-gradient(to bottom, #f5f5f5 0%, #e8e8e8 100%);
+ background-repeat: repeat-x;
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff5f5f5', endColorstr='#ffe8e8e8', GradientType=0);
+}
+
+.dropdown-menu > .active > a,
+.dropdown-menu > .active > a:hover,
+.dropdown-menu > .active > a:focus {
+ background-color: #357ebd;
+ background-image: -webkit-linear-gradient(top, #428bca 0%, #357ebd 100%);
+ background-image: linear-gradient(to bottom, #428bca 0%, #357ebd 100%);
+ background-repeat: repeat-x;
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff428bca', endColorstr='#ff357ebd', GradientType=0);
+}
+
+.navbar-default {
+ background-image: -webkit-linear-gradient(top, #ffffff 0%, #f8f8f8 100%);
+ background-image: linear-gradient(to bottom, #ffffff 0%, #f8f8f8 100%);
+ background-repeat: repeat-x;
+ border-radius: 4px;
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#fff8f8f8', GradientType=0);
+ filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
+ -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 1px 5px rgba(0, 0, 0, 0.075);
+ box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 1px 5px rgba(0, 0, 0, 0.075);
+}
+
+.navbar-default .navbar-nav > .active > a {
+ background-image: -webkit-linear-gradient(top, #ebebeb 0%, #f3f3f3 100%);
+ background-image: linear-gradient(to bottom, #ebebeb 0%, #f3f3f3 100%);
+ background-repeat: repeat-x;
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffebebeb', endColorstr='#fff3f3f3', GradientType=0);
+ -webkit-box-shadow: inset 0 3px 9px rgba(0, 0, 0, 0.075);
+ box-shadow: inset 0 3px 9px rgba(0, 0, 0, 0.075);
+}
+
+.navbar-brand,
+.navbar-nav > li > a {
+ text-shadow: 0 1px 0 rgba(255, 255, 255, 0.25);
+}
+
+.navbar-inverse {
+ background-image: -webkit-linear-gradient(top, #3c3c3c 0%, #222222 100%);
+ background-image: linear-gradient(to bottom, #3c3c3c 0%, #222222 100%);
+ background-repeat: repeat-x;
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff3c3c3c', endColorstr='#ff222222', GradientType=0);
+ filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
+}
+
+.navbar-inverse .navbar-nav > .active > a {
+ background-image: -webkit-linear-gradient(top, #222222 0%, #282828 100%);
+ background-image: linear-gradient(to bottom, #222222 0%, #282828 100%);
+ background-repeat: repeat-x;
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff222222', endColorstr='#ff282828', GradientType=0);
+ -webkit-box-shadow: inset 0 3px 9px rgba(0, 0, 0, 0.25);
+ box-shadow: inset 0 3px 9px rgba(0, 0, 0, 0.25);
+}
+
+.navbar-inverse .navbar-brand,
+.navbar-inverse .navbar-nav > li > a {
+ text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
+}
+
+.navbar-static-top,
+.navbar-fixed-top,
+.navbar-fixed-bottom {
+ border-radius: 0;
+}
+
+.alert {
+ text-shadow: 0 1px 0 rgba(255, 255, 255, 0.2);
+ -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 1px 2px rgba(0, 0, 0, 0.05);
+ box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 1px 2px rgba(0, 0, 0, 0.05);
+}
+
+.alert-success {
+ background-image: -webkit-linear-gradient(top, #dff0d8 0%, #c8e5bc 100%);
+ background-image: linear-gradient(to bottom, #dff0d8 0%, #c8e5bc 100%);
+ background-repeat: repeat-x;
+ border-color: #b2dba1;
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffdff0d8', endColorstr='#ffc8e5bc', GradientType=0);
+}
+
+.alert-info {
+ background-image: -webkit-linear-gradient(top, #d9edf7 0%, #b9def0 100%);
+ background-image: linear-gradient(to bottom, #d9edf7 0%, #b9def0 100%);
+ background-repeat: repeat-x;
+ border-color: #9acfea;
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffd9edf7', endColorstr='#ffb9def0', GradientType=0);
+}
+
+.alert-warning {
+ background-image: -webkit-linear-gradient(top, #fcf8e3 0%, #f8efc0 100%);
+ background-image: linear-gradient(to bottom, #fcf8e3 0%, #f8efc0 100%);
+ background-repeat: repeat-x;
+ border-color: #f5e79e;
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fffcf8e3', endColorstr='#fff8efc0', GradientType=0);
+}
+
+.alert-danger {
+ background-image: -webkit-linear-gradient(top, #f2dede 0%, #e7c3c3 100%);
+ background-image: linear-gradient(to bottom, #f2dede 0%, #e7c3c3 100%);
+ background-repeat: repeat-x;
+ border-color: #dca7a7;
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff2dede', endColorstr='#ffe7c3c3', GradientType=0);
+}
+
+.progress {
+ background-image: -webkit-linear-gradient(top, #ebebeb 0%, #f5f5f5 100%);
+ background-image: linear-gradient(to bottom, #ebebeb 0%, #f5f5f5 100%);
+ background-repeat: repeat-x;
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffebebeb', endColorstr='#fff5f5f5', GradientType=0);
+}
+
+.progress-bar {
+ background-image: -webkit-linear-gradient(top, #428bca 0%, #3071a9 100%);
+ background-image: linear-gradient(to bottom, #428bca 0%, #3071a9 100%);
+ background-repeat: repeat-x;
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff428bca', endColorstr='#ff3071a9', GradientType=0);
+}
+
+.progress-bar-success {
+ background-image: -webkit-linear-gradient(top, #5cb85c 0%, #449d44 100%);
+ background-image: linear-gradient(to bottom, #5cb85c 0%, #449d44 100%);
+ background-repeat: repeat-x;
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5cb85c', endColorstr='#ff449d44', GradientType=0);
+}
+
+.progress-bar-info {
+ background-image: -webkit-linear-gradient(top, #5bc0de 0%, #31b0d5 100%);
+ background-image: linear-gradient(to bottom, #5bc0de 0%, #31b0d5 100%);
+ background-repeat: repeat-x;
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5bc0de', endColorstr='#ff31b0d5', GradientType=0);
+}
+
+.progress-bar-warning {
+ background-image: -webkit-linear-gradient(top, #f0ad4e 0%, #ec971f 100%);
+ background-image: linear-gradient(to bottom, #f0ad4e 0%, #ec971f 100%);
+ background-repeat: repeat-x;
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff0ad4e', endColorstr='#ffec971f', GradientType=0);
+}
+
+.progress-bar-danger {
+ background-image: -webkit-linear-gradient(top, #d9534f 0%, #c9302c 100%);
+ background-image: linear-gradient(to bottom, #d9534f 0%, #c9302c 100%);
+ background-repeat: repeat-x;
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffd9534f', endColorstr='#ffc9302c', GradientType=0);
+}
+
+.list-group {
+ border-radius: 4px;
+ -webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.075);
+ box-shadow: 0 1px 2px rgba(0, 0, 0, 0.075);
+}
+
+.list-group-item.active,
+.list-group-item.active:hover,
+.list-group-item.active:focus {
+ text-shadow: 0 -1px 0 #3071a9;
+ background-image: -webkit-linear-gradient(top, #428bca 0%, #3278b3 100%);
+ background-image: linear-gradient(to bottom, #428bca 0%, #3278b3 100%);
+ background-repeat: repeat-x;
+ border-color: #3278b3;
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff428bca', endColorstr='#ff3278b3', GradientType=0);
+}
+
+.panel {
+ -webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
+ box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
+}
+
+.panel-default > .panel-heading {
+ background-image: -webkit-linear-gradient(top, #f5f5f5 0%, #e8e8e8 100%);
+ background-image: linear-gradient(to bottom, #f5f5f5 0%, #e8e8e8 100%);
+ background-repeat: repeat-x;
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff5f5f5', endColorstr='#ffe8e8e8', GradientType=0);
+}
+
+.panel-primary > .panel-heading {
+ background-image: -webkit-linear-gradient(top, #428bca 0%, #357ebd 100%);
+ background-image: linear-gradient(to bottom, #428bca 0%, #357ebd 100%);
+ background-repeat: repeat-x;
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff428bca', endColorstr='#ff357ebd', GradientType=0);
+}
+
+.panel-success > .panel-heading {
+ background-image: -webkit-linear-gradient(top, #dff0d8 0%, #d0e9c6 100%);
+ background-image: linear-gradient(to bottom, #dff0d8 0%, #d0e9c6 100%);
+ background-repeat: repeat-x;
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffdff0d8', endColorstr='#ffd0e9c6', GradientType=0);
+}
+
+.panel-info > .panel-heading {
+ background-image: -webkit-linear-gradient(top, #d9edf7 0%, #c4e3f3 100%);
+ background-image: linear-gradient(to bottom, #d9edf7 0%, #c4e3f3 100%);
+ background-repeat: repeat-x;
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffd9edf7', endColorstr='#ffc4e3f3', GradientType=0);
+}
+
+.panel-warning > .panel-heading {
+ background-image: -webkit-linear-gradient(top, #fcf8e3 0%, #faf2cc 100%);
+ background-image: linear-gradient(to bottom, #fcf8e3 0%, #faf2cc 100%);
+ background-repeat: repeat-x;
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fffcf8e3', endColorstr='#fffaf2cc', GradientType=0);
+}
+
+.panel-danger > .panel-heading {
+ background-image: -webkit-linear-gradient(top, #f2dede 0%, #ebcccc 100%);
+ background-image: linear-gradient(to bottom, #f2dede 0%, #ebcccc 100%);
+ background-repeat: repeat-x;
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff2dede', endColorstr='#ffebcccc', GradientType=0);
+}
+
+.well {
+ background-image: -webkit-linear-gradient(top, #e8e8e8 0%, #f5f5f5 100%);
+ background-image: linear-gradient(to bottom, #e8e8e8 0%, #f5f5f5 100%);
+ background-repeat: repeat-x;
+ border-color: #dcdcdc;
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffe8e8e8', endColorstr='#fff5f5f5', GradientType=0);
+ -webkit-box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.05), 0 1px 0 rgba(255, 255, 255, 0.1);
+ box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.05), 0 1px 0 rgba(255, 255, 255, 0.1);
+} \ No newline at end of file
diff --git a/tools/build/website/bootstrap/css/bootstrap-theme.min.css b/tools/build/website/bootstrap/css/bootstrap-theme.min.css
new file mode 100644
index 0000000000..c7b6d39b4f
--- /dev/null
+++ b/tools/build/website/bootstrap/css/bootstrap-theme.min.css
@@ -0,0 +1,7 @@
+/*!
+ * Bootstrap v3.0.3 (http://getbootstrap.com)
+ * Copyright 2013 Twitter, Inc.
+ * Licensed under http://www.apache.org/licenses/LICENSE-2.0
+ */
+
+.btn-default,.btn-primary,.btn-success,.btn-info,.btn-warning,.btn-danger{text-shadow:0 -1px 0 rgba(0,0,0,0.2);-webkit-box-shadow:inset 0 1px 0 rgba(255,255,255,0.15),0 1px 1px rgba(0,0,0,0.075);box-shadow:inset 0 1px 0 rgba(255,255,255,0.15),0 1px 1px rgba(0,0,0,0.075)}.btn-default:active,.btn-primary:active,.btn-success:active,.btn-info:active,.btn-warning:active,.btn-danger:active,.btn-default.active,.btn-primary.active,.btn-success.active,.btn-info.active,.btn-warning.active,.btn-danger.active{-webkit-box-shadow:inset 0 3px 5px rgba(0,0,0,0.125);box-shadow:inset 0 3px 5px rgba(0,0,0,0.125)}.btn:active,.btn.active{background-image:none}.btn-default{text-shadow:0 1px 0 #fff;background-image:-webkit-linear-gradient(top,#fff 0,#e0e0e0 100%);background-image:linear-gradient(to bottom,#fff 0,#e0e0e0 100%);background-repeat:repeat-x;border-color:#dbdbdb;border-color:#ccc;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff',endColorstr='#ffe0e0e0',GradientType=0);filter:progid:DXImageTransform.Microsoft.gradient(enabled=false)}.btn-default:hover,.btn-default:focus{background-color:#e0e0e0;background-position:0 -15px}.btn-default:active,.btn-default.active{background-color:#e0e0e0;border-color:#dbdbdb}.btn-primary{background-image:-webkit-linear-gradient(top,#428bca 0,#2d6ca2 100%);background-image:linear-gradient(to bottom,#428bca 0,#2d6ca2 100%);background-repeat:repeat-x;border-color:#2b669a;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff428bca',endColorstr='#ff2d6ca2',GradientType=0);filter:progid:DXImageTransform.Microsoft.gradient(enabled=false)}.btn-primary:hover,.btn-primary:focus{background-color:#2d6ca2;background-position:0 -15px}.btn-primary:active,.btn-primary.active{background-color:#2d6ca2;border-color:#2b669a}.btn-success{background-image:-webkit-linear-gradient(top,#5cb85c 0,#419641 100%);background-image:linear-gradient(to bottom,#5cb85c 0,#419641 100%);background-repeat:repeat-x;border-color:#3e8f3e;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5cb85c',endColorstr='#ff419641',GradientType=0);filter:progid:DXImageTransform.Microsoft.gradient(enabled=false)}.btn-success:hover,.btn-success:focus{background-color:#419641;background-position:0 -15px}.btn-success:active,.btn-success.active{background-color:#419641;border-color:#3e8f3e}.btn-warning{background-image:-webkit-linear-gradient(top,#f0ad4e 0,#eb9316 100%);background-image:linear-gradient(to bottom,#f0ad4e 0,#eb9316 100%);background-repeat:repeat-x;border-color:#e38d13;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff0ad4e',endColorstr='#ffeb9316',GradientType=0);filter:progid:DXImageTransform.Microsoft.gradient(enabled=false)}.btn-warning:hover,.btn-warning:focus{background-color:#eb9316;background-position:0 -15px}.btn-warning:active,.btn-warning.active{background-color:#eb9316;border-color:#e38d13}.btn-danger{background-image:-webkit-linear-gradient(top,#d9534f 0,#c12e2a 100%);background-image:linear-gradient(to bottom,#d9534f 0,#c12e2a 100%);background-repeat:repeat-x;border-color:#b92c28;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffd9534f',endColorstr='#ffc12e2a',GradientType=0);filter:progid:DXImageTransform.Microsoft.gradient(enabled=false)}.btn-danger:hover,.btn-danger:focus{background-color:#c12e2a;background-position:0 -15px}.btn-danger:active,.btn-danger.active{background-color:#c12e2a;border-color:#b92c28}.btn-info{background-image:-webkit-linear-gradient(top,#5bc0de 0,#2aabd2 100%);background-image:linear-gradient(to bottom,#5bc0de 0,#2aabd2 100%);background-repeat:repeat-x;border-color:#28a4c9;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5bc0de',endColorstr='#ff2aabd2',GradientType=0);filter:progid:DXImageTransform.Microsoft.gradient(enabled=false)}.btn-info:hover,.btn-info:focus{background-color:#2aabd2;background-position:0 -15px}.btn-info:active,.btn-info.active{background-color:#2aabd2;border-color:#28a4c9}.thumbnail,.img-thumbnail{-webkit-box-shadow:0 1px 2px rgba(0,0,0,0.075);box-shadow:0 1px 2px rgba(0,0,0,0.075)}.dropdown-menu>li>a:hover,.dropdown-menu>li>a:focus{background-color:#e8e8e8;background-image:-webkit-linear-gradient(top,#f5f5f5 0,#e8e8e8 100%);background-image:linear-gradient(to bottom,#f5f5f5 0,#e8e8e8 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff5f5f5',endColorstr='#ffe8e8e8',GradientType=0)}.dropdown-menu>.active>a,.dropdown-menu>.active>a:hover,.dropdown-menu>.active>a:focus{background-color:#357ebd;background-image:-webkit-linear-gradient(top,#428bca 0,#357ebd 100%);background-image:linear-gradient(to bottom,#428bca 0,#357ebd 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff428bca',endColorstr='#ff357ebd',GradientType=0)}.navbar-default{background-image:-webkit-linear-gradient(top,#fff 0,#f8f8f8 100%);background-image:linear-gradient(to bottom,#fff 0,#f8f8f8 100%);background-repeat:repeat-x;border-radius:4px;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff',endColorstr='#fff8f8f8',GradientType=0);filter:progid:DXImageTransform.Microsoft.gradient(enabled=false);-webkit-box-shadow:inset 0 1px 0 rgba(255,255,255,0.15),0 1px 5px rgba(0,0,0,0.075);box-shadow:inset 0 1px 0 rgba(255,255,255,0.15),0 1px 5px rgba(0,0,0,0.075)}.navbar-default .navbar-nav>.active>a{background-image:-webkit-linear-gradient(top,#ebebeb 0,#f3f3f3 100%);background-image:linear-gradient(to bottom,#ebebeb 0,#f3f3f3 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffebebeb',endColorstr='#fff3f3f3',GradientType=0);-webkit-box-shadow:inset 0 3px 9px rgba(0,0,0,0.075);box-shadow:inset 0 3px 9px rgba(0,0,0,0.075)}.navbar-brand,.navbar-nav>li>a{text-shadow:0 1px 0 rgba(255,255,255,0.25)}.navbar-inverse{background-image:-webkit-linear-gradient(top,#3c3c3c 0,#222 100%);background-image:linear-gradient(to bottom,#3c3c3c 0,#222 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff3c3c3c',endColorstr='#ff222222',GradientType=0);filter:progid:DXImageTransform.Microsoft.gradient(enabled=false)}.navbar-inverse .navbar-nav>.active>a{background-image:-webkit-linear-gradient(top,#222 0,#282828 100%);background-image:linear-gradient(to bottom,#222 0,#282828 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff222222',endColorstr='#ff282828',GradientType=0);-webkit-box-shadow:inset 0 3px 9px rgba(0,0,0,0.25);box-shadow:inset 0 3px 9px rgba(0,0,0,0.25)}.navbar-inverse .navbar-brand,.navbar-inverse .navbar-nav>li>a{text-shadow:0 -1px 0 rgba(0,0,0,0.25)}.navbar-static-top,.navbar-fixed-top,.navbar-fixed-bottom{border-radius:0}.alert{text-shadow:0 1px 0 rgba(255,255,255,0.2);-webkit-box-shadow:inset 0 1px 0 rgba(255,255,255,0.25),0 1px 2px rgba(0,0,0,0.05);box-shadow:inset 0 1px 0 rgba(255,255,255,0.25),0 1px 2px rgba(0,0,0,0.05)}.alert-success{background-image:-webkit-linear-gradient(top,#dff0d8 0,#c8e5bc 100%);background-image:linear-gradient(to bottom,#dff0d8 0,#c8e5bc 100%);background-repeat:repeat-x;border-color:#b2dba1;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffdff0d8',endColorstr='#ffc8e5bc',GradientType=0)}.alert-info{background-image:-webkit-linear-gradient(top,#d9edf7 0,#b9def0 100%);background-image:linear-gradient(to bottom,#d9edf7 0,#b9def0 100%);background-repeat:repeat-x;border-color:#9acfea;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffd9edf7',endColorstr='#ffb9def0',GradientType=0)}.alert-warning{background-image:-webkit-linear-gradient(top,#fcf8e3 0,#f8efc0 100%);background-image:linear-gradient(to bottom,#fcf8e3 0,#f8efc0 100%);background-repeat:repeat-x;border-color:#f5e79e;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fffcf8e3',endColorstr='#fff8efc0',GradientType=0)}.alert-danger{background-image:-webkit-linear-gradient(top,#f2dede 0,#e7c3c3 100%);background-image:linear-gradient(to bottom,#f2dede 0,#e7c3c3 100%);background-repeat:repeat-x;border-color:#dca7a7;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff2dede',endColorstr='#ffe7c3c3',GradientType=0)}.progress{background-image:-webkit-linear-gradient(top,#ebebeb 0,#f5f5f5 100%);background-image:linear-gradient(to bottom,#ebebeb 0,#f5f5f5 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffebebeb',endColorstr='#fff5f5f5',GradientType=0)}.progress-bar{background-image:-webkit-linear-gradient(top,#428bca 0,#3071a9 100%);background-image:linear-gradient(to bottom,#428bca 0,#3071a9 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff428bca',endColorstr='#ff3071a9',GradientType=0)}.progress-bar-success{background-image:-webkit-linear-gradient(top,#5cb85c 0,#449d44 100%);background-image:linear-gradient(to bottom,#5cb85c 0,#449d44 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5cb85c',endColorstr='#ff449d44',GradientType=0)}.progress-bar-info{background-image:-webkit-linear-gradient(top,#5bc0de 0,#31b0d5 100%);background-image:linear-gradient(to bottom,#5bc0de 0,#31b0d5 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5bc0de',endColorstr='#ff31b0d5',GradientType=0)}.progress-bar-warning{background-image:-webkit-linear-gradient(top,#f0ad4e 0,#ec971f 100%);background-image:linear-gradient(to bottom,#f0ad4e 0,#ec971f 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff0ad4e',endColorstr='#ffec971f',GradientType=0)}.progress-bar-danger{background-image:-webkit-linear-gradient(top,#d9534f 0,#c9302c 100%);background-image:linear-gradient(to bottom,#d9534f 0,#c9302c 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffd9534f',endColorstr='#ffc9302c',GradientType=0)}.list-group{border-radius:4px;-webkit-box-shadow:0 1px 2px rgba(0,0,0,0.075);box-shadow:0 1px 2px rgba(0,0,0,0.075)}.list-group-item.active,.list-group-item.active:hover,.list-group-item.active:focus{text-shadow:0 -1px 0 #3071a9;background-image:-webkit-linear-gradient(top,#428bca 0,#3278b3 100%);background-image:linear-gradient(to bottom,#428bca 0,#3278b3 100%);background-repeat:repeat-x;border-color:#3278b3;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff428bca',endColorstr='#ff3278b3',GradientType=0)}.panel{-webkit-box-shadow:0 1px 2px rgba(0,0,0,0.05);box-shadow:0 1px 2px rgba(0,0,0,0.05)}.panel-default>.panel-heading{background-image:-webkit-linear-gradient(top,#f5f5f5 0,#e8e8e8 100%);background-image:linear-gradient(to bottom,#f5f5f5 0,#e8e8e8 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff5f5f5',endColorstr='#ffe8e8e8',GradientType=0)}.panel-primary>.panel-heading{background-image:-webkit-linear-gradient(top,#428bca 0,#357ebd 100%);background-image:linear-gradient(to bottom,#428bca 0,#357ebd 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff428bca',endColorstr='#ff357ebd',GradientType=0)}.panel-success>.panel-heading{background-image:-webkit-linear-gradient(top,#dff0d8 0,#d0e9c6 100%);background-image:linear-gradient(to bottom,#dff0d8 0,#d0e9c6 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffdff0d8',endColorstr='#ffd0e9c6',GradientType=0)}.panel-info>.panel-heading{background-image:-webkit-linear-gradient(top,#d9edf7 0,#c4e3f3 100%);background-image:linear-gradient(to bottom,#d9edf7 0,#c4e3f3 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffd9edf7',endColorstr='#ffc4e3f3',GradientType=0)}.panel-warning>.panel-heading{background-image:-webkit-linear-gradient(top,#fcf8e3 0,#faf2cc 100%);background-image:linear-gradient(to bottom,#fcf8e3 0,#faf2cc 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fffcf8e3',endColorstr='#fffaf2cc',GradientType=0)}.panel-danger>.panel-heading{background-image:-webkit-linear-gradient(top,#f2dede 0,#ebcccc 100%);background-image:linear-gradient(to bottom,#f2dede 0,#ebcccc 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff2dede',endColorstr='#ffebcccc',GradientType=0)}.well{background-image:-webkit-linear-gradient(top,#e8e8e8 0,#f5f5f5 100%);background-image:linear-gradient(to bottom,#e8e8e8 0,#f5f5f5 100%);background-repeat:repeat-x;border-color:#dcdcdc;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffe8e8e8',endColorstr='#fff5f5f5',GradientType=0);-webkit-box-shadow:inset 0 1px 3px rgba(0,0,0,0.05),0 1px 0 rgba(255,255,255,0.1);box-shadow:inset 0 1px 3px rgba(0,0,0,0.05),0 1px 0 rgba(255,255,255,0.1)} \ No newline at end of file
diff --git a/tools/build/website/bootstrap/css/bootstrap.css b/tools/build/website/bootstrap/css/bootstrap.css
new file mode 100644
index 0000000000..377dff3004
--- /dev/null
+++ b/tools/build/website/bootstrap/css/bootstrap.css
@@ -0,0 +1,7118 @@
+/*!
+ * Bootstrap v3.0.3 (http://getbootstrap.com)
+ * Copyright 2013 Twitter, Inc.
+ * Licensed under http://www.apache.org/licenses/LICENSE-2.0
+ */
+
+/*! normalize.css v2.1.3 | MIT License | git.io/normalize */
+
+article,
+aside,
+details,
+figcaption,
+figure,
+footer,
+header,
+hgroup,
+main,
+nav,
+section,
+summary {
+ display: block;
+}
+
+audio,
+canvas,
+video {
+ display: inline-block;
+}
+
+audio:not([controls]) {
+ display: none;
+ height: 0;
+}
+
+[hidden],
+template {
+ display: none;
+}
+
+html {
+ font-family: sans-serif;
+ -webkit-text-size-adjust: 100%;
+ -ms-text-size-adjust: 100%;
+}
+
+body {
+ margin: 0;
+}
+
+a {
+ background: transparent;
+}
+
+a:focus {
+ outline: thin dotted;
+}
+
+a:active,
+a:hover {
+ outline: 0;
+}
+
+h1 {
+ margin: 0.67em 0;
+ font-size: 2em;
+}
+
+abbr[title] {
+ border-bottom: 1px dotted;
+}
+
+b,
+strong {
+ font-weight: bold;
+}
+
+dfn {
+ font-style: italic;
+}
+
+hr {
+ height: 0;
+ -moz-box-sizing: content-box;
+ box-sizing: content-box;
+}
+
+mark {
+ color: #000;
+ background: #ff0;
+}
+
+code,
+kbd,
+pre,
+samp {
+ font-family: monospace, serif;
+ font-size: 1em;
+}
+
+pre {
+ white-space: pre-wrap;
+}
+
+q {
+ quotes: "\201C" "\201D" "\2018" "\2019";
+}
+
+small {
+ font-size: 80%;
+}
+
+sub,
+sup {
+ position: relative;
+ font-size: 75%;
+ line-height: 0;
+ vertical-align: baseline;
+}
+
+sup {
+ top: -0.5em;
+}
+
+sub {
+ bottom: -0.25em;
+}
+
+img {
+ border: 0;
+}
+
+svg:not(:root) {
+ overflow: hidden;
+}
+
+figure {
+ margin: 0;
+}
+
+fieldset {
+ padding: 0.35em 0.625em 0.75em;
+ margin: 0 2px;
+ border: 1px solid #c0c0c0;
+}
+
+legend {
+ padding: 0;
+ border: 0;
+}
+
+button,
+input,
+select,
+textarea {
+ margin: 0;
+ font-family: inherit;
+ font-size: 100%;
+}
+
+button,
+input {
+ line-height: normal;
+}
+
+button,
+select {
+ text-transform: none;
+}
+
+button,
+html input[type="button"],
+input[type="reset"],
+input[type="submit"] {
+ cursor: pointer;
+ -webkit-appearance: button;
+}
+
+button[disabled],
+html input[disabled] {
+ cursor: default;
+}
+
+input[type="checkbox"],
+input[type="radio"] {
+ padding: 0;
+ box-sizing: border-box;
+}
+
+input[type="search"] {
+ -webkit-box-sizing: content-box;
+ -moz-box-sizing: content-box;
+ box-sizing: content-box;
+ -webkit-appearance: textfield;
+}
+
+input[type="search"]::-webkit-search-cancel-button,
+input[type="search"]::-webkit-search-decoration {
+ -webkit-appearance: none;
+}
+
+button::-moz-focus-inner,
+input::-moz-focus-inner {
+ padding: 0;
+ border: 0;
+}
+
+textarea {
+ overflow: auto;
+ vertical-align: top;
+}
+
+table {
+ border-collapse: collapse;
+ border-spacing: 0;
+}
+
+@media print {
+ * {
+ color: #000 !important;
+ text-shadow: none !important;
+ background: transparent !important;
+ box-shadow: none !important;
+ }
+ a,
+ a:visited {
+ text-decoration: underline;
+ }
+ a[href]:after {
+ content: " (" attr(href) ")";
+ }
+ abbr[title]:after {
+ content: " (" attr(title) ")";
+ }
+ a[href^="javascript:"]:after,
+ a[href^="#"]:after {
+ content: "";
+ }
+ pre,
+ blockquote {
+ border: 1px solid #999;
+ page-break-inside: avoid;
+ }
+ thead {
+ display: table-header-group;
+ }
+ tr,
+ img {
+ page-break-inside: avoid;
+ }
+ img {
+ max-width: 100% !important;
+ }
+ @page {
+ margin: 2cm .5cm;
+ }
+ p,
+ h2,
+ h3 {
+ orphans: 3;
+ widows: 3;
+ }
+ h2,
+ h3 {
+ page-break-after: avoid;
+ }
+ select {
+ background: #fff !important;
+ }
+ .navbar {
+ display: none;
+ }
+ .table td,
+ .table th {
+ background-color: #fff !important;
+ }
+ .btn > .caret,
+ .dropup > .btn > .caret {
+ border-top-color: #000 !important;
+ }
+ .label {
+ border: 1px solid #000;
+ }
+ .table {
+ border-collapse: collapse !important;
+ }
+ .table-bordered th,
+ .table-bordered td {
+ border: 1px solid #ddd !important;
+ }
+}
+
+*,
+*:before,
+*:after {
+ -webkit-box-sizing: border-box;
+ -moz-box-sizing: border-box;
+ box-sizing: border-box;
+}
+
+html {
+ font-size: 62.5%;
+ -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
+}
+
+body {
+ font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
+ font-size: 14px;
+ line-height: 1.428571429;
+ color: #333333;
+ background-color: #ffffff;
+}
+
+input,
+button,
+select,
+textarea {
+ font-family: inherit;
+ font-size: inherit;
+ line-height: inherit;
+}
+
+a {
+ color: #428bca;
+ text-decoration: none;
+}
+
+a:hover,
+a:focus {
+ color: #2a6496;
+ text-decoration: underline;
+}
+
+a:focus {
+ outline: thin dotted;
+ outline: 5px auto -webkit-focus-ring-color;
+ outline-offset: -2px;
+}
+
+img {
+ vertical-align: middle;
+}
+
+.img-responsive {
+ display: block;
+ height: auto;
+ max-width: 100%;
+}
+
+.img-rounded {
+ border-radius: 6px;
+}
+
+.img-thumbnail {
+ display: inline-block;
+ height: auto;
+ max-width: 100%;
+ padding: 4px;
+ line-height: 1.428571429;
+ background-color: #ffffff;
+ border: 1px solid #dddddd;
+ border-radius: 4px;
+ -webkit-transition: all 0.2s ease-in-out;
+ transition: all 0.2s ease-in-out;
+}
+
+.img-circle {
+ border-radius: 50%;
+}
+
+hr {
+ margin-top: 20px;
+ margin-bottom: 20px;
+ border: 0;
+ border-top: 1px solid #eeeeee;
+}
+
+.sr-only {
+ position: absolute;
+ width: 1px;
+ height: 1px;
+ padding: 0;
+ margin: -1px;
+ overflow: hidden;
+ clip: rect(0, 0, 0, 0);
+ border: 0;
+}
+
+h1,
+h2,
+h3,
+h4,
+h5,
+h6,
+.h1,
+.h2,
+.h3,
+.h4,
+.h5,
+.h6 {
+ font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
+ font-weight: 500;
+ line-height: 1.1;
+ color: inherit;
+}
+
+h1 small,
+h2 small,
+h3 small,
+h4 small,
+h5 small,
+h6 small,
+.h1 small,
+.h2 small,
+.h3 small,
+.h4 small,
+.h5 small,
+.h6 small,
+h1 .small,
+h2 .small,
+h3 .small,
+h4 .small,
+h5 .small,
+h6 .small,
+.h1 .small,
+.h2 .small,
+.h3 .small,
+.h4 .small,
+.h5 .small,
+.h6 .small {
+ font-weight: normal;
+ line-height: 1;
+ color: #999999;
+}
+
+h1,
+h2,
+h3 {
+ margin-top: 20px;
+ margin-bottom: 10px;
+}
+
+h1 small,
+h2 small,
+h3 small,
+h1 .small,
+h2 .small,
+h3 .small {
+ font-size: 65%;
+}
+
+h4,
+h5,
+h6 {
+ margin-top: 10px;
+ margin-bottom: 10px;
+}
+
+h4 small,
+h5 small,
+h6 small,
+h4 .small,
+h5 .small,
+h6 .small {
+ font-size: 75%;
+}
+
+h1,
+.h1 {
+ font-size: 36px;
+}
+
+h2,
+.h2 {
+ font-size: 30px;
+}
+
+h3,
+.h3 {
+ font-size: 24px;
+}
+
+h4,
+.h4 {
+ font-size: 18px;
+}
+
+h5,
+.h5 {
+ font-size: 14px;
+}
+
+h6,
+.h6 {
+ font-size: 12px;
+}
+
+p {
+ margin: 0 0 10px;
+}
+
+.lead {
+ margin-bottom: 20px;
+ font-size: 16px;
+ font-weight: 200;
+ line-height: 1.4;
+}
+
+@media (min-width: 768px) {
+ .lead {
+ font-size: 21px;
+ }
+}
+
+small,
+.small {
+ font-size: 85%;
+}
+
+cite {
+ font-style: normal;
+}
+
+.text-muted {
+ color: #999999;
+}
+
+.text-primary {
+ color: #428bca;
+}
+
+.text-primary:hover {
+ color: #3071a9;
+}
+
+.text-warning {
+ color: #8a6d3b;
+}
+
+.text-warning:hover {
+ color: #66512c;
+}
+
+.text-danger {
+ color: #a94442;
+}
+
+.text-danger:hover {
+ color: #843534;
+}
+
+.text-success {
+ color: #3c763d;
+}
+
+.text-success:hover {
+ color: #2b542c;
+}
+
+.text-info {
+ color: #31708f;
+}
+
+.text-info:hover {
+ color: #245269;
+}
+
+.text-left {
+ text-align: left;
+}
+
+.text-right {
+ text-align: right;
+}
+
+.text-center {
+ text-align: center;
+}
+
+.page-header {
+ padding-bottom: 9px;
+ margin: 40px 0 20px;
+ border-bottom: 1px solid #eeeeee;
+}
+
+ul,
+ol {
+ margin-top: 0;
+ margin-bottom: 10px;
+}
+
+ul ul,
+ol ul,
+ul ol,
+ol ol {
+ margin-bottom: 0;
+}
+
+.list-unstyled {
+ padding-left: 0;
+ list-style: none;
+}
+
+.list-inline {
+ padding-left: 0;
+ list-style: none;
+}
+
+.list-inline > li {
+ display: inline-block;
+ padding-right: 5px;
+ padding-left: 5px;
+}
+
+.list-inline > li:first-child {
+ padding-left: 0;
+}
+
+dl {
+ margin-top: 0;
+ margin-bottom: 20px;
+}
+
+dt,
+dd {
+ line-height: 1.428571429;
+}
+
+dt {
+ font-weight: bold;
+}
+
+dd {
+ margin-left: 0;
+}
+
+@media (min-width: 768px) {
+ .dl-horizontal dt {
+ float: left;
+ width: 160px;
+ overflow: hidden;
+ clear: left;
+ text-align: right;
+ text-overflow: ellipsis;
+ white-space: nowrap;
+ }
+ .dl-horizontal dd {
+ margin-left: 180px;
+ }
+ .dl-horizontal dd:before,
+ .dl-horizontal dd:after {
+ display: table;
+ content: " ";
+ }
+ .dl-horizontal dd:after {
+ clear: both;
+ }
+ .dl-horizontal dd:before,
+ .dl-horizontal dd:after {
+ display: table;
+ content: " ";
+ }
+ .dl-horizontal dd:after {
+ clear: both;
+ }
+}
+
+abbr[title],
+abbr[data-original-title] {
+ cursor: help;
+ border-bottom: 1px dotted #999999;
+}
+
+.initialism {
+ font-size: 90%;
+ text-transform: uppercase;
+}
+
+blockquote {
+ padding: 10px 20px;
+ margin: 0 0 20px;
+ border-left: 5px solid #eeeeee;
+}
+
+blockquote p {
+ font-size: 17.5px;
+ font-weight: 300;
+ line-height: 1.25;
+}
+
+blockquote p:last-child {
+ margin-bottom: 0;
+}
+
+blockquote small,
+blockquote .small {
+ display: block;
+ line-height: 1.428571429;
+ color: #999999;
+}
+
+blockquote small:before,
+blockquote .small:before {
+ content: '\2014 \00A0';
+}
+
+blockquote.pull-right {
+ padding-right: 15px;
+ padding-left: 0;
+ border-right: 5px solid #eeeeee;
+ border-left: 0;
+}
+
+blockquote.pull-right p,
+blockquote.pull-right small,
+blockquote.pull-right .small {
+ text-align: right;
+}
+
+blockquote.pull-right small:before,
+blockquote.pull-right .small:before {
+ content: '';
+}
+
+blockquote.pull-right small:after,
+blockquote.pull-right .small:after {
+ content: '\00A0 \2014';
+}
+
+blockquote:before,
+blockquote:after {
+ content: "";
+}
+
+address {
+ margin-bottom: 20px;
+ font-style: normal;
+ line-height: 1.428571429;
+}
+
+code,
+kbd,
+pre,
+samp {
+ font-family: Menlo, Monaco, Consolas, "Courier New", monospace;
+}
+
+code {
+ padding: 2px 4px;
+ font-size: 90%;
+ color: #c7254e;
+ white-space: nowrap;
+ background-color: #f9f2f4;
+ border-radius: 4px;
+}
+
+pre {
+ display: block;
+ padding: 9.5px;
+ margin: 0 0 10px;
+ font-size: 13px;
+ line-height: 1.428571429;
+ color: #333333;
+ word-break: break-all;
+ word-wrap: break-word;
+ background-color: #f5f5f5;
+ border: 1px solid #cccccc;
+ border-radius: 4px;
+}
+
+pre code {
+ padding: 0;
+ font-size: inherit;
+ color: inherit;
+ white-space: pre-wrap;
+ background-color: transparent;
+ border-radius: 0;
+}
+
+.pre-scrollable {
+ max-height: 340px;
+ overflow-y: scroll;
+}
+
+.container {
+ padding-right: 15px;
+ padding-left: 15px;
+ margin-right: auto;
+ margin-left: auto;
+}
+
+.container:before,
+.container:after {
+ display: table;
+ content: " ";
+}
+
+.container:after {
+ clear: both;
+}
+
+.container:before,
+.container:after {
+ display: table;
+ content: " ";
+}
+
+.container:after {
+ clear: both;
+}
+
+@media (min-width: 768px) {
+ .container {
+ width: 750px;
+ }
+}
+
+@media (min-width: 992px) {
+ .container {
+ width: 970px;
+ }
+}
+
+@media (min-width: 1200px) {
+ .container {
+ width: 1170px;
+ }
+}
+
+.row {
+ margin-right: -15px;
+ margin-left: -15px;
+}
+
+.row:before,
+.row:after {
+ display: table;
+ content: " ";
+}
+
+.row:after {
+ clear: both;
+}
+
+.row:before,
+.row:after {
+ display: table;
+ content: " ";
+}
+
+.row:after {
+ clear: both;
+}
+
+.col-xs-1,
+.col-sm-1,
+.col-md-1,
+.col-lg-1,
+.col-xs-2,
+.col-sm-2,
+.col-md-2,
+.col-lg-2,
+.col-xs-3,
+.col-sm-3,
+.col-md-3,
+.col-lg-3,
+.col-xs-4,
+.col-sm-4,
+.col-md-4,
+.col-lg-4,
+.col-xs-5,
+.col-sm-5,
+.col-md-5,
+.col-lg-5,
+.col-xs-6,
+.col-sm-6,
+.col-md-6,
+.col-lg-6,
+.col-xs-7,
+.col-sm-7,
+.col-md-7,
+.col-lg-7,
+.col-xs-8,
+.col-sm-8,
+.col-md-8,
+.col-lg-8,
+.col-xs-9,
+.col-sm-9,
+.col-md-9,
+.col-lg-9,
+.col-xs-10,
+.col-sm-10,
+.col-md-10,
+.col-lg-10,
+.col-xs-11,
+.col-sm-11,
+.col-md-11,
+.col-lg-11,
+.col-xs-12,
+.col-sm-12,
+.col-md-12,
+.col-lg-12 {
+ position: relative;
+ min-height: 1px;
+ padding-right: 15px;
+ padding-left: 15px;
+}
+
+.col-xs-1,
+.col-xs-2,
+.col-xs-3,
+.col-xs-4,
+.col-xs-5,
+.col-xs-6,
+.col-xs-7,
+.col-xs-8,
+.col-xs-9,
+.col-xs-10,
+.col-xs-11,
+.col-xs-12 {
+ float: left;
+}
+
+.col-xs-12 {
+ width: 100%;
+}
+
+.col-xs-11 {
+ width: 91.66666666666666%;
+}
+
+.col-xs-10 {
+ width: 83.33333333333334%;
+}
+
+.col-xs-9 {
+ width: 75%;
+}
+
+.col-xs-8 {
+ width: 66.66666666666666%;
+}
+
+.col-xs-7 {
+ width: 58.333333333333336%;
+}
+
+.col-xs-6 {
+ width: 50%;
+}
+
+.col-xs-5 {
+ width: 41.66666666666667%;
+}
+
+.col-xs-4 {
+ width: 33.33333333333333%;
+}
+
+.col-xs-3 {
+ width: 25%;
+}
+
+.col-xs-2 {
+ width: 16.666666666666664%;
+}
+
+.col-xs-1 {
+ width: 8.333333333333332%;
+}
+
+.col-xs-pull-12 {
+ right: 100%;
+}
+
+.col-xs-pull-11 {
+ right: 91.66666666666666%;
+}
+
+.col-xs-pull-10 {
+ right: 83.33333333333334%;
+}
+
+.col-xs-pull-9 {
+ right: 75%;
+}
+
+.col-xs-pull-8 {
+ right: 66.66666666666666%;
+}
+
+.col-xs-pull-7 {
+ right: 58.333333333333336%;
+}
+
+.col-xs-pull-6 {
+ right: 50%;
+}
+
+.col-xs-pull-5 {
+ right: 41.66666666666667%;
+}
+
+.col-xs-pull-4 {
+ right: 33.33333333333333%;
+}
+
+.col-xs-pull-3 {
+ right: 25%;
+}
+
+.col-xs-pull-2 {
+ right: 16.666666666666664%;
+}
+
+.col-xs-pull-1 {
+ right: 8.333333333333332%;
+}
+
+.col-xs-pull-0 {
+ right: 0;
+}
+
+.col-xs-push-12 {
+ left: 100%;
+}
+
+.col-xs-push-11 {
+ left: 91.66666666666666%;
+}
+
+.col-xs-push-10 {
+ left: 83.33333333333334%;
+}
+
+.col-xs-push-9 {
+ left: 75%;
+}
+
+.col-xs-push-8 {
+ left: 66.66666666666666%;
+}
+
+.col-xs-push-7 {
+ left: 58.333333333333336%;
+}
+
+.col-xs-push-6 {
+ left: 50%;
+}
+
+.col-xs-push-5 {
+ left: 41.66666666666667%;
+}
+
+.col-xs-push-4 {
+ left: 33.33333333333333%;
+}
+
+.col-xs-push-3 {
+ left: 25%;
+}
+
+.col-xs-push-2 {
+ left: 16.666666666666664%;
+}
+
+.col-xs-push-1 {
+ left: 8.333333333333332%;
+}
+
+.col-xs-push-0 {
+ left: 0;
+}
+
+.col-xs-offset-12 {
+ margin-left: 100%;
+}
+
+.col-xs-offset-11 {
+ margin-left: 91.66666666666666%;
+}
+
+.col-xs-offset-10 {
+ margin-left: 83.33333333333334%;
+}
+
+.col-xs-offset-9 {
+ margin-left: 75%;
+}
+
+.col-xs-offset-8 {
+ margin-left: 66.66666666666666%;
+}
+
+.col-xs-offset-7 {
+ margin-left: 58.333333333333336%;
+}
+
+.col-xs-offset-6 {
+ margin-left: 50%;
+}
+
+.col-xs-offset-5 {
+ margin-left: 41.66666666666667%;
+}
+
+.col-xs-offset-4 {
+ margin-left: 33.33333333333333%;
+}
+
+.col-xs-offset-3 {
+ margin-left: 25%;
+}
+
+.col-xs-offset-2 {
+ margin-left: 16.666666666666664%;
+}
+
+.col-xs-offset-1 {
+ margin-left: 8.333333333333332%;
+}
+
+.col-xs-offset-0 {
+ margin-left: 0;
+}
+
+@media (min-width: 768px) {
+ .col-sm-1,
+ .col-sm-2,
+ .col-sm-3,
+ .col-sm-4,
+ .col-sm-5,
+ .col-sm-6,
+ .col-sm-7,
+ .col-sm-8,
+ .col-sm-9,
+ .col-sm-10,
+ .col-sm-11,
+ .col-sm-12 {
+ float: left;
+ }
+ .col-sm-12 {
+ width: 100%;
+ }
+ .col-sm-11 {
+ width: 91.66666666666666%;
+ }
+ .col-sm-10 {
+ width: 83.33333333333334%;
+ }
+ .col-sm-9 {
+ width: 75%;
+ }
+ .col-sm-8 {
+ width: 66.66666666666666%;
+ }
+ .col-sm-7 {
+ width: 58.333333333333336%;
+ }
+ .col-sm-6 {
+ width: 50%;
+ }
+ .col-sm-5 {
+ width: 41.66666666666667%;
+ }
+ .col-sm-4 {
+ width: 33.33333333333333%;
+ }
+ .col-sm-3 {
+ width: 25%;
+ }
+ .col-sm-2 {
+ width: 16.666666666666664%;
+ }
+ .col-sm-1 {
+ width: 8.333333333333332%;
+ }
+ .col-sm-pull-12 {
+ right: 100%;
+ }
+ .col-sm-pull-11 {
+ right: 91.66666666666666%;
+ }
+ .col-sm-pull-10 {
+ right: 83.33333333333334%;
+ }
+ .col-sm-pull-9 {
+ right: 75%;
+ }
+ .col-sm-pull-8 {
+ right: 66.66666666666666%;
+ }
+ .col-sm-pull-7 {
+ right: 58.333333333333336%;
+ }
+ .col-sm-pull-6 {
+ right: 50%;
+ }
+ .col-sm-pull-5 {
+ right: 41.66666666666667%;
+ }
+ .col-sm-pull-4 {
+ right: 33.33333333333333%;
+ }
+ .col-sm-pull-3 {
+ right: 25%;
+ }
+ .col-sm-pull-2 {
+ right: 16.666666666666664%;
+ }
+ .col-sm-pull-1 {
+ right: 8.333333333333332%;
+ }
+ .col-sm-pull-0 {
+ right: 0;
+ }
+ .col-sm-push-12 {
+ left: 100%;
+ }
+ .col-sm-push-11 {
+ left: 91.66666666666666%;
+ }
+ .col-sm-push-10 {
+ left: 83.33333333333334%;
+ }
+ .col-sm-push-9 {
+ left: 75%;
+ }
+ .col-sm-push-8 {
+ left: 66.66666666666666%;
+ }
+ .col-sm-push-7 {
+ left: 58.333333333333336%;
+ }
+ .col-sm-push-6 {
+ left: 50%;
+ }
+ .col-sm-push-5 {
+ left: 41.66666666666667%;
+ }
+ .col-sm-push-4 {
+ left: 33.33333333333333%;
+ }
+ .col-sm-push-3 {
+ left: 25%;
+ }
+ .col-sm-push-2 {
+ left: 16.666666666666664%;
+ }
+ .col-sm-push-1 {
+ left: 8.333333333333332%;
+ }
+ .col-sm-push-0 {
+ left: 0;
+ }
+ .col-sm-offset-12 {
+ margin-left: 100%;
+ }
+ .col-sm-offset-11 {
+ margin-left: 91.66666666666666%;
+ }
+ .col-sm-offset-10 {
+ margin-left: 83.33333333333334%;
+ }
+ .col-sm-offset-9 {
+ margin-left: 75%;
+ }
+ .col-sm-offset-8 {
+ margin-left: 66.66666666666666%;
+ }
+ .col-sm-offset-7 {
+ margin-left: 58.333333333333336%;
+ }
+ .col-sm-offset-6 {
+ margin-left: 50%;
+ }
+ .col-sm-offset-5 {
+ margin-left: 41.66666666666667%;
+ }
+ .col-sm-offset-4 {
+ margin-left: 33.33333333333333%;
+ }
+ .col-sm-offset-3 {
+ margin-left: 25%;
+ }
+ .col-sm-offset-2 {
+ margin-left: 16.666666666666664%;
+ }
+ .col-sm-offset-1 {
+ margin-left: 8.333333333333332%;
+ }
+ .col-sm-offset-0 {
+ margin-left: 0;
+ }
+}
+
+@media (min-width: 992px) {
+ .col-md-1,
+ .col-md-2,
+ .col-md-3,
+ .col-md-4,
+ .col-md-5,
+ .col-md-6,
+ .col-md-7,
+ .col-md-8,
+ .col-md-9,
+ .col-md-10,
+ .col-md-11,
+ .col-md-12 {
+ float: left;
+ }
+ .col-md-12 {
+ width: 100%;
+ }
+ .col-md-11 {
+ width: 91.66666666666666%;
+ }
+ .col-md-10 {
+ width: 83.33333333333334%;
+ }
+ .col-md-9 {
+ width: 75%;
+ }
+ .col-md-8 {
+ width: 66.66666666666666%;
+ }
+ .col-md-7 {
+ width: 58.333333333333336%;
+ }
+ .col-md-6 {
+ width: 50%;
+ }
+ .col-md-5 {
+ width: 41.66666666666667%;
+ }
+ .col-md-4 {
+ width: 33.33333333333333%;
+ }
+ .col-md-3 {
+ width: 25%;
+ }
+ .col-md-2 {
+ width: 16.666666666666664%;
+ }
+ .col-md-1 {
+ width: 8.333333333333332%;
+ }
+ .col-md-pull-12 {
+ right: 100%;
+ }
+ .col-md-pull-11 {
+ right: 91.66666666666666%;
+ }
+ .col-md-pull-10 {
+ right: 83.33333333333334%;
+ }
+ .col-md-pull-9 {
+ right: 75%;
+ }
+ .col-md-pull-8 {
+ right: 66.66666666666666%;
+ }
+ .col-md-pull-7 {
+ right: 58.333333333333336%;
+ }
+ .col-md-pull-6 {
+ right: 50%;
+ }
+ .col-md-pull-5 {
+ right: 41.66666666666667%;
+ }
+ .col-md-pull-4 {
+ right: 33.33333333333333%;
+ }
+ .col-md-pull-3 {
+ right: 25%;
+ }
+ .col-md-pull-2 {
+ right: 16.666666666666664%;
+ }
+ .col-md-pull-1 {
+ right: 8.333333333333332%;
+ }
+ .col-md-pull-0 {
+ right: 0;
+ }
+ .col-md-push-12 {
+ left: 100%;
+ }
+ .col-md-push-11 {
+ left: 91.66666666666666%;
+ }
+ .col-md-push-10 {
+ left: 83.33333333333334%;
+ }
+ .col-md-push-9 {
+ left: 75%;
+ }
+ .col-md-push-8 {
+ left: 66.66666666666666%;
+ }
+ .col-md-push-7 {
+ left: 58.333333333333336%;
+ }
+ .col-md-push-6 {
+ left: 50%;
+ }
+ .col-md-push-5 {
+ left: 41.66666666666667%;
+ }
+ .col-md-push-4 {
+ left: 33.33333333333333%;
+ }
+ .col-md-push-3 {
+ left: 25%;
+ }
+ .col-md-push-2 {
+ left: 16.666666666666664%;
+ }
+ .col-md-push-1 {
+ left: 8.333333333333332%;
+ }
+ .col-md-push-0 {
+ left: 0;
+ }
+ .col-md-offset-12 {
+ margin-left: 100%;
+ }
+ .col-md-offset-11 {
+ margin-left: 91.66666666666666%;
+ }
+ .col-md-offset-10 {
+ margin-left: 83.33333333333334%;
+ }
+ .col-md-offset-9 {
+ margin-left: 75%;
+ }
+ .col-md-offset-8 {
+ margin-left: 66.66666666666666%;
+ }
+ .col-md-offset-7 {
+ margin-left: 58.333333333333336%;
+ }
+ .col-md-offset-6 {
+ margin-left: 50%;
+ }
+ .col-md-offset-5 {
+ margin-left: 41.66666666666667%;
+ }
+ .col-md-offset-4 {
+ margin-left: 33.33333333333333%;
+ }
+ .col-md-offset-3 {
+ margin-left: 25%;
+ }
+ .col-md-offset-2 {
+ margin-left: 16.666666666666664%;
+ }
+ .col-md-offset-1 {
+ margin-left: 8.333333333333332%;
+ }
+ .col-md-offset-0 {
+ margin-left: 0;
+ }
+}
+
+@media (min-width: 1200px) {
+ .col-lg-1,
+ .col-lg-2,
+ .col-lg-3,
+ .col-lg-4,
+ .col-lg-5,
+ .col-lg-6,
+ .col-lg-7,
+ .col-lg-8,
+ .col-lg-9,
+ .col-lg-10,
+ .col-lg-11,
+ .col-lg-12 {
+ float: left;
+ }
+ .col-lg-12 {
+ width: 100%;
+ }
+ .col-lg-11 {
+ width: 91.66666666666666%;
+ }
+ .col-lg-10 {
+ width: 83.33333333333334%;
+ }
+ .col-lg-9 {
+ width: 75%;
+ }
+ .col-lg-8 {
+ width: 66.66666666666666%;
+ }
+ .col-lg-7 {
+ width: 58.333333333333336%;
+ }
+ .col-lg-6 {
+ width: 50%;
+ }
+ .col-lg-5 {
+ width: 41.66666666666667%;
+ }
+ .col-lg-4 {
+ width: 33.33333333333333%;
+ }
+ .col-lg-3 {
+ width: 25%;
+ }
+ .col-lg-2 {
+ width: 16.666666666666664%;
+ }
+ .col-lg-1 {
+ width: 8.333333333333332%;
+ }
+ .col-lg-pull-12 {
+ right: 100%;
+ }
+ .col-lg-pull-11 {
+ right: 91.66666666666666%;
+ }
+ .col-lg-pull-10 {
+ right: 83.33333333333334%;
+ }
+ .col-lg-pull-9 {
+ right: 75%;
+ }
+ .col-lg-pull-8 {
+ right: 66.66666666666666%;
+ }
+ .col-lg-pull-7 {
+ right: 58.333333333333336%;
+ }
+ .col-lg-pull-6 {
+ right: 50%;
+ }
+ .col-lg-pull-5 {
+ right: 41.66666666666667%;
+ }
+ .col-lg-pull-4 {
+ right: 33.33333333333333%;
+ }
+ .col-lg-pull-3 {
+ right: 25%;
+ }
+ .col-lg-pull-2 {
+ right: 16.666666666666664%;
+ }
+ .col-lg-pull-1 {
+ right: 8.333333333333332%;
+ }
+ .col-lg-pull-0 {
+ right: 0;
+ }
+ .col-lg-push-12 {
+ left: 100%;
+ }
+ .col-lg-push-11 {
+ left: 91.66666666666666%;
+ }
+ .col-lg-push-10 {
+ left: 83.33333333333334%;
+ }
+ .col-lg-push-9 {
+ left: 75%;
+ }
+ .col-lg-push-8 {
+ left: 66.66666666666666%;
+ }
+ .col-lg-push-7 {
+ left: 58.333333333333336%;
+ }
+ .col-lg-push-6 {
+ left: 50%;
+ }
+ .col-lg-push-5 {
+ left: 41.66666666666667%;
+ }
+ .col-lg-push-4 {
+ left: 33.33333333333333%;
+ }
+ .col-lg-push-3 {
+ left: 25%;
+ }
+ .col-lg-push-2 {
+ left: 16.666666666666664%;
+ }
+ .col-lg-push-1 {
+ left: 8.333333333333332%;
+ }
+ .col-lg-push-0 {
+ left: 0;
+ }
+ .col-lg-offset-12 {
+ margin-left: 100%;
+ }
+ .col-lg-offset-11 {
+ margin-left: 91.66666666666666%;
+ }
+ .col-lg-offset-10 {
+ margin-left: 83.33333333333334%;
+ }
+ .col-lg-offset-9 {
+ margin-left: 75%;
+ }
+ .col-lg-offset-8 {
+ margin-left: 66.66666666666666%;
+ }
+ .col-lg-offset-7 {
+ margin-left: 58.333333333333336%;
+ }
+ .col-lg-offset-6 {
+ margin-left: 50%;
+ }
+ .col-lg-offset-5 {
+ margin-left: 41.66666666666667%;
+ }
+ .col-lg-offset-4 {
+ margin-left: 33.33333333333333%;
+ }
+ .col-lg-offset-3 {
+ margin-left: 25%;
+ }
+ .col-lg-offset-2 {
+ margin-left: 16.666666666666664%;
+ }
+ .col-lg-offset-1 {
+ margin-left: 8.333333333333332%;
+ }
+ .col-lg-offset-0 {
+ margin-left: 0;
+ }
+}
+
+table {
+ max-width: 100%;
+ background-color: transparent;
+}
+
+th {
+ text-align: left;
+}
+
+.table {
+ width: 100%;
+ margin-bottom: 20px;
+}
+
+.table > thead > tr > th,
+.table > tbody > tr > th,
+.table > tfoot > tr > th,
+.table > thead > tr > td,
+.table > tbody > tr > td,
+.table > tfoot > tr > td {
+ padding: 8px;
+ line-height: 1.428571429;
+ vertical-align: top;
+ border-top: 1px solid #dddddd;
+}
+
+.table > thead > tr > th {
+ vertical-align: bottom;
+ border-bottom: 2px solid #dddddd;
+}
+
+.table > caption + thead > tr:first-child > th,
+.table > colgroup + thead > tr:first-child > th,
+.table > thead:first-child > tr:first-child > th,
+.table > caption + thead > tr:first-child > td,
+.table > colgroup + thead > tr:first-child > td,
+.table > thead:first-child > tr:first-child > td {
+ border-top: 0;
+}
+
+.table > tbody + tbody {
+ border-top: 2px solid #dddddd;
+}
+
+.table .table {
+ background-color: #ffffff;
+}
+
+.table-condensed > thead > tr > th,
+.table-condensed > tbody > tr > th,
+.table-condensed > tfoot > tr > th,
+.table-condensed > thead > tr > td,
+.table-condensed > tbody > tr > td,
+.table-condensed > tfoot > tr > td {
+ padding: 5px;
+}
+
+.table-bordered {
+ border: 1px solid #dddddd;
+}
+
+.table-bordered > thead > tr > th,
+.table-bordered > tbody > tr > th,
+.table-bordered > tfoot > tr > th,
+.table-bordered > thead > tr > td,
+.table-bordered > tbody > tr > td,
+.table-bordered > tfoot > tr > td {
+ border: 1px solid #dddddd;
+}
+
+.table-bordered > thead > tr > th,
+.table-bordered > thead > tr > td {
+ border-bottom-width: 2px;
+}
+
+.table-striped > tbody > tr:nth-child(odd) > td,
+.table-striped > tbody > tr:nth-child(odd) > th {
+ background-color: #f9f9f9;
+}
+
+.table-hover > tbody > tr:hover > td,
+.table-hover > tbody > tr:hover > th {
+ background-color: #f5f5f5;
+}
+
+table col[class*="col-"] {
+ position: static;
+ display: table-column;
+ float: none;
+}
+
+table td[class*="col-"],
+table th[class*="col-"] {
+ display: table-cell;
+ float: none;
+}
+
+.table > thead > tr > .active,
+.table > tbody > tr > .active,
+.table > tfoot > tr > .active,
+.table > thead > .active > td,
+.table > tbody > .active > td,
+.table > tfoot > .active > td,
+.table > thead > .active > th,
+.table > tbody > .active > th,
+.table > tfoot > .active > th {
+ background-color: #f5f5f5;
+}
+
+.table-hover > tbody > tr > .active:hover,
+.table-hover > tbody > .active:hover > td,
+.table-hover > tbody > .active:hover > th {
+ background-color: #e8e8e8;
+}
+
+.table > thead > tr > .success,
+.table > tbody > tr > .success,
+.table > tfoot > tr > .success,
+.table > thead > .success > td,
+.table > tbody > .success > td,
+.table > tfoot > .success > td,
+.table > thead > .success > th,
+.table > tbody > .success > th,
+.table > tfoot > .success > th {
+ background-color: #dff0d8;
+}
+
+.table-hover > tbody > tr > .success:hover,
+.table-hover > tbody > .success:hover > td,
+.table-hover > tbody > .success:hover > th {
+ background-color: #d0e9c6;
+}
+
+.table > thead > tr > .danger,
+.table > tbody > tr > .danger,
+.table > tfoot > tr > .danger,
+.table > thead > .danger > td,
+.table > tbody > .danger > td,
+.table > tfoot > .danger > td,
+.table > thead > .danger > th,
+.table > tbody > .danger > th,
+.table > tfoot > .danger > th {
+ background-color: #f2dede;
+}
+
+.table-hover > tbody > tr > .danger:hover,
+.table-hover > tbody > .danger:hover > td,
+.table-hover > tbody > .danger:hover > th {
+ background-color: #ebcccc;
+}
+
+.table > thead > tr > .warning,
+.table > tbody > tr > .warning,
+.table > tfoot > tr > .warning,
+.table > thead > .warning > td,
+.table > tbody > .warning > td,
+.table > tfoot > .warning > td,
+.table > thead > .warning > th,
+.table > tbody > .warning > th,
+.table > tfoot > .warning > th {
+ background-color: #fcf8e3;
+}
+
+.table-hover > tbody > tr > .warning:hover,
+.table-hover > tbody > .warning:hover > td,
+.table-hover > tbody > .warning:hover > th {
+ background-color: #faf2cc;
+}
+
+@media (max-width: 767px) {
+ .table-responsive {
+ width: 100%;
+ margin-bottom: 15px;
+ overflow-x: scroll;
+ overflow-y: hidden;
+ border: 1px solid #dddddd;
+ -ms-overflow-style: -ms-autohiding-scrollbar;
+ -webkit-overflow-scrolling: touch;
+ }
+ .table-responsive > .table {
+ margin-bottom: 0;
+ }
+ .table-responsive > .table > thead > tr > th,
+ .table-responsive > .table > tbody > tr > th,
+ .table-responsive > .table > tfoot > tr > th,
+ .table-responsive > .table > thead > tr > td,
+ .table-responsive > .table > tbody > tr > td,
+ .table-responsive > .table > tfoot > tr > td {
+ white-space: nowrap;
+ }
+ .table-responsive > .table-bordered {
+ border: 0;
+ }
+ .table-responsive > .table-bordered > thead > tr > th:first-child,
+ .table-responsive > .table-bordered > tbody > tr > th:first-child,
+ .table-responsive > .table-bordered > tfoot > tr > th:first-child,
+ .table-responsive > .table-bordered > thead > tr > td:first-child,
+ .table-responsive > .table-bordered > tbody > tr > td:first-child,
+ .table-responsive > .table-bordered > tfoot > tr > td:first-child {
+ border-left: 0;
+ }
+ .table-responsive > .table-bordered > thead > tr > th:last-child,
+ .table-responsive > .table-bordered > tbody > tr > th:last-child,
+ .table-responsive > .table-bordered > tfoot > tr > th:last-child,
+ .table-responsive > .table-bordered > thead > tr > td:last-child,
+ .table-responsive > .table-bordered > tbody > tr > td:last-child,
+ .table-responsive > .table-bordered > tfoot > tr > td:last-child {
+ border-right: 0;
+ }
+ .table-responsive > .table-bordered > tbody > tr:last-child > th,
+ .table-responsive > .table-bordered > tfoot > tr:last-child > th,
+ .table-responsive > .table-bordered > tbody > tr:last-child > td,
+ .table-responsive > .table-bordered > tfoot > tr:last-child > td {
+ border-bottom: 0;
+ }
+}
+
+fieldset {
+ padding: 0;
+ margin: 0;
+ border: 0;
+}
+
+legend {
+ display: block;
+ width: 100%;
+ padding: 0;
+ margin-bottom: 20px;
+ font-size: 21px;
+ line-height: inherit;
+ color: #333333;
+ border: 0;
+ border-bottom: 1px solid #e5e5e5;
+}
+
+label {
+ display: inline-block;
+ margin-bottom: 5px;
+ font-weight: bold;
+}
+
+input[type="search"] {
+ -webkit-box-sizing: border-box;
+ -moz-box-sizing: border-box;
+ box-sizing: border-box;
+}
+
+input[type="radio"],
+input[type="checkbox"] {
+ margin: 4px 0 0;
+ margin-top: 1px \9;
+ /* IE8-9 */
+
+ line-height: normal;
+}
+
+input[type="file"] {
+ display: block;
+}
+
+select[multiple],
+select[size] {
+ height: auto;
+}
+
+select optgroup {
+ font-family: inherit;
+ font-size: inherit;
+ font-style: inherit;
+}
+
+input[type="file"]:focus,
+input[type="radio"]:focus,
+input[type="checkbox"]:focus {
+ outline: thin dotted;
+ outline: 5px auto -webkit-focus-ring-color;
+ outline-offset: -2px;
+}
+
+input[type="number"]::-webkit-outer-spin-button,
+input[type="number"]::-webkit-inner-spin-button {
+ height: auto;
+}
+
+output {
+ display: block;
+ padding-top: 7px;
+ font-size: 14px;
+ line-height: 1.428571429;
+ color: #555555;
+ vertical-align: middle;
+}
+
+.form-control {
+ display: block;
+ width: 100%;
+ height: 34px;
+ padding: 6px 12px;
+ font-size: 14px;
+ line-height: 1.428571429;
+ color: #555555;
+ vertical-align: middle;
+ background-color: #ffffff;
+ background-image: none;
+ border: 1px solid #cccccc;
+ border-radius: 4px;
+ -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
+ box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
+ -webkit-transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
+ transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
+}
+
+.form-control:focus {
+ border-color: #66afe9;
+ outline: 0;
+ -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(102, 175, 233, 0.6);
+ box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(102, 175, 233, 0.6);
+}
+
+.form-control:-moz-placeholder {
+ color: #999999;
+}
+
+.form-control::-moz-placeholder {
+ color: #999999;
+ opacity: 1;
+}
+
+.form-control:-ms-input-placeholder {
+ color: #999999;
+}
+
+.form-control::-webkit-input-placeholder {
+ color: #999999;
+}
+
+.form-control[disabled],
+.form-control[readonly],
+fieldset[disabled] .form-control {
+ cursor: not-allowed;
+ background-color: #eeeeee;
+}
+
+textarea.form-control {
+ height: auto;
+}
+
+.form-group {
+ margin-bottom: 15px;
+}
+
+.radio,
+.checkbox {
+ display: block;
+ min-height: 20px;
+ padding-left: 20px;
+ margin-top: 10px;
+ margin-bottom: 10px;
+ vertical-align: middle;
+}
+
+.radio label,
+.checkbox label {
+ display: inline;
+ margin-bottom: 0;
+ font-weight: normal;
+ cursor: pointer;
+}
+
+.radio input[type="radio"],
+.radio-inline input[type="radio"],
+.checkbox input[type="checkbox"],
+.checkbox-inline input[type="checkbox"] {
+ float: left;
+ margin-left: -20px;
+}
+
+.radio + .radio,
+.checkbox + .checkbox {
+ margin-top: -5px;
+}
+
+.radio-inline,
+.checkbox-inline {
+ display: inline-block;
+ padding-left: 20px;
+ margin-bottom: 0;
+ font-weight: normal;
+ vertical-align: middle;
+ cursor: pointer;
+}
+
+.radio-inline + .radio-inline,
+.checkbox-inline + .checkbox-inline {
+ margin-top: 0;
+ margin-left: 10px;
+}
+
+input[type="radio"][disabled],
+input[type="checkbox"][disabled],
+.radio[disabled],
+.radio-inline[disabled],
+.checkbox[disabled],
+.checkbox-inline[disabled],
+fieldset[disabled] input[type="radio"],
+fieldset[disabled] input[type="checkbox"],
+fieldset[disabled] .radio,
+fieldset[disabled] .radio-inline,
+fieldset[disabled] .checkbox,
+fieldset[disabled] .checkbox-inline {
+ cursor: not-allowed;
+}
+
+.input-sm {
+ height: 30px;
+ padding: 5px 10px;
+ font-size: 12px;
+ line-height: 1.5;
+ border-radius: 3px;
+}
+
+select.input-sm {
+ height: 30px;
+ line-height: 30px;
+}
+
+textarea.input-sm {
+ height: auto;
+}
+
+.input-lg {
+ height: 46px;
+ padding: 10px 16px;
+ font-size: 18px;
+ line-height: 1.33;
+ border-radius: 6px;
+}
+
+select.input-lg {
+ height: 46px;
+ line-height: 46px;
+}
+
+textarea.input-lg {
+ height: auto;
+}
+
+.has-warning .help-block,
+.has-warning .control-label,
+.has-warning .radio,
+.has-warning .checkbox,
+.has-warning .radio-inline,
+.has-warning .checkbox-inline {
+ color: #8a6d3b;
+}
+
+.has-warning .form-control {
+ border-color: #8a6d3b;
+ -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
+ box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
+}
+
+.has-warning .form-control:focus {
+ border-color: #66512c;
+ -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #c0a16b;
+ box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #c0a16b;
+}
+
+.has-warning .input-group-addon {
+ color: #8a6d3b;
+ background-color: #fcf8e3;
+ border-color: #8a6d3b;
+}
+
+.has-error .help-block,
+.has-error .control-label,
+.has-error .radio,
+.has-error .checkbox,
+.has-error .radio-inline,
+.has-error .checkbox-inline {
+ color: #a94442;
+}
+
+.has-error .form-control {
+ border-color: #a94442;
+ -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
+ box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
+}
+
+.has-error .form-control:focus {
+ border-color: #843534;
+ -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #ce8483;
+ box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #ce8483;
+}
+
+.has-error .input-group-addon {
+ color: #a94442;
+ background-color: #f2dede;
+ border-color: #a94442;
+}
+
+.has-success .help-block,
+.has-success .control-label,
+.has-success .radio,
+.has-success .checkbox,
+.has-success .radio-inline,
+.has-success .checkbox-inline {
+ color: #3c763d;
+}
+
+.has-success .form-control {
+ border-color: #3c763d;
+ -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
+ box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
+}
+
+.has-success .form-control:focus {
+ border-color: #2b542c;
+ -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #67b168;
+ box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #67b168;
+}
+
+.has-success .input-group-addon {
+ color: #3c763d;
+ background-color: #dff0d8;
+ border-color: #3c763d;
+}
+
+.form-control-static {
+ margin-bottom: 0;
+}
+
+.help-block {
+ display: block;
+ margin-top: 5px;
+ margin-bottom: 10px;
+ color: #737373;
+}
+
+@media (min-width: 768px) {
+ .form-inline .form-group {
+ display: inline-block;
+ margin-bottom: 0;
+ vertical-align: middle;
+ }
+ .form-inline .form-control {
+ display: inline-block;
+ }
+ .form-inline select.form-control {
+ width: auto;
+ }
+ .form-inline .radio,
+ .form-inline .checkbox {
+ display: inline-block;
+ padding-left: 0;
+ margin-top: 0;
+ margin-bottom: 0;
+ }
+ .form-inline .radio input[type="radio"],
+ .form-inline .checkbox input[type="checkbox"] {
+ float: none;
+ margin-left: 0;
+ }
+}
+
+.form-horizontal .control-label,
+.form-horizontal .radio,
+.form-horizontal .checkbox,
+.form-horizontal .radio-inline,
+.form-horizontal .checkbox-inline {
+ padding-top: 7px;
+ margin-top: 0;
+ margin-bottom: 0;
+}
+
+.form-horizontal .radio,
+.form-horizontal .checkbox {
+ min-height: 27px;
+}
+
+.form-horizontal .form-group {
+ margin-right: -15px;
+ margin-left: -15px;
+}
+
+.form-horizontal .form-group:before,
+.form-horizontal .form-group:after {
+ display: table;
+ content: " ";
+}
+
+.form-horizontal .form-group:after {
+ clear: both;
+}
+
+.form-horizontal .form-group:before,
+.form-horizontal .form-group:after {
+ display: table;
+ content: " ";
+}
+
+.form-horizontal .form-group:after {
+ clear: both;
+}
+
+.form-horizontal .form-control-static {
+ padding-top: 7px;
+}
+
+@media (min-width: 768px) {
+ .form-horizontal .control-label {
+ text-align: right;
+ }
+}
+
+.btn {
+ display: inline-block;
+ padding: 6px 12px;
+ margin-bottom: 0;
+ font-size: 14px;
+ font-weight: normal;
+ line-height: 1.428571429;
+ text-align: center;
+ white-space: nowrap;
+ vertical-align: middle;
+ cursor: pointer;
+ background-image: none;
+ border: 1px solid transparent;
+ border-radius: 4px;
+ -webkit-user-select: none;
+ -moz-user-select: none;
+ -ms-user-select: none;
+ -o-user-select: none;
+ user-select: none;
+}
+
+.btn:focus {
+ outline: thin dotted;
+ outline: 5px auto -webkit-focus-ring-color;
+ outline-offset: -2px;
+}
+
+.btn:hover,
+.btn:focus {
+ color: #333333;
+ text-decoration: none;
+}
+
+.btn:active,
+.btn.active {
+ background-image: none;
+ outline: 0;
+ -webkit-box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
+ box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
+}
+
+.btn.disabled,
+.btn[disabled],
+fieldset[disabled] .btn {
+ pointer-events: none;
+ cursor: not-allowed;
+ opacity: 0.65;
+ filter: alpha(opacity=65);
+ -webkit-box-shadow: none;
+ box-shadow: none;
+}
+
+.btn-default {
+ color: #333333;
+ background-color: #ffffff;
+ border-color: #cccccc;
+}
+
+.btn-default:hover,
+.btn-default:focus,
+.btn-default:active,
+.btn-default.active,
+.open .dropdown-toggle.btn-default {
+ color: #333333;
+ background-color: #ebebeb;
+ border-color: #adadad;
+}
+
+.btn-default:active,
+.btn-default.active,
+.open .dropdown-toggle.btn-default {
+ background-image: none;
+}
+
+.btn-default.disabled,
+.btn-default[disabled],
+fieldset[disabled] .btn-default,
+.btn-default.disabled:hover,
+.btn-default[disabled]:hover,
+fieldset[disabled] .btn-default:hover,
+.btn-default.disabled:focus,
+.btn-default[disabled]:focus,
+fieldset[disabled] .btn-default:focus,
+.btn-default.disabled:active,
+.btn-default[disabled]:active,
+fieldset[disabled] .btn-default:active,
+.btn-default.disabled.active,
+.btn-default[disabled].active,
+fieldset[disabled] .btn-default.active {
+ background-color: #ffffff;
+ border-color: #cccccc;
+}
+
+.btn-default .badge {
+ color: #ffffff;
+ background-color: #fff;
+}
+
+.btn-primary {
+ color: #ffffff;
+ background-color: #428bca;
+ border-color: #357ebd;
+}
+
+.btn-primary:hover,
+.btn-primary:focus,
+.btn-primary:active,
+.btn-primary.active,
+.open .dropdown-toggle.btn-primary {
+ color: #ffffff;
+ background-color: #3276b1;
+ border-color: #285e8e;
+}
+
+.btn-primary:active,
+.btn-primary.active,
+.open .dropdown-toggle.btn-primary {
+ background-image: none;
+}
+
+.btn-primary.disabled,
+.btn-primary[disabled],
+fieldset[disabled] .btn-primary,
+.btn-primary.disabled:hover,
+.btn-primary[disabled]:hover,
+fieldset[disabled] .btn-primary:hover,
+.btn-primary.disabled:focus,
+.btn-primary[disabled]:focus,
+fieldset[disabled] .btn-primary:focus,
+.btn-primary.disabled:active,
+.btn-primary[disabled]:active,
+fieldset[disabled] .btn-primary:active,
+.btn-primary.disabled.active,
+.btn-primary[disabled].active,
+fieldset[disabled] .btn-primary.active {
+ background-color: #428bca;
+ border-color: #357ebd;
+}
+
+.btn-primary .badge {
+ color: #428bca;
+ background-color: #fff;
+}
+
+.btn-warning {
+ color: #ffffff;
+ background-color: #f0ad4e;
+ border-color: #eea236;
+}
+
+.btn-warning:hover,
+.btn-warning:focus,
+.btn-warning:active,
+.btn-warning.active,
+.open .dropdown-toggle.btn-warning {
+ color: #ffffff;
+ background-color: #ed9c28;
+ border-color: #d58512;
+}
+
+.btn-warning:active,
+.btn-warning.active,
+.open .dropdown-toggle.btn-warning {
+ background-image: none;
+}
+
+.btn-warning.disabled,
+.btn-warning[disabled],
+fieldset[disabled] .btn-warning,
+.btn-warning.disabled:hover,
+.btn-warning[disabled]:hover,
+fieldset[disabled] .btn-warning:hover,
+.btn-warning.disabled:focus,
+.btn-warning[disabled]:focus,
+fieldset[disabled] .btn-warning:focus,
+.btn-warning.disabled:active,
+.btn-warning[disabled]:active,
+fieldset[disabled] .btn-warning:active,
+.btn-warning.disabled.active,
+.btn-warning[disabled].active,
+fieldset[disabled] .btn-warning.active {
+ background-color: #f0ad4e;
+ border-color: #eea236;
+}
+
+.btn-warning .badge {
+ color: #f0ad4e;
+ background-color: #fff;
+}
+
+.btn-danger {
+ color: #ffffff;
+ background-color: #d9534f;
+ border-color: #d43f3a;
+}
+
+.btn-danger:hover,
+.btn-danger:focus,
+.btn-danger:active,
+.btn-danger.active,
+.open .dropdown-toggle.btn-danger {
+ color: #ffffff;
+ background-color: #d2322d;
+ border-color: #ac2925;
+}
+
+.btn-danger:active,
+.btn-danger.active,
+.open .dropdown-toggle.btn-danger {
+ background-image: none;
+}
+
+.btn-danger.disabled,
+.btn-danger[disabled],
+fieldset[disabled] .btn-danger,
+.btn-danger.disabled:hover,
+.btn-danger[disabled]:hover,
+fieldset[disabled] .btn-danger:hover,
+.btn-danger.disabled:focus,
+.btn-danger[disabled]:focus,
+fieldset[disabled] .btn-danger:focus,
+.btn-danger.disabled:active,
+.btn-danger[disabled]:active,
+fieldset[disabled] .btn-danger:active,
+.btn-danger.disabled.active,
+.btn-danger[disabled].active,
+fieldset[disabled] .btn-danger.active {
+ background-color: #d9534f;
+ border-color: #d43f3a;
+}
+
+.btn-danger .badge {
+ color: #d9534f;
+ background-color: #fff;
+}
+
+.btn-success {
+ color: #ffffff;
+ background-color: #5cb85c;
+ border-color: #4cae4c;
+}
+
+.btn-success:hover,
+.btn-success:focus,
+.btn-success:active,
+.btn-success.active,
+.open .dropdown-toggle.btn-success {
+ color: #ffffff;
+ background-color: #47a447;
+ border-color: #398439;
+}
+
+.btn-success:active,
+.btn-success.active,
+.open .dropdown-toggle.btn-success {
+ background-image: none;
+}
+
+.btn-success.disabled,
+.btn-success[disabled],
+fieldset[disabled] .btn-success,
+.btn-success.disabled:hover,
+.btn-success[disabled]:hover,
+fieldset[disabled] .btn-success:hover,
+.btn-success.disabled:focus,
+.btn-success[disabled]:focus,
+fieldset[disabled] .btn-success:focus,
+.btn-success.disabled:active,
+.btn-success[disabled]:active,
+fieldset[disabled] .btn-success:active,
+.btn-success.disabled.active,
+.btn-success[disabled].active,
+fieldset[disabled] .btn-success.active {
+ background-color: #5cb85c;
+ border-color: #4cae4c;
+}
+
+.btn-success .badge {
+ color: #5cb85c;
+ background-color: #fff;
+}
+
+.btn-info {
+ color: #ffffff;
+ background-color: #5bc0de;
+ border-color: #46b8da;
+}
+
+.btn-info:hover,
+.btn-info:focus,
+.btn-info:active,
+.btn-info.active,
+.open .dropdown-toggle.btn-info {
+ color: #ffffff;
+ background-color: #39b3d7;
+ border-color: #269abc;
+}
+
+.btn-info:active,
+.btn-info.active,
+.open .dropdown-toggle.btn-info {
+ background-image: none;
+}
+
+.btn-info.disabled,
+.btn-info[disabled],
+fieldset[disabled] .btn-info,
+.btn-info.disabled:hover,
+.btn-info[disabled]:hover,
+fieldset[disabled] .btn-info:hover,
+.btn-info.disabled:focus,
+.btn-info[disabled]:focus,
+fieldset[disabled] .btn-info:focus,
+.btn-info.disabled:active,
+.btn-info[disabled]:active,
+fieldset[disabled] .btn-info:active,
+.btn-info.disabled.active,
+.btn-info[disabled].active,
+fieldset[disabled] .btn-info.active {
+ background-color: #5bc0de;
+ border-color: #46b8da;
+}
+
+.btn-info .badge {
+ color: #5bc0de;
+ background-color: #fff;
+}
+
+.btn-link {
+ font-weight: normal;
+ color: #428bca;
+ cursor: pointer;
+ border-radius: 0;
+}
+
+.btn-link,
+.btn-link:active,
+.btn-link[disabled],
+fieldset[disabled] .btn-link {
+ background-color: transparent;
+ -webkit-box-shadow: none;
+ box-shadow: none;
+}
+
+.btn-link,
+.btn-link:hover,
+.btn-link:focus,
+.btn-link:active {
+ border-color: transparent;
+}
+
+.btn-link:hover,
+.btn-link:focus {
+ color: #2a6496;
+ text-decoration: underline;
+ background-color: transparent;
+}
+
+.btn-link[disabled]:hover,
+fieldset[disabled] .btn-link:hover,
+.btn-link[disabled]:focus,
+fieldset[disabled] .btn-link:focus {
+ color: #999999;
+ text-decoration: none;
+}
+
+.btn-lg {
+ padding: 10px 16px;
+ font-size: 18px;
+ line-height: 1.33;
+ border-radius: 6px;
+}
+
+.btn-sm {
+ padding: 5px 10px;
+ font-size: 12px;
+ line-height: 1.5;
+ border-radius: 3px;
+}
+
+.btn-xs {
+ padding: 1px 5px;
+ font-size: 12px;
+ line-height: 1.5;
+ border-radius: 3px;
+}
+
+.btn-block {
+ display: block;
+ width: 100%;
+ padding-right: 0;
+ padding-left: 0;
+}
+
+.btn-block + .btn-block {
+ margin-top: 5px;
+}
+
+input[type="submit"].btn-block,
+input[type="reset"].btn-block,
+input[type="button"].btn-block {
+ width: 100%;
+}
+
+.fade {
+ opacity: 0;
+ -webkit-transition: opacity 0.15s linear;
+ transition: opacity 0.15s linear;
+}
+
+.fade.in {
+ opacity: 1;
+}
+
+.collapse {
+ display: none;
+}
+
+.collapse.in {
+ display: block;
+}
+
+.collapsing {
+ position: relative;
+ height: 0;
+ overflow: hidden;
+ -webkit-transition: height 0.35s ease;
+ transition: height 0.35s ease;
+}
+
+@font-face {
+ font-family: 'Glyphicons Halflings';
+ src: url('../fonts/glyphicons-halflings-regular.eot');
+ src: url('../fonts/glyphicons-halflings-regular.eot?#iefix') format('embedded-opentype'), url('../fonts/glyphicons-halflings-regular.woff') format('woff'), url('../fonts/glyphicons-halflings-regular.ttf') format('truetype'), url('../fonts/glyphicons-halflings-regular.svg#glyphicons-halflingsregular') format('svg');
+}
+
+.glyphicon {
+ position: relative;
+ top: 1px;
+ display: inline-block;
+ font-family: 'Glyphicons Halflings';
+ -webkit-font-smoothing: antialiased;
+ font-style: normal;
+ font-weight: normal;
+ line-height: 1;
+ -moz-osx-font-smoothing: grayscale;
+}
+
+.glyphicon:empty {
+ width: 1em;
+}
+
+.glyphicon-asterisk:before {
+ content: "\2a";
+}
+
+.glyphicon-plus:before {
+ content: "\2b";
+}
+
+.glyphicon-euro:before {
+ content: "\20ac";
+}
+
+.glyphicon-minus:before {
+ content: "\2212";
+}
+
+.glyphicon-cloud:before {
+ content: "\2601";
+}
+
+.glyphicon-envelope:before {
+ content: "\2709";
+}
+
+.glyphicon-pencil:before {
+ content: "\270f";
+}
+
+.glyphicon-glass:before {
+ content: "\e001";
+}
+
+.glyphicon-music:before {
+ content: "\e002";
+}
+
+.glyphicon-search:before {
+ content: "\e003";
+}
+
+.glyphicon-heart:before {
+ content: "\e005";
+}
+
+.glyphicon-star:before {
+ content: "\e006";
+}
+
+.glyphicon-star-empty:before {
+ content: "\e007";
+}
+
+.glyphicon-user:before {
+ content: "\e008";
+}
+
+.glyphicon-film:before {
+ content: "\e009";
+}
+
+.glyphicon-th-large:before {
+ content: "\e010";
+}
+
+.glyphicon-th:before {
+ content: "\e011";
+}
+
+.glyphicon-th-list:before {
+ content: "\e012";
+}
+
+.glyphicon-ok:before {
+ content: "\e013";
+}
+
+.glyphicon-remove:before {
+ content: "\e014";
+}
+
+.glyphicon-zoom-in:before {
+ content: "\e015";
+}
+
+.glyphicon-zoom-out:before {
+ content: "\e016";
+}
+
+.glyphicon-off:before {
+ content: "\e017";
+}
+
+.glyphicon-signal:before {
+ content: "\e018";
+}
+
+.glyphicon-cog:before {
+ content: "\e019";
+}
+
+.glyphicon-trash:before {
+ content: "\e020";
+}
+
+.glyphicon-home:before {
+ content: "\e021";
+}
+
+.glyphicon-file:before {
+ content: "\e022";
+}
+
+.glyphicon-time:before {
+ content: "\e023";
+}
+
+.glyphicon-road:before {
+ content: "\e024";
+}
+
+.glyphicon-download-alt:before {
+ content: "\e025";
+}
+
+.glyphicon-download:before {
+ content: "\e026";
+}
+
+.glyphicon-upload:before {
+ content: "\e027";
+}
+
+.glyphicon-inbox:before {
+ content: "\e028";
+}
+
+.glyphicon-play-circle:before {
+ content: "\e029";
+}
+
+.glyphicon-repeat:before {
+ content: "\e030";
+}
+
+.glyphicon-refresh:before {
+ content: "\e031";
+}
+
+.glyphicon-list-alt:before {
+ content: "\e032";
+}
+
+.glyphicon-lock:before {
+ content: "\e033";
+}
+
+.glyphicon-flag:before {
+ content: "\e034";
+}
+
+.glyphicon-headphones:before {
+ content: "\e035";
+}
+
+.glyphicon-volume-off:before {
+ content: "\e036";
+}
+
+.glyphicon-volume-down:before {
+ content: "\e037";
+}
+
+.glyphicon-volume-up:before {
+ content: "\e038";
+}
+
+.glyphicon-qrcode:before {
+ content: "\e039";
+}
+
+.glyphicon-barcode:before {
+ content: "\e040";
+}
+
+.glyphicon-tag:before {
+ content: "\e041";
+}
+
+.glyphicon-tags:before {
+ content: "\e042";
+}
+
+.glyphicon-book:before {
+ content: "\e043";
+}
+
+.glyphicon-bookmark:before {
+ content: "\e044";
+}
+
+.glyphicon-print:before {
+ content: "\e045";
+}
+
+.glyphicon-camera:before {
+ content: "\e046";
+}
+
+.glyphicon-font:before {
+ content: "\e047";
+}
+
+.glyphicon-bold:before {
+ content: "\e048";
+}
+
+.glyphicon-italic:before {
+ content: "\e049";
+}
+
+.glyphicon-text-height:before {
+ content: "\e050";
+}
+
+.glyphicon-text-width:before {
+ content: "\e051";
+}
+
+.glyphicon-align-left:before {
+ content: "\e052";
+}
+
+.glyphicon-align-center:before {
+ content: "\e053";
+}
+
+.glyphicon-align-right:before {
+ content: "\e054";
+}
+
+.glyphicon-align-justify:before {
+ content: "\e055";
+}
+
+.glyphicon-list:before {
+ content: "\e056";
+}
+
+.glyphicon-indent-left:before {
+ content: "\e057";
+}
+
+.glyphicon-indent-right:before {
+ content: "\e058";
+}
+
+.glyphicon-facetime-video:before {
+ content: "\e059";
+}
+
+.glyphicon-picture:before {
+ content: "\e060";
+}
+
+.glyphicon-map-marker:before {
+ content: "\e062";
+}
+
+.glyphicon-adjust:before {
+ content: "\e063";
+}
+
+.glyphicon-tint:before {
+ content: "\e064";
+}
+
+.glyphicon-edit:before {
+ content: "\e065";
+}
+
+.glyphicon-share:before {
+ content: "\e066";
+}
+
+.glyphicon-check:before {
+ content: "\e067";
+}
+
+.glyphicon-move:before {
+ content: "\e068";
+}
+
+.glyphicon-step-backward:before {
+ content: "\e069";
+}
+
+.glyphicon-fast-backward:before {
+ content: "\e070";
+}
+
+.glyphicon-backward:before {
+ content: "\e071";
+}
+
+.glyphicon-play:before {
+ content: "\e072";
+}
+
+.glyphicon-pause:before {
+ content: "\e073";
+}
+
+.glyphicon-stop:before {
+ content: "\e074";
+}
+
+.glyphicon-forward:before {
+ content: "\e075";
+}
+
+.glyphicon-fast-forward:before {
+ content: "\e076";
+}
+
+.glyphicon-step-forward:before {
+ content: "\e077";
+}
+
+.glyphicon-eject:before {
+ content: "\e078";
+}
+
+.glyphicon-chevron-left:before {
+ content: "\e079";
+}
+
+.glyphicon-chevron-right:before {
+ content: "\e080";
+}
+
+.glyphicon-plus-sign:before {
+ content: "\e081";
+}
+
+.glyphicon-minus-sign:before {
+ content: "\e082";
+}
+
+.glyphicon-remove-sign:before {
+ content: "\e083";
+}
+
+.glyphicon-ok-sign:before {
+ content: "\e084";
+}
+
+.glyphicon-question-sign:before {
+ content: "\e085";
+}
+
+.glyphicon-info-sign:before {
+ content: "\e086";
+}
+
+.glyphicon-screenshot:before {
+ content: "\e087";
+}
+
+.glyphicon-remove-circle:before {
+ content: "\e088";
+}
+
+.glyphicon-ok-circle:before {
+ content: "\e089";
+}
+
+.glyphicon-ban-circle:before {
+ content: "\e090";
+}
+
+.glyphicon-arrow-left:before {
+ content: "\e091";
+}
+
+.glyphicon-arrow-right:before {
+ content: "\e092";
+}
+
+.glyphicon-arrow-up:before {
+ content: "\e093";
+}
+
+.glyphicon-arrow-down:before {
+ content: "\e094";
+}
+
+.glyphicon-share-alt:before {
+ content: "\e095";
+}
+
+.glyphicon-resize-full:before {
+ content: "\e096";
+}
+
+.glyphicon-resize-small:before {
+ content: "\e097";
+}
+
+.glyphicon-exclamation-sign:before {
+ content: "\e101";
+}
+
+.glyphicon-gift:before {
+ content: "\e102";
+}
+
+.glyphicon-leaf:before {
+ content: "\e103";
+}
+
+.glyphicon-fire:before {
+ content: "\e104";
+}
+
+.glyphicon-eye-open:before {
+ content: "\e105";
+}
+
+.glyphicon-eye-close:before {
+ content: "\e106";
+}
+
+.glyphicon-warning-sign:before {
+ content: "\e107";
+}
+
+.glyphicon-plane:before {
+ content: "\e108";
+}
+
+.glyphicon-calendar:before {
+ content: "\e109";
+}
+
+.glyphicon-random:before {
+ content: "\e110";
+}
+
+.glyphicon-comment:before {
+ content: "\e111";
+}
+
+.glyphicon-magnet:before {
+ content: "\e112";
+}
+
+.glyphicon-chevron-up:before {
+ content: "\e113";
+}
+
+.glyphicon-chevron-down:before {
+ content: "\e114";
+}
+
+.glyphicon-retweet:before {
+ content: "\e115";
+}
+
+.glyphicon-shopping-cart:before {
+ content: "\e116";
+}
+
+.glyphicon-folder-close:before {
+ content: "\e117";
+}
+
+.glyphicon-folder-open:before {
+ content: "\e118";
+}
+
+.glyphicon-resize-vertical:before {
+ content: "\e119";
+}
+
+.glyphicon-resize-horizontal:before {
+ content: "\e120";
+}
+
+.glyphicon-hdd:before {
+ content: "\e121";
+}
+
+.glyphicon-bullhorn:before {
+ content: "\e122";
+}
+
+.glyphicon-bell:before {
+ content: "\e123";
+}
+
+.glyphicon-certificate:before {
+ content: "\e124";
+}
+
+.glyphicon-thumbs-up:before {
+ content: "\e125";
+}
+
+.glyphicon-thumbs-down:before {
+ content: "\e126";
+}
+
+.glyphicon-hand-right:before {
+ content: "\e127";
+}
+
+.glyphicon-hand-left:before {
+ content: "\e128";
+}
+
+.glyphicon-hand-up:before {
+ content: "\e129";
+}
+
+.glyphicon-hand-down:before {
+ content: "\e130";
+}
+
+.glyphicon-circle-arrow-right:before {
+ content: "\e131";
+}
+
+.glyphicon-circle-arrow-left:before {
+ content: "\e132";
+}
+
+.glyphicon-circle-arrow-up:before {
+ content: "\e133";
+}
+
+.glyphicon-circle-arrow-down:before {
+ content: "\e134";
+}
+
+.glyphicon-globe:before {
+ content: "\e135";
+}
+
+.glyphicon-wrench:before {
+ content: "\e136";
+}
+
+.glyphicon-tasks:before {
+ content: "\e137";
+}
+
+.glyphicon-filter:before {
+ content: "\e138";
+}
+
+.glyphicon-briefcase:before {
+ content: "\e139";
+}
+
+.glyphicon-fullscreen:before {
+ content: "\e140";
+}
+
+.glyphicon-dashboard:before {
+ content: "\e141";
+}
+
+.glyphicon-paperclip:before {
+ content: "\e142";
+}
+
+.glyphicon-heart-empty:before {
+ content: "\e143";
+}
+
+.glyphicon-link:before {
+ content: "\e144";
+}
+
+.glyphicon-phone:before {
+ content: "\e145";
+}
+
+.glyphicon-pushpin:before {
+ content: "\e146";
+}
+
+.glyphicon-usd:before {
+ content: "\e148";
+}
+
+.glyphicon-gbp:before {
+ content: "\e149";
+}
+
+.glyphicon-sort:before {
+ content: "\e150";
+}
+
+.glyphicon-sort-by-alphabet:before {
+ content: "\e151";
+}
+
+.glyphicon-sort-by-alphabet-alt:before {
+ content: "\e152";
+}
+
+.glyphicon-sort-by-order:before {
+ content: "\e153";
+}
+
+.glyphicon-sort-by-order-alt:before {
+ content: "\e154";
+}
+
+.glyphicon-sort-by-attributes:before {
+ content: "\e155";
+}
+
+.glyphicon-sort-by-attributes-alt:before {
+ content: "\e156";
+}
+
+.glyphicon-unchecked:before {
+ content: "\e157";
+}
+
+.glyphicon-expand:before {
+ content: "\e158";
+}
+
+.glyphicon-collapse-down:before {
+ content: "\e159";
+}
+
+.glyphicon-collapse-up:before {
+ content: "\e160";
+}
+
+.glyphicon-log-in:before {
+ content: "\e161";
+}
+
+.glyphicon-flash:before {
+ content: "\e162";
+}
+
+.glyphicon-log-out:before {
+ content: "\e163";
+}
+
+.glyphicon-new-window:before {
+ content: "\e164";
+}
+
+.glyphicon-record:before {
+ content: "\e165";
+}
+
+.glyphicon-save:before {
+ content: "\e166";
+}
+
+.glyphicon-open:before {
+ content: "\e167";
+}
+
+.glyphicon-saved:before {
+ content: "\e168";
+}
+
+.glyphicon-import:before {
+ content: "\e169";
+}
+
+.glyphicon-export:before {
+ content: "\e170";
+}
+
+.glyphicon-send:before {
+ content: "\e171";
+}
+
+.glyphicon-floppy-disk:before {
+ content: "\e172";
+}
+
+.glyphicon-floppy-saved:before {
+ content: "\e173";
+}
+
+.glyphicon-floppy-remove:before {
+ content: "\e174";
+}
+
+.glyphicon-floppy-save:before {
+ content: "\e175";
+}
+
+.glyphicon-floppy-open:before {
+ content: "\e176";
+}
+
+.glyphicon-credit-card:before {
+ content: "\e177";
+}
+
+.glyphicon-transfer:before {
+ content: "\e178";
+}
+
+.glyphicon-cutlery:before {
+ content: "\e179";
+}
+
+.glyphicon-header:before {
+ content: "\e180";
+}
+
+.glyphicon-compressed:before {
+ content: "\e181";
+}
+
+.glyphicon-earphone:before {
+ content: "\e182";
+}
+
+.glyphicon-phone-alt:before {
+ content: "\e183";
+}
+
+.glyphicon-tower:before {
+ content: "\e184";
+}
+
+.glyphicon-stats:before {
+ content: "\e185";
+}
+
+.glyphicon-sd-video:before {
+ content: "\e186";
+}
+
+.glyphicon-hd-video:before {
+ content: "\e187";
+}
+
+.glyphicon-subtitles:before {
+ content: "\e188";
+}
+
+.glyphicon-sound-stereo:before {
+ content: "\e189";
+}
+
+.glyphicon-sound-dolby:before {
+ content: "\e190";
+}
+
+.glyphicon-sound-5-1:before {
+ content: "\e191";
+}
+
+.glyphicon-sound-6-1:before {
+ content: "\e192";
+}
+
+.glyphicon-sound-7-1:before {
+ content: "\e193";
+}
+
+.glyphicon-copyright-mark:before {
+ content: "\e194";
+}
+
+.glyphicon-registration-mark:before {
+ content: "\e195";
+}
+
+.glyphicon-cloud-download:before {
+ content: "\e197";
+}
+
+.glyphicon-cloud-upload:before {
+ content: "\e198";
+}
+
+.glyphicon-tree-conifer:before {
+ content: "\e199";
+}
+
+.glyphicon-tree-deciduous:before {
+ content: "\e200";
+}
+
+.caret {
+ display: inline-block;
+ width: 0;
+ height: 0;
+ margin-left: 2px;
+ vertical-align: middle;
+ border-top: 4px solid;
+ border-right: 4px solid transparent;
+ border-left: 4px solid transparent;
+}
+
+.dropdown {
+ position: relative;
+}
+
+.dropdown-toggle:focus {
+ outline: 0;
+}
+
+.dropdown-menu {
+ position: absolute;
+ top: 100%;
+ left: 0;
+ z-index: 1000;
+ display: none;
+ float: left;
+ min-width: 160px;
+ padding: 5px 0;
+ margin: 2px 0 0;
+ font-size: 14px;
+ list-style: none;
+ background-color: #ffffff;
+ border: 1px solid #cccccc;
+ border: 1px solid rgba(0, 0, 0, 0.15);
+ border-radius: 4px;
+ -webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
+ box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
+ background-clip: padding-box;
+}
+
+.dropdown-menu.pull-right {
+ right: 0;
+ left: auto;
+}
+
+.dropdown-menu .divider {
+ height: 1px;
+ margin: 9px 0;
+ overflow: hidden;
+ background-color: #e5e5e5;
+}
+
+.dropdown-menu > li > a {
+ display: block;
+ padding: 3px 20px;
+ clear: both;
+ font-weight: normal;
+ line-height: 1.428571429;
+ color: #333333;
+ white-space: nowrap;
+}
+
+.dropdown-menu > li > a:hover,
+.dropdown-menu > li > a:focus {
+ color: #262626;
+ text-decoration: none;
+ background-color: #f5f5f5;
+}
+
+.dropdown-menu > .active > a,
+.dropdown-menu > .active > a:hover,
+.dropdown-menu > .active > a:focus {
+ color: #ffffff;
+ text-decoration: none;
+ background-color: #428bca;
+ outline: 0;
+}
+
+.dropdown-menu > .disabled > a,
+.dropdown-menu > .disabled > a:hover,
+.dropdown-menu > .disabled > a:focus {
+ color: #999999;
+}
+
+.dropdown-menu > .disabled > a:hover,
+.dropdown-menu > .disabled > a:focus {
+ text-decoration: none;
+ cursor: not-allowed;
+ background-color: transparent;
+ background-image: none;
+ filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
+}
+
+.open > .dropdown-menu {
+ display: block;
+}
+
+.open > a {
+ outline: 0;
+}
+
+.dropdown-header {
+ display: block;
+ padding: 3px 20px;
+ font-size: 12px;
+ line-height: 1.428571429;
+ color: #999999;
+}
+
+.dropdown-backdrop {
+ position: fixed;
+ top: 0;
+ right: 0;
+ bottom: 0;
+ left: 0;
+ z-index: 990;
+}
+
+.pull-right > .dropdown-menu {
+ right: 0;
+ left: auto;
+}
+
+.dropup .caret,
+.navbar-fixed-bottom .dropdown .caret {
+ border-top: 0;
+ border-bottom: 4px solid;
+ content: "";
+}
+
+.dropup .dropdown-menu,
+.navbar-fixed-bottom .dropdown .dropdown-menu {
+ top: auto;
+ bottom: 100%;
+ margin-bottom: 1px;
+}
+
+@media (min-width: 768px) {
+ .navbar-right .dropdown-menu {
+ right: 0;
+ left: auto;
+ }
+}
+
+.btn-group,
+.btn-group-vertical {
+ position: relative;
+ display: inline-block;
+ vertical-align: middle;
+}
+
+.btn-group > .btn,
+.btn-group-vertical > .btn {
+ position: relative;
+ float: left;
+}
+
+.btn-group > .btn:hover,
+.btn-group-vertical > .btn:hover,
+.btn-group > .btn:focus,
+.btn-group-vertical > .btn:focus,
+.btn-group > .btn:active,
+.btn-group-vertical > .btn:active,
+.btn-group > .btn.active,
+.btn-group-vertical > .btn.active {
+ z-index: 2;
+}
+
+.btn-group > .btn:focus,
+.btn-group-vertical > .btn:focus {
+ outline: none;
+}
+
+.btn-group .btn + .btn,
+.btn-group .btn + .btn-group,
+.btn-group .btn-group + .btn,
+.btn-group .btn-group + .btn-group {
+ margin-left: -1px;
+}
+
+.btn-toolbar:before,
+.btn-toolbar:after {
+ display: table;
+ content: " ";
+}
+
+.btn-toolbar:after {
+ clear: both;
+}
+
+.btn-toolbar:before,
+.btn-toolbar:after {
+ display: table;
+ content: " ";
+}
+
+.btn-toolbar:after {
+ clear: both;
+}
+
+.btn-toolbar .btn-group {
+ float: left;
+}
+
+.btn-toolbar > .btn + .btn,
+.btn-toolbar > .btn-group + .btn,
+.btn-toolbar > .btn + .btn-group,
+.btn-toolbar > .btn-group + .btn-group {
+ margin-left: 5px;
+}
+
+.btn-group > .btn:not(:first-child):not(:last-child):not(.dropdown-toggle) {
+ border-radius: 0;
+}
+
+.btn-group > .btn:first-child {
+ margin-left: 0;
+}
+
+.btn-group > .btn:first-child:not(:last-child):not(.dropdown-toggle) {
+ border-top-right-radius: 0;
+ border-bottom-right-radius: 0;
+}
+
+.btn-group > .btn:last-child:not(:first-child),
+.btn-group > .dropdown-toggle:not(:first-child) {
+ border-bottom-left-radius: 0;
+ border-top-left-radius: 0;
+}
+
+.btn-group > .btn-group {
+ float: left;
+}
+
+.btn-group > .btn-group:not(:first-child):not(:last-child) > .btn {
+ border-radius: 0;
+}
+
+.btn-group > .btn-group:first-child > .btn:last-child,
+.btn-group > .btn-group:first-child > .dropdown-toggle {
+ border-top-right-radius: 0;
+ border-bottom-right-radius: 0;
+}
+
+.btn-group > .btn-group:last-child > .btn:first-child {
+ border-bottom-left-radius: 0;
+ border-top-left-radius: 0;
+}
+
+.btn-group .dropdown-toggle:active,
+.btn-group.open .dropdown-toggle {
+ outline: 0;
+}
+
+.btn-group-xs > .btn {
+ padding: 1px 5px;
+ font-size: 12px;
+ line-height: 1.5;
+ border-radius: 3px;
+}
+
+.btn-group-sm > .btn {
+ padding: 5px 10px;
+ font-size: 12px;
+ line-height: 1.5;
+ border-radius: 3px;
+}
+
+.btn-group-lg > .btn {
+ padding: 10px 16px;
+ font-size: 18px;
+ line-height: 1.33;
+ border-radius: 6px;
+}
+
+.btn-group > .btn + .dropdown-toggle {
+ padding-right: 8px;
+ padding-left: 8px;
+}
+
+.btn-group > .btn-lg + .dropdown-toggle {
+ padding-right: 12px;
+ padding-left: 12px;
+}
+
+.btn-group.open .dropdown-toggle {
+ -webkit-box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
+ box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
+}
+
+.btn-group.open .dropdown-toggle.btn-link {
+ -webkit-box-shadow: none;
+ box-shadow: none;
+}
+
+.btn .caret {
+ margin-left: 0;
+}
+
+.btn-lg .caret {
+ border-width: 5px 5px 0;
+ border-bottom-width: 0;
+}
+
+.dropup .btn-lg .caret {
+ border-width: 0 5px 5px;
+}
+
+.btn-group-vertical > .btn,
+.btn-group-vertical > .btn-group,
+.btn-group-vertical > .btn-group > .btn {
+ display: block;
+ float: none;
+ width: 100%;
+ max-width: 100%;
+}
+
+.btn-group-vertical > .btn-group:before,
+.btn-group-vertical > .btn-group:after {
+ display: table;
+ content: " ";
+}
+
+.btn-group-vertical > .btn-group:after {
+ clear: both;
+}
+
+.btn-group-vertical > .btn-group:before,
+.btn-group-vertical > .btn-group:after {
+ display: table;
+ content: " ";
+}
+
+.btn-group-vertical > .btn-group:after {
+ clear: both;
+}
+
+.btn-group-vertical > .btn-group > .btn {
+ float: none;
+}
+
+.btn-group-vertical > .btn + .btn,
+.btn-group-vertical > .btn + .btn-group,
+.btn-group-vertical > .btn-group + .btn,
+.btn-group-vertical > .btn-group + .btn-group {
+ margin-top: -1px;
+ margin-left: 0;
+}
+
+.btn-group-vertical > .btn:not(:first-child):not(:last-child) {
+ border-radius: 0;
+}
+
+.btn-group-vertical > .btn:first-child:not(:last-child) {
+ border-top-right-radius: 4px;
+ border-bottom-right-radius: 0;
+ border-bottom-left-radius: 0;
+}
+
+.btn-group-vertical > .btn:last-child:not(:first-child) {
+ border-top-right-radius: 0;
+ border-bottom-left-radius: 4px;
+ border-top-left-radius: 0;
+}
+
+.btn-group-vertical > .btn-group:not(:first-child):not(:last-child) > .btn {
+ border-radius: 0;
+}
+
+.btn-group-vertical > .btn-group:first-child > .btn:last-child,
+.btn-group-vertical > .btn-group:first-child > .dropdown-toggle {
+ border-bottom-right-radius: 0;
+ border-bottom-left-radius: 0;
+}
+
+.btn-group-vertical > .btn-group:last-child > .btn:first-child {
+ border-top-right-radius: 0;
+ border-top-left-radius: 0;
+}
+
+.btn-group-justified {
+ display: table;
+ width: 100%;
+ border-collapse: separate;
+ table-layout: fixed;
+}
+
+.btn-group-justified > .btn,
+.btn-group-justified > .btn-group {
+ display: table-cell;
+ float: none;
+ width: 1%;
+}
+
+.btn-group-justified > .btn-group .btn {
+ width: 100%;
+}
+
+[data-toggle="buttons"] > .btn > input[type="radio"],
+[data-toggle="buttons"] > .btn > input[type="checkbox"] {
+ display: none;
+}
+
+.input-group {
+ position: relative;
+ display: table;
+ border-collapse: separate;
+}
+
+.input-group[class*="col-"] {
+ float: none;
+ padding-right: 0;
+ padding-left: 0;
+}
+
+.input-group .form-control {
+ width: 100%;
+ margin-bottom: 0;
+}
+
+.input-group-lg > .form-control,
+.input-group-lg > .input-group-addon,
+.input-group-lg > .input-group-btn > .btn {
+ height: 46px;
+ padding: 10px 16px;
+ font-size: 18px;
+ line-height: 1.33;
+ border-radius: 6px;
+}
+
+select.input-group-lg > .form-control,
+select.input-group-lg > .input-group-addon,
+select.input-group-lg > .input-group-btn > .btn {
+ height: 46px;
+ line-height: 46px;
+}
+
+textarea.input-group-lg > .form-control,
+textarea.input-group-lg > .input-group-addon,
+textarea.input-group-lg > .input-group-btn > .btn {
+ height: auto;
+}
+
+.input-group-sm > .form-control,
+.input-group-sm > .input-group-addon,
+.input-group-sm > .input-group-btn > .btn {
+ height: 30px;
+ padding: 5px 10px;
+ font-size: 12px;
+ line-height: 1.5;
+ border-radius: 3px;
+}
+
+select.input-group-sm > .form-control,
+select.input-group-sm > .input-group-addon,
+select.input-group-sm > .input-group-btn > .btn {
+ height: 30px;
+ line-height: 30px;
+}
+
+textarea.input-group-sm > .form-control,
+textarea.input-group-sm > .input-group-addon,
+textarea.input-group-sm > .input-group-btn > .btn {
+ height: auto;
+}
+
+.input-group-addon,
+.input-group-btn,
+.input-group .form-control {
+ display: table-cell;
+}
+
+.input-group-addon:not(:first-child):not(:last-child),
+.input-group-btn:not(:first-child):not(:last-child),
+.input-group .form-control:not(:first-child):not(:last-child) {
+ border-radius: 0;
+}
+
+.input-group-addon,
+.input-group-btn {
+ width: 1%;
+ white-space: nowrap;
+ vertical-align: middle;
+}
+
+.input-group-addon {
+ padding: 6px 12px;
+ font-size: 14px;
+ font-weight: normal;
+ line-height: 1;
+ color: #555555;
+ text-align: center;
+ background-color: #eeeeee;
+ border: 1px solid #cccccc;
+ border-radius: 4px;
+}
+
+.input-group-addon.input-sm {
+ padding: 5px 10px;
+ font-size: 12px;
+ border-radius: 3px;
+}
+
+.input-group-addon.input-lg {
+ padding: 10px 16px;
+ font-size: 18px;
+ border-radius: 6px;
+}
+
+.input-group-addon input[type="radio"],
+.input-group-addon input[type="checkbox"] {
+ margin-top: 0;
+}
+
+.input-group .form-control:first-child,
+.input-group-addon:first-child,
+.input-group-btn:first-child > .btn,
+.input-group-btn:first-child > .dropdown-toggle,
+.input-group-btn:last-child > .btn:not(:last-child):not(.dropdown-toggle) {
+ border-top-right-radius: 0;
+ border-bottom-right-radius: 0;
+}
+
+.input-group-addon:first-child {
+ border-right: 0;
+}
+
+.input-group .form-control:last-child,
+.input-group-addon:last-child,
+.input-group-btn:last-child > .btn,
+.input-group-btn:last-child > .dropdown-toggle,
+.input-group-btn:first-child > .btn:not(:first-child) {
+ border-bottom-left-radius: 0;
+ border-top-left-radius: 0;
+}
+
+.input-group-addon:last-child {
+ border-left: 0;
+}
+
+.input-group-btn {
+ position: relative;
+ white-space: nowrap;
+}
+
+.input-group-btn:first-child > .btn {
+ margin-right: -1px;
+}
+
+.input-group-btn:last-child > .btn {
+ margin-left: -1px;
+}
+
+.input-group-btn > .btn {
+ position: relative;
+}
+
+.input-group-btn > .btn + .btn {
+ margin-left: -4px;
+}
+
+.input-group-btn > .btn:hover,
+.input-group-btn > .btn:active {
+ z-index: 2;
+}
+
+.nav {
+ padding-left: 0;
+ margin-bottom: 0;
+ list-style: none;
+}
+
+.nav:before,
+.nav:after {
+ display: table;
+ content: " ";
+}
+
+.nav:after {
+ clear: both;
+}
+
+.nav:before,
+.nav:after {
+ display: table;
+ content: " ";
+}
+
+.nav:after {
+ clear: both;
+}
+
+.nav > li {
+ position: relative;
+ display: block;
+}
+
+.nav > li > a {
+ position: relative;
+ display: block;
+ padding: 10px 15px;
+}
+
+.nav > li > a:hover,
+.nav > li > a:focus {
+ text-decoration: none;
+ background-color: #eeeeee;
+}
+
+.nav > li.disabled > a {
+ color: #999999;
+}
+
+.nav > li.disabled > a:hover,
+.nav > li.disabled > a:focus {
+ color: #999999;
+ text-decoration: none;
+ cursor: not-allowed;
+ background-color: transparent;
+}
+
+.nav .open > a,
+.nav .open > a:hover,
+.nav .open > a:focus {
+ background-color: #eeeeee;
+ border-color: #428bca;
+}
+
+.nav .nav-divider {
+ height: 1px;
+ margin: 9px 0;
+ overflow: hidden;
+ background-color: #e5e5e5;
+}
+
+.nav > li > a > img {
+ max-width: none;
+}
+
+.nav-tabs {
+ border-bottom: 1px solid #dddddd;
+}
+
+.nav-tabs > li {
+ float: left;
+ margin-bottom: -1px;
+}
+
+.nav-tabs > li > a {
+ margin-right: 2px;
+ line-height: 1.428571429;
+ border: 1px solid transparent;
+ border-radius: 4px 4px 0 0;
+}
+
+.nav-tabs > li > a:hover {
+ border-color: #eeeeee #eeeeee #dddddd;
+}
+
+.nav-tabs > li.active > a,
+.nav-tabs > li.active > a:hover,
+.nav-tabs > li.active > a:focus {
+ color: #555555;
+ cursor: default;
+ background-color: #ffffff;
+ border: 1px solid #dddddd;
+ border-bottom-color: transparent;
+}
+
+.nav-tabs.nav-justified {
+ width: 100%;
+ border-bottom: 0;
+}
+
+.nav-tabs.nav-justified > li {
+ float: none;
+}
+
+.nav-tabs.nav-justified > li > a {
+ margin-bottom: 5px;
+ text-align: center;
+}
+
+.nav-tabs.nav-justified > .dropdown .dropdown-menu {
+ top: auto;
+ left: auto;
+}
+
+@media (min-width: 768px) {
+ .nav-tabs.nav-justified > li {
+ display: table-cell;
+ width: 1%;
+ }
+ .nav-tabs.nav-justified > li > a {
+ margin-bottom: 0;
+ }
+}
+
+.nav-tabs.nav-justified > li > a {
+ margin-right: 0;
+ border-radius: 4px;
+}
+
+.nav-tabs.nav-justified > .active > a,
+.nav-tabs.nav-justified > .active > a:hover,
+.nav-tabs.nav-justified > .active > a:focus {
+ border: 1px solid #dddddd;
+}
+
+@media (min-width: 768px) {
+ .nav-tabs.nav-justified > li > a {
+ border-bottom: 1px solid #dddddd;
+ border-radius: 4px 4px 0 0;
+ }
+ .nav-tabs.nav-justified > .active > a,
+ .nav-tabs.nav-justified > .active > a:hover,
+ .nav-tabs.nav-justified > .active > a:focus {
+ border-bottom-color: #ffffff;
+ }
+}
+
+.nav-pills > li {
+ float: left;
+}
+
+.nav-pills > li > a {
+ border-radius: 4px;
+}
+
+.nav-pills > li + li {
+ margin-left: 2px;
+}
+
+.nav-pills > li.active > a,
+.nav-pills > li.active > a:hover,
+.nav-pills > li.active > a:focus {
+ color: #ffffff;
+ background-color: #428bca;
+}
+
+.nav-stacked > li {
+ float: none;
+}
+
+.nav-stacked > li + li {
+ margin-top: 2px;
+ margin-left: 0;
+}
+
+.nav-justified {
+ width: 100%;
+}
+
+.nav-justified > li {
+ float: none;
+}
+
+.nav-justified > li > a {
+ margin-bottom: 5px;
+ text-align: center;
+}
+
+.nav-justified > .dropdown .dropdown-menu {
+ top: auto;
+ left: auto;
+}
+
+@media (min-width: 768px) {
+ .nav-justified > li {
+ display: table-cell;
+ width: 1%;
+ }
+ .nav-justified > li > a {
+ margin-bottom: 0;
+ }
+}
+
+.nav-tabs-justified {
+ border-bottom: 0;
+}
+
+.nav-tabs-justified > li > a {
+ margin-right: 0;
+ border-radius: 4px;
+}
+
+.nav-tabs-justified > .active > a,
+.nav-tabs-justified > .active > a:hover,
+.nav-tabs-justified > .active > a:focus {
+ border: 1px solid #dddddd;
+}
+
+@media (min-width: 768px) {
+ .nav-tabs-justified > li > a {
+ border-bottom: 1px solid #dddddd;
+ border-radius: 4px 4px 0 0;
+ }
+ .nav-tabs-justified > .active > a,
+ .nav-tabs-justified > .active > a:hover,
+ .nav-tabs-justified > .active > a:focus {
+ border-bottom-color: #ffffff;
+ }
+}
+
+.tab-content > .tab-pane {
+ display: none;
+}
+
+.tab-content > .active {
+ display: block;
+}
+
+.nav-tabs .dropdown-menu {
+ margin-top: -1px;
+ border-top-right-radius: 0;
+ border-top-left-radius: 0;
+}
+
+.navbar {
+ position: relative;
+ min-height: 50px;
+ margin-bottom: 20px;
+ border: 1px solid transparent;
+}
+
+.navbar:before,
+.navbar:after {
+ display: table;
+ content: " ";
+}
+
+.navbar:after {
+ clear: both;
+}
+
+.navbar:before,
+.navbar:after {
+ display: table;
+ content: " ";
+}
+
+.navbar:after {
+ clear: both;
+}
+
+@media (min-width: 768px) {
+ .navbar {
+ border-radius: 4px;
+ }
+}
+
+.navbar-header:before,
+.navbar-header:after {
+ display: table;
+ content: " ";
+}
+
+.navbar-header:after {
+ clear: both;
+}
+
+.navbar-header:before,
+.navbar-header:after {
+ display: table;
+ content: " ";
+}
+
+.navbar-header:after {
+ clear: both;
+}
+
+@media (min-width: 768px) {
+ .navbar-header {
+ float: left;
+ }
+}
+
+.navbar-collapse {
+ max-height: 340px;
+ padding-right: 15px;
+ padding-left: 15px;
+ overflow-x: visible;
+ border-top: 1px solid transparent;
+ box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
+ -webkit-overflow-scrolling: touch;
+}
+
+.navbar-collapse:before,
+.navbar-collapse:after {
+ display: table;
+ content: " ";
+}
+
+.navbar-collapse:after {
+ clear: both;
+}
+
+.navbar-collapse:before,
+.navbar-collapse:after {
+ display: table;
+ content: " ";
+}
+
+.navbar-collapse:after {
+ clear: both;
+}
+
+.navbar-collapse.in {
+ overflow-y: auto;
+}
+
+@media (min-width: 768px) {
+ .navbar-collapse {
+ width: auto;
+ border-top: 0;
+ box-shadow: none;
+ }
+ .navbar-collapse.collapse {
+ display: block !important;
+ height: auto !important;
+ padding-bottom: 0;
+ overflow: visible !important;
+ }
+ .navbar-collapse.in {
+ overflow-y: visible;
+ }
+ .navbar-fixed-top .navbar-collapse,
+ .navbar-static-top .navbar-collapse,
+ .navbar-fixed-bottom .navbar-collapse {
+ padding-right: 0;
+ padding-left: 0;
+ }
+}
+
+.container > .navbar-header,
+.container > .navbar-collapse {
+ margin-right: -15px;
+ margin-left: -15px;
+}
+
+@media (min-width: 768px) {
+ .container > .navbar-header,
+ .container > .navbar-collapse {
+ margin-right: 0;
+ margin-left: 0;
+ }
+}
+
+.navbar-static-top {
+ z-index: 1000;
+ border-width: 0 0 1px;
+}
+
+@media (min-width: 768px) {
+ .navbar-static-top {
+ border-radius: 0;
+ }
+}
+
+.navbar-fixed-top,
+.navbar-fixed-bottom {
+ position: fixed;
+ right: 0;
+ left: 0;
+ z-index: 1030;
+}
+
+@media (min-width: 768px) {
+ .navbar-fixed-top,
+ .navbar-fixed-bottom {
+ border-radius: 0;
+ }
+}
+
+.navbar-fixed-top {
+ top: 0;
+ border-width: 0 0 1px;
+}
+
+.navbar-fixed-bottom {
+ bottom: 0;
+ margin-bottom: 0;
+ border-width: 1px 0 0;
+}
+
+.navbar-brand {
+ float: left;
+ padding: 15px 15px;
+ font-size: 18px;
+ line-height: 20px;
+}
+
+.navbar-brand:hover,
+.navbar-brand:focus {
+ text-decoration: none;
+}
+
+@media (min-width: 768px) {
+ .navbar > .container .navbar-brand {
+ margin-left: -15px;
+ }
+}
+
+.navbar-toggle {
+ position: relative;
+ float: right;
+ padding: 9px 10px;
+ margin-top: 8px;
+ margin-right: 15px;
+ margin-bottom: 8px;
+ background-color: transparent;
+ background-image: none;
+ border: 1px solid transparent;
+ border-radius: 4px;
+}
+
+.navbar-toggle .icon-bar {
+ display: block;
+ width: 22px;
+ height: 2px;
+ border-radius: 1px;
+}
+
+.navbar-toggle .icon-bar + .icon-bar {
+ margin-top: 4px;
+}
+
+@media (min-width: 768px) {
+ .navbar-toggle {
+ display: none;
+ }
+}
+
+.navbar-nav {
+ margin: 7.5px -15px;
+}
+
+.navbar-nav > li > a {
+ padding-top: 10px;
+ padding-bottom: 10px;
+ line-height: 20px;
+}
+
+@media (max-width: 767px) {
+ .navbar-nav .open .dropdown-menu {
+ position: static;
+ float: none;
+ width: auto;
+ margin-top: 0;
+ background-color: transparent;
+ border: 0;
+ box-shadow: none;
+ }
+ .navbar-nav .open .dropdown-menu > li > a,
+ .navbar-nav .open .dropdown-menu .dropdown-header {
+ padding: 5px 15px 5px 25px;
+ }
+ .navbar-nav .open .dropdown-menu > li > a {
+ line-height: 20px;
+ }
+ .navbar-nav .open .dropdown-menu > li > a:hover,
+ .navbar-nav .open .dropdown-menu > li > a:focus {
+ background-image: none;
+ }
+}
+
+@media (min-width: 768px) {
+ .navbar-nav {
+ float: left;
+ margin: 0;
+ }
+ .navbar-nav > li {
+ float: left;
+ }
+ .navbar-nav > li > a {
+ padding-top: 15px;
+ padding-bottom: 15px;
+ }
+ .navbar-nav.navbar-right:last-child {
+ margin-right: -15px;
+ }
+}
+
+@media (min-width: 768px) {
+ .navbar-left {
+ float: left !important;
+ }
+ .navbar-right {
+ float: right !important;
+ }
+}
+
+.navbar-form {
+ padding: 10px 15px;
+ margin-top: 8px;
+ margin-right: -15px;
+ margin-bottom: 8px;
+ margin-left: -15px;
+ border-top: 1px solid transparent;
+ border-bottom: 1px solid transparent;
+ -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 1px 0 rgba(255, 255, 255, 0.1);
+ box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 1px 0 rgba(255, 255, 255, 0.1);
+}
+
+@media (min-width: 768px) {
+ .navbar-form .form-group {
+ display: inline-block;
+ margin-bottom: 0;
+ vertical-align: middle;
+ }
+ .navbar-form .form-control {
+ display: inline-block;
+ }
+ .navbar-form select.form-control {
+ width: auto;
+ }
+ .navbar-form .radio,
+ .navbar-form .checkbox {
+ display: inline-block;
+ padding-left: 0;
+ margin-top: 0;
+ margin-bottom: 0;
+ }
+ .navbar-form .radio input[type="radio"],
+ .navbar-form .checkbox input[type="checkbox"] {
+ float: none;
+ margin-left: 0;
+ }
+}
+
+@media (max-width: 767px) {
+ .navbar-form .form-group {
+ margin-bottom: 5px;
+ }
+}
+
+@media (min-width: 768px) {
+ .navbar-form {
+ width: auto;
+ padding-top: 0;
+ padding-bottom: 0;
+ margin-right: 0;
+ margin-left: 0;
+ border: 0;
+ -webkit-box-shadow: none;
+ box-shadow: none;
+ }
+ .navbar-form.navbar-right:last-child {
+ margin-right: -15px;
+ }
+}
+
+.navbar-nav > li > .dropdown-menu {
+ margin-top: 0;
+ border-top-right-radius: 0;
+ border-top-left-radius: 0;
+}
+
+.navbar-fixed-bottom .navbar-nav > li > .dropdown-menu {
+ border-bottom-right-radius: 0;
+ border-bottom-left-radius: 0;
+}
+
+.navbar-nav.pull-right > li > .dropdown-menu,
+.navbar-nav > li > .dropdown-menu.pull-right {
+ right: 0;
+ left: auto;
+}
+
+.navbar-btn {
+ margin-top: 8px;
+ margin-bottom: 8px;
+}
+
+.navbar-btn.btn-sm {
+ margin-top: 10px;
+ margin-bottom: 10px;
+}
+
+.navbar-btn.btn-xs {
+ margin-top: 14px;
+ margin-bottom: 14px;
+}
+
+.navbar-text {
+ margin-top: 15px;
+ margin-bottom: 15px;
+}
+
+@media (min-width: 768px) {
+ .navbar-text {
+ float: left;
+ margin-right: 15px;
+ margin-left: 15px;
+ }
+ .navbar-text.navbar-right:last-child {
+ margin-right: 0;
+ }
+}
+
+.navbar-default {
+ background-color: #f8f8f8;
+ border-color: #e7e7e7;
+}
+
+.navbar-default .navbar-brand {
+ color: #777777;
+}
+
+.navbar-default .navbar-brand:hover,
+.navbar-default .navbar-brand:focus {
+ color: #5e5e5e;
+ background-color: transparent;
+}
+
+.navbar-default .navbar-text {
+ color: #777777;
+}
+
+.navbar-default .navbar-nav > li > a {
+ color: #777777;
+}
+
+.navbar-default .navbar-nav > li > a:hover,
+.navbar-default .navbar-nav > li > a:focus {
+ color: #333333;
+ background-color: transparent;
+}
+
+.navbar-default .navbar-nav > .active > a,
+.navbar-default .navbar-nav > .active > a:hover,
+.navbar-default .navbar-nav > .active > a:focus {
+ color: #555555;
+ background-color: #e7e7e7;
+}
+
+.navbar-default .navbar-nav > .disabled > a,
+.navbar-default .navbar-nav > .disabled > a:hover,
+.navbar-default .navbar-nav > .disabled > a:focus {
+ color: #cccccc;
+ background-color: transparent;
+}
+
+.navbar-default .navbar-toggle {
+ border-color: #dddddd;
+}
+
+.navbar-default .navbar-toggle:hover,
+.navbar-default .navbar-toggle:focus {
+ background-color: #dddddd;
+}
+
+.navbar-default .navbar-toggle .icon-bar {
+ background-color: #cccccc;
+}
+
+.navbar-default .navbar-collapse,
+.navbar-default .navbar-form {
+ border-color: #e7e7e7;
+}
+
+.navbar-default .navbar-nav > .open > a,
+.navbar-default .navbar-nav > .open > a:hover,
+.navbar-default .navbar-nav > .open > a:focus {
+ color: #555555;
+ background-color: #e7e7e7;
+}
+
+@media (max-width: 767px) {
+ .navbar-default .navbar-nav .open .dropdown-menu > li > a {
+ color: #777777;
+ }
+ .navbar-default .navbar-nav .open .dropdown-menu > li > a:hover,
+ .navbar-default .navbar-nav .open .dropdown-menu > li > a:focus {
+ color: #333333;
+ background-color: transparent;
+ }
+ .navbar-default .navbar-nav .open .dropdown-menu > .active > a,
+ .navbar-default .navbar-nav .open .dropdown-menu > .active > a:hover,
+ .navbar-default .navbar-nav .open .dropdown-menu > .active > a:focus {
+ color: #555555;
+ background-color: #e7e7e7;
+ }
+ .navbar-default .navbar-nav .open .dropdown-menu > .disabled > a,
+ .navbar-default .navbar-nav .open .dropdown-menu > .disabled > a:hover,
+ .navbar-default .navbar-nav .open .dropdown-menu > .disabled > a:focus {
+ color: #cccccc;
+ background-color: transparent;
+ }
+}
+
+.navbar-default .navbar-link {
+ color: #777777;
+}
+
+.navbar-default .navbar-link:hover {
+ color: #333333;
+}
+
+.navbar-inverse {
+ background-color: #222222;
+ border-color: #080808;
+}
+
+.navbar-inverse .navbar-brand {
+ color: #999999;
+}
+
+.navbar-inverse .navbar-brand:hover,
+.navbar-inverse .navbar-brand:focus {
+ color: #ffffff;
+ background-color: transparent;
+}
+
+.navbar-inverse .navbar-text {
+ color: #999999;
+}
+
+.navbar-inverse .navbar-nav > li > a {
+ color: #999999;
+}
+
+.navbar-inverse .navbar-nav > li > a:hover,
+.navbar-inverse .navbar-nav > li > a:focus {
+ color: #ffffff;
+ background-color: transparent;
+}
+
+.navbar-inverse .navbar-nav > .active > a,
+.navbar-inverse .navbar-nav > .active > a:hover,
+.navbar-inverse .navbar-nav > .active > a:focus {
+ color: #ffffff;
+ background-color: #080808;
+}
+
+.navbar-inverse .navbar-nav > .disabled > a,
+.navbar-inverse .navbar-nav > .disabled > a:hover,
+.navbar-inverse .navbar-nav > .disabled > a:focus {
+ color: #444444;
+ background-color: transparent;
+}
+
+.navbar-inverse .navbar-toggle {
+ border-color: #333333;
+}
+
+.navbar-inverse .navbar-toggle:hover,
+.navbar-inverse .navbar-toggle:focus {
+ background-color: #333333;
+}
+
+.navbar-inverse .navbar-toggle .icon-bar {
+ background-color: #ffffff;
+}
+
+.navbar-inverse .navbar-collapse,
+.navbar-inverse .navbar-form {
+ border-color: #101010;
+}
+
+.navbar-inverse .navbar-nav > .open > a,
+.navbar-inverse .navbar-nav > .open > a:hover,
+.navbar-inverse .navbar-nav > .open > a:focus {
+ color: #ffffff;
+ background-color: #080808;
+}
+
+@media (max-width: 767px) {
+ .navbar-inverse .navbar-nav .open .dropdown-menu > .dropdown-header {
+ border-color: #080808;
+ }
+ .navbar-inverse .navbar-nav .open .dropdown-menu .divider {
+ background-color: #080808;
+ }
+ .navbar-inverse .navbar-nav .open .dropdown-menu > li > a {
+ color: #999999;
+ }
+ .navbar-inverse .navbar-nav .open .dropdown-menu > li > a:hover,
+ .navbar-inverse .navbar-nav .open .dropdown-menu > li > a:focus {
+ color: #ffffff;
+ background-color: transparent;
+ }
+ .navbar-inverse .navbar-nav .open .dropdown-menu > .active > a,
+ .navbar-inverse .navbar-nav .open .dropdown-menu > .active > a:hover,
+ .navbar-inverse .navbar-nav .open .dropdown-menu > .active > a:focus {
+ color: #ffffff;
+ background-color: #080808;
+ }
+ .navbar-inverse .navbar-nav .open .dropdown-menu > .disabled > a,
+ .navbar-inverse .navbar-nav .open .dropdown-menu > .disabled > a:hover,
+ .navbar-inverse .navbar-nav .open .dropdown-menu > .disabled > a:focus {
+ color: #444444;
+ background-color: transparent;
+ }
+}
+
+.navbar-inverse .navbar-link {
+ color: #999999;
+}
+
+.navbar-inverse .navbar-link:hover {
+ color: #ffffff;
+}
+
+.breadcrumb {
+ padding: 8px 15px;
+ margin-bottom: 20px;
+ list-style: none;
+ background-color: #f5f5f5;
+ border-radius: 4px;
+}
+
+.breadcrumb > li {
+ display: inline-block;
+}
+
+.breadcrumb > li + li:before {
+ padding: 0 5px;
+ color: #cccccc;
+ content: "/\00a0";
+}
+
+.breadcrumb > .active {
+ color: #999999;
+}
+
+.pagination {
+ display: inline-block;
+ padding-left: 0;
+ margin: 20px 0;
+ border-radius: 4px;
+}
+
+.pagination > li {
+ display: inline;
+}
+
+.pagination > li > a,
+.pagination > li > span {
+ position: relative;
+ float: left;
+ padding: 6px 12px;
+ margin-left: -1px;
+ line-height: 1.428571429;
+ text-decoration: none;
+ background-color: #ffffff;
+ border: 1px solid #dddddd;
+}
+
+.pagination > li:first-child > a,
+.pagination > li:first-child > span {
+ margin-left: 0;
+ border-bottom-left-radius: 4px;
+ border-top-left-radius: 4px;
+}
+
+.pagination > li:last-child > a,
+.pagination > li:last-child > span {
+ border-top-right-radius: 4px;
+ border-bottom-right-radius: 4px;
+}
+
+.pagination > li > a:hover,
+.pagination > li > span:hover,
+.pagination > li > a:focus,
+.pagination > li > span:focus {
+ background-color: #eeeeee;
+}
+
+.pagination > .active > a,
+.pagination > .active > span,
+.pagination > .active > a:hover,
+.pagination > .active > span:hover,
+.pagination > .active > a:focus,
+.pagination > .active > span:focus {
+ z-index: 2;
+ color: #ffffff;
+ cursor: default;
+ background-color: #428bca;
+ border-color: #428bca;
+}
+
+.pagination > .disabled > span,
+.pagination > .disabled > span:hover,
+.pagination > .disabled > span:focus,
+.pagination > .disabled > a,
+.pagination > .disabled > a:hover,
+.pagination > .disabled > a:focus {
+ color: #999999;
+ cursor: not-allowed;
+ background-color: #ffffff;
+ border-color: #dddddd;
+}
+
+.pagination-lg > li > a,
+.pagination-lg > li > span {
+ padding: 10px 16px;
+ font-size: 18px;
+}
+
+.pagination-lg > li:first-child > a,
+.pagination-lg > li:first-child > span {
+ border-bottom-left-radius: 6px;
+ border-top-left-radius: 6px;
+}
+
+.pagination-lg > li:last-child > a,
+.pagination-lg > li:last-child > span {
+ border-top-right-radius: 6px;
+ border-bottom-right-radius: 6px;
+}
+
+.pagination-sm > li > a,
+.pagination-sm > li > span {
+ padding: 5px 10px;
+ font-size: 12px;
+}
+
+.pagination-sm > li:first-child > a,
+.pagination-sm > li:first-child > span {
+ border-bottom-left-radius: 3px;
+ border-top-left-radius: 3px;
+}
+
+.pagination-sm > li:last-child > a,
+.pagination-sm > li:last-child > span {
+ border-top-right-radius: 3px;
+ border-bottom-right-radius: 3px;
+}
+
+.pager {
+ padding-left: 0;
+ margin: 20px 0;
+ text-align: center;
+ list-style: none;
+}
+
+.pager:before,
+.pager:after {
+ display: table;
+ content: " ";
+}
+
+.pager:after {
+ clear: both;
+}
+
+.pager:before,
+.pager:after {
+ display: table;
+ content: " ";
+}
+
+.pager:after {
+ clear: both;
+}
+
+.pager li {
+ display: inline;
+}
+
+.pager li > a,
+.pager li > span {
+ display: inline-block;
+ padding: 5px 14px;
+ background-color: #ffffff;
+ border: 1px solid #dddddd;
+ border-radius: 15px;
+}
+
+.pager li > a:hover,
+.pager li > a:focus {
+ text-decoration: none;
+ background-color: #eeeeee;
+}
+
+.pager .next > a,
+.pager .next > span {
+ float: right;
+}
+
+.pager .previous > a,
+.pager .previous > span {
+ float: left;
+}
+
+.pager .disabled > a,
+.pager .disabled > a:hover,
+.pager .disabled > a:focus,
+.pager .disabled > span {
+ color: #999999;
+ cursor: not-allowed;
+ background-color: #ffffff;
+}
+
+.label {
+ display: inline;
+ padding: .2em .6em .3em;
+ font-size: 75%;
+ font-weight: bold;
+ line-height: 1;
+ color: #ffffff;
+ text-align: center;
+ white-space: nowrap;
+ vertical-align: baseline;
+ border-radius: .25em;
+}
+
+.label[href]:hover,
+.label[href]:focus {
+ color: #ffffff;
+ text-decoration: none;
+ cursor: pointer;
+}
+
+.label:empty {
+ display: none;
+}
+
+.btn .label {
+ position: relative;
+ top: -1px;
+}
+
+.label-default {
+ background-color: #999999;
+}
+
+.label-default[href]:hover,
+.label-default[href]:focus {
+ background-color: #808080;
+}
+
+.label-primary {
+ background-color: #428bca;
+}
+
+.label-primary[href]:hover,
+.label-primary[href]:focus {
+ background-color: #3071a9;
+}
+
+.label-success {
+ background-color: #5cb85c;
+}
+
+.label-success[href]:hover,
+.label-success[href]:focus {
+ background-color: #449d44;
+}
+
+.label-info {
+ background-color: #5bc0de;
+}
+
+.label-info[href]:hover,
+.label-info[href]:focus {
+ background-color: #31b0d5;
+}
+
+.label-warning {
+ background-color: #f0ad4e;
+}
+
+.label-warning[href]:hover,
+.label-warning[href]:focus {
+ background-color: #ec971f;
+}
+
+.label-danger {
+ background-color: #d9534f;
+}
+
+.label-danger[href]:hover,
+.label-danger[href]:focus {
+ background-color: #c9302c;
+}
+
+.badge {
+ display: inline-block;
+ min-width: 10px;
+ padding: 3px 7px;
+ font-size: 12px;
+ font-weight: bold;
+ line-height: 1;
+ color: #ffffff;
+ text-align: center;
+ white-space: nowrap;
+ vertical-align: baseline;
+ background-color: #999999;
+ border-radius: 10px;
+}
+
+.badge:empty {
+ display: none;
+}
+
+.btn .badge {
+ position: relative;
+ top: -1px;
+}
+
+a.badge:hover,
+a.badge:focus {
+ color: #ffffff;
+ text-decoration: none;
+ cursor: pointer;
+}
+
+a.list-group-item.active > .badge,
+.nav-pills > .active > a > .badge {
+ color: #428bca;
+ background-color: #ffffff;
+}
+
+.nav-pills > li > a > .badge {
+ margin-left: 3px;
+}
+
+.jumbotron {
+ padding: 30px;
+ margin-bottom: 30px;
+ font-size: 21px;
+ font-weight: 200;
+ line-height: 2.1428571435;
+ color: inherit;
+ background-color: #eeeeee;
+}
+
+.jumbotron h1,
+.jumbotron .h1 {
+ line-height: 1;
+ color: inherit;
+}
+
+.jumbotron p {
+ line-height: 1.4;
+}
+
+.container .jumbotron {
+ border-radius: 6px;
+}
+
+.jumbotron .container {
+ max-width: 100%;
+}
+
+@media screen and (min-width: 768px) {
+ .jumbotron {
+ padding-top: 48px;
+ padding-bottom: 48px;
+ }
+ .container .jumbotron {
+ padding-right: 60px;
+ padding-left: 60px;
+ }
+ .jumbotron h1,
+ .jumbotron .h1 {
+ font-size: 63px;
+ }
+}
+
+.thumbnail {
+ display: block;
+ padding: 4px;
+ margin-bottom: 20px;
+ line-height: 1.428571429;
+ background-color: #ffffff;
+ border: 1px solid #dddddd;
+ border-radius: 4px;
+ -webkit-transition: all 0.2s ease-in-out;
+ transition: all 0.2s ease-in-out;
+}
+
+.thumbnail > img,
+.thumbnail a > img {
+ display: block;
+ height: auto;
+ max-width: 100%;
+ margin-right: auto;
+ margin-left: auto;
+}
+
+a.thumbnail:hover,
+a.thumbnail:focus,
+a.thumbnail.active {
+ border-color: #428bca;
+}
+
+.thumbnail .caption {
+ padding: 9px;
+ color: #333333;
+}
+
+.alert {
+ padding: 15px;
+ margin-bottom: 20px;
+ border: 1px solid transparent;
+ border-radius: 4px;
+}
+
+.alert h4 {
+ margin-top: 0;
+ color: inherit;
+}
+
+.alert .alert-link {
+ font-weight: bold;
+}
+
+.alert > p,
+.alert > ul {
+ margin-bottom: 0;
+}
+
+.alert > p + p {
+ margin-top: 5px;
+}
+
+.alert-dismissable {
+ padding-right: 35px;
+}
+
+.alert-dismissable .close {
+ position: relative;
+ top: -2px;
+ right: -21px;
+ color: inherit;
+}
+
+.alert-success {
+ color: #3c763d;
+ background-color: #dff0d8;
+ border-color: #d6e9c6;
+}
+
+.alert-success hr {
+ border-top-color: #c9e2b3;
+}
+
+.alert-success .alert-link {
+ color: #2b542c;
+}
+
+.alert-info {
+ color: #31708f;
+ background-color: #d9edf7;
+ border-color: #bce8f1;
+}
+
+.alert-info hr {
+ border-top-color: #a6e1ec;
+}
+
+.alert-info .alert-link {
+ color: #245269;
+}
+
+.alert-warning {
+ color: #8a6d3b;
+ background-color: #fcf8e3;
+ border-color: #faebcc;
+}
+
+.alert-warning hr {
+ border-top-color: #f7e1b5;
+}
+
+.alert-warning .alert-link {
+ color: #66512c;
+}
+
+.alert-danger {
+ color: #a94442;
+ background-color: #f2dede;
+ border-color: #ebccd1;
+}
+
+.alert-danger hr {
+ border-top-color: #e4b9c0;
+}
+
+.alert-danger .alert-link {
+ color: #843534;
+}
+
+@-webkit-keyframes progress-bar-stripes {
+ from {
+ background-position: 40px 0;
+ }
+ to {
+ background-position: 0 0;
+ }
+}
+
+@keyframes progress-bar-stripes {
+ from {
+ background-position: 40px 0;
+ }
+ to {
+ background-position: 0 0;
+ }
+}
+
+.progress {
+ height: 20px;
+ margin-bottom: 20px;
+ overflow: hidden;
+ background-color: #f5f5f5;
+ border-radius: 4px;
+ -webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
+ box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
+}
+
+.progress-bar {
+ float: left;
+ width: 0;
+ height: 100%;
+ font-size: 12px;
+ line-height: 20px;
+ color: #ffffff;
+ text-align: center;
+ background-color: #428bca;
+ -webkit-box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.15);
+ box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.15);
+ -webkit-transition: width 0.6s ease;
+ transition: width 0.6s ease;
+}
+
+.progress-striped .progress-bar {
+ background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
+ background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
+ background-size: 40px 40px;
+}
+
+.progress.active .progress-bar {
+ -webkit-animation: progress-bar-stripes 2s linear infinite;
+ animation: progress-bar-stripes 2s linear infinite;
+}
+
+.progress-bar-success {
+ background-color: #5cb85c;
+}
+
+.progress-striped .progress-bar-success {
+ background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
+ background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
+}
+
+.progress-bar-info {
+ background-color: #5bc0de;
+}
+
+.progress-striped .progress-bar-info {
+ background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
+ background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
+}
+
+.progress-bar-warning {
+ background-color: #f0ad4e;
+}
+
+.progress-striped .progress-bar-warning {
+ background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
+ background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
+}
+
+.progress-bar-danger {
+ background-color: #d9534f;
+}
+
+.progress-striped .progress-bar-danger {
+ background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
+ background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
+}
+
+.media,
+.media-body {
+ overflow: hidden;
+ zoom: 1;
+}
+
+.media,
+.media .media {
+ margin-top: 15px;
+}
+
+.media:first-child {
+ margin-top: 0;
+}
+
+.media-object {
+ display: block;
+}
+
+.media-heading {
+ margin: 0 0 5px;
+}
+
+.media > .pull-left {
+ margin-right: 10px;
+}
+
+.media > .pull-right {
+ margin-left: 10px;
+}
+
+.media-list {
+ padding-left: 0;
+ list-style: none;
+}
+
+.list-group {
+ padding-left: 0;
+ margin-bottom: 20px;
+}
+
+.list-group-item {
+ position: relative;
+ display: block;
+ padding: 10px 15px;
+ margin-bottom: -1px;
+ background-color: #ffffff;
+ border: 1px solid #dddddd;
+}
+
+.list-group-item:first-child {
+ border-top-right-radius: 4px;
+ border-top-left-radius: 4px;
+}
+
+.list-group-item:last-child {
+ margin-bottom: 0;
+ border-bottom-right-radius: 4px;
+ border-bottom-left-radius: 4px;
+}
+
+.list-group-item > .badge {
+ float: right;
+}
+
+.list-group-item > .badge + .badge {
+ margin-right: 5px;
+}
+
+a.list-group-item {
+ color: #555555;
+}
+
+a.list-group-item .list-group-item-heading {
+ color: #333333;
+}
+
+a.list-group-item:hover,
+a.list-group-item:focus {
+ text-decoration: none;
+ background-color: #f5f5f5;
+}
+
+a.list-group-item.active,
+a.list-group-item.active:hover,
+a.list-group-item.active:focus {
+ z-index: 2;
+ color: #ffffff;
+ background-color: #428bca;
+ border-color: #428bca;
+}
+
+a.list-group-item.active .list-group-item-heading,
+a.list-group-item.active:hover .list-group-item-heading,
+a.list-group-item.active:focus .list-group-item-heading {
+ color: inherit;
+}
+
+a.list-group-item.active .list-group-item-text,
+a.list-group-item.active:hover .list-group-item-text,
+a.list-group-item.active:focus .list-group-item-text {
+ color: #e1edf7;
+}
+
+.list-group-item-heading {
+ margin-top: 0;
+ margin-bottom: 5px;
+}
+
+.list-group-item-text {
+ margin-bottom: 0;
+ line-height: 1.3;
+}
+
+.panel {
+ margin-bottom: 20px;
+ background-color: #ffffff;
+ border: 1px solid transparent;
+ border-radius: 4px;
+ -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
+ box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
+}
+
+.panel-body {
+ padding: 15px;
+}
+
+.panel-body:before,
+.panel-body:after {
+ display: table;
+ content: " ";
+}
+
+.panel-body:after {
+ clear: both;
+}
+
+.panel-body:before,
+.panel-body:after {
+ display: table;
+ content: " ";
+}
+
+.panel-body:after {
+ clear: both;
+}
+
+.panel > .list-group {
+ margin-bottom: 0;
+}
+
+.panel > .list-group .list-group-item {
+ border-width: 1px 0;
+}
+
+.panel > .list-group .list-group-item:first-child {
+ border-top-right-radius: 0;
+ border-top-left-radius: 0;
+}
+
+.panel > .list-group .list-group-item:last-child {
+ border-bottom: 0;
+}
+
+.panel-heading + .list-group .list-group-item:first-child {
+ border-top-width: 0;
+}
+
+.panel > .table,
+.panel > .table-responsive > .table {
+ margin-bottom: 0;
+}
+
+.panel > .panel-body + .table,
+.panel > .panel-body + .table-responsive {
+ border-top: 1px solid #dddddd;
+}
+
+.panel > .table > tbody:first-child th,
+.panel > .table > tbody:first-child td {
+ border-top: 0;
+}
+
+.panel > .table-bordered,
+.panel > .table-responsive > .table-bordered {
+ border: 0;
+}
+
+.panel > .table-bordered > thead > tr > th:first-child,
+.panel > .table-responsive > .table-bordered > thead > tr > th:first-child,
+.panel > .table-bordered > tbody > tr > th:first-child,
+.panel > .table-responsive > .table-bordered > tbody > tr > th:first-child,
+.panel > .table-bordered > tfoot > tr > th:first-child,
+.panel > .table-responsive > .table-bordered > tfoot > tr > th:first-child,
+.panel > .table-bordered > thead > tr > td:first-child,
+.panel > .table-responsive > .table-bordered > thead > tr > td:first-child,
+.panel > .table-bordered > tbody > tr > td:first-child,
+.panel > .table-responsive > .table-bordered > tbody > tr > td:first-child,
+.panel > .table-bordered > tfoot > tr > td:first-child,
+.panel > .table-responsive > .table-bordered > tfoot > tr > td:first-child {
+ border-left: 0;
+}
+
+.panel > .table-bordered > thead > tr > th:last-child,
+.panel > .table-responsive > .table-bordered > thead > tr > th:last-child,
+.panel > .table-bordered > tbody > tr > th:last-child,
+.panel > .table-responsive > .table-bordered > tbody > tr > th:last-child,
+.panel > .table-bordered > tfoot > tr > th:last-child,
+.panel > .table-responsive > .table-bordered > tfoot > tr > th:last-child,
+.panel > .table-bordered > thead > tr > td:last-child,
+.panel > .table-responsive > .table-bordered > thead > tr > td:last-child,
+.panel > .table-bordered > tbody > tr > td:last-child,
+.panel > .table-responsive > .table-bordered > tbody > tr > td:last-child,
+.panel > .table-bordered > tfoot > tr > td:last-child,
+.panel > .table-responsive > .table-bordered > tfoot > tr > td:last-child {
+ border-right: 0;
+}
+
+.panel > .table-bordered > thead > tr:last-child > th,
+.panel > .table-responsive > .table-bordered > thead > tr:last-child > th,
+.panel > .table-bordered > tbody > tr:last-child > th,
+.panel > .table-responsive > .table-bordered > tbody > tr:last-child > th,
+.panel > .table-bordered > tfoot > tr:last-child > th,
+.panel > .table-responsive > .table-bordered > tfoot > tr:last-child > th,
+.panel > .table-bordered > thead > tr:last-child > td,
+.panel > .table-responsive > .table-bordered > thead > tr:last-child > td,
+.panel > .table-bordered > tbody > tr:last-child > td,
+.panel > .table-responsive > .table-bordered > tbody > tr:last-child > td,
+.panel > .table-bordered > tfoot > tr:last-child > td,
+.panel > .table-responsive > .table-bordered > tfoot > tr:last-child > td {
+ border-bottom: 0;
+}
+
+.panel > .table-responsive {
+ margin-bottom: 0;
+ border: 0;
+}
+
+.panel-heading {
+ padding: 10px 15px;
+ border-bottom: 1px solid transparent;
+ border-top-right-radius: 3px;
+ border-top-left-radius: 3px;
+}
+
+.panel-heading > .dropdown .dropdown-toggle {
+ color: inherit;
+}
+
+.panel-title {
+ margin-top: 0;
+ margin-bottom: 0;
+ font-size: 16px;
+ color: inherit;
+}
+
+.panel-title > a {
+ color: inherit;
+}
+
+.panel-footer {
+ padding: 10px 15px;
+ background-color: #f5f5f5;
+ border-top: 1px solid #dddddd;
+ border-bottom-right-radius: 3px;
+ border-bottom-left-radius: 3px;
+}
+
+.panel-group .panel {
+ margin-bottom: 0;
+ overflow: hidden;
+ border-radius: 4px;
+}
+
+.panel-group .panel + .panel {
+ margin-top: 5px;
+}
+
+.panel-group .panel-heading {
+ border-bottom: 0;
+}
+
+.panel-group .panel-heading + .panel-collapse .panel-body {
+ border-top: 1px solid #dddddd;
+}
+
+.panel-group .panel-footer {
+ border-top: 0;
+}
+
+.panel-group .panel-footer + .panel-collapse .panel-body {
+ border-bottom: 1px solid #dddddd;
+}
+
+.panel-default {
+ border-color: #dddddd;
+}
+
+.panel-default > .panel-heading {
+ color: #333333;
+ background-color: #f5f5f5;
+ border-color: #dddddd;
+}
+
+.panel-default > .panel-heading + .panel-collapse .panel-body {
+ border-top-color: #dddddd;
+}
+
+.panel-default > .panel-footer + .panel-collapse .panel-body {
+ border-bottom-color: #dddddd;
+}
+
+.panel-primary {
+ border-color: #428bca;
+}
+
+.panel-primary > .panel-heading {
+ color: #ffffff;
+ background-color: #428bca;
+ border-color: #428bca;
+}
+
+.panel-primary > .panel-heading + .panel-collapse .panel-body {
+ border-top-color: #428bca;
+}
+
+.panel-primary > .panel-footer + .panel-collapse .panel-body {
+ border-bottom-color: #428bca;
+}
+
+.panel-success {
+ border-color: #d6e9c6;
+}
+
+.panel-success > .panel-heading {
+ color: #3c763d;
+ background-color: #dff0d8;
+ border-color: #d6e9c6;
+}
+
+.panel-success > .panel-heading + .panel-collapse .panel-body {
+ border-top-color: #d6e9c6;
+}
+
+.panel-success > .panel-footer + .panel-collapse .panel-body {
+ border-bottom-color: #d6e9c6;
+}
+
+.panel-warning {
+ border-color: #faebcc;
+}
+
+.panel-warning > .panel-heading {
+ color: #8a6d3b;
+ background-color: #fcf8e3;
+ border-color: #faebcc;
+}
+
+.panel-warning > .panel-heading + .panel-collapse .panel-body {
+ border-top-color: #faebcc;
+}
+
+.panel-warning > .panel-footer + .panel-collapse .panel-body {
+ border-bottom-color: #faebcc;
+}
+
+.panel-danger {
+ border-color: #ebccd1;
+}
+
+.panel-danger > .panel-heading {
+ color: #a94442;
+ background-color: #f2dede;
+ border-color: #ebccd1;
+}
+
+.panel-danger > .panel-heading + .panel-collapse .panel-body {
+ border-top-color: #ebccd1;
+}
+
+.panel-danger > .panel-footer + .panel-collapse .panel-body {
+ border-bottom-color: #ebccd1;
+}
+
+.panel-info {
+ border-color: #bce8f1;
+}
+
+.panel-info > .panel-heading {
+ color: #31708f;
+ background-color: #d9edf7;
+ border-color: #bce8f1;
+}
+
+.panel-info > .panel-heading + .panel-collapse .panel-body {
+ border-top-color: #bce8f1;
+}
+
+.panel-info > .panel-footer + .panel-collapse .panel-body {
+ border-bottom-color: #bce8f1;
+}
+
+.well {
+ min-height: 20px;
+ padding: 19px;
+ margin-bottom: 20px;
+ background-color: #f5f5f5;
+ border: 1px solid #e3e3e3;
+ border-radius: 4px;
+ -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05);
+ box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05);
+}
+
+.well blockquote {
+ border-color: #ddd;
+ border-color: rgba(0, 0, 0, 0.15);
+}
+
+.well-lg {
+ padding: 24px;
+ border-radius: 6px;
+}
+
+.well-sm {
+ padding: 9px;
+ border-radius: 3px;
+}
+
+.close {
+ float: right;
+ font-size: 21px;
+ font-weight: bold;
+ line-height: 1;
+ color: #000000;
+ text-shadow: 0 1px 0 #ffffff;
+ opacity: 0.2;
+ filter: alpha(opacity=20);
+}
+
+.close:hover,
+.close:focus {
+ color: #000000;
+ text-decoration: none;
+ cursor: pointer;
+ opacity: 0.5;
+ filter: alpha(opacity=50);
+}
+
+button.close {
+ padding: 0;
+ cursor: pointer;
+ background: transparent;
+ border: 0;
+ -webkit-appearance: none;
+}
+
+.modal-open {
+ overflow: hidden;
+}
+
+.modal {
+ position: fixed;
+ top: 0;
+ right: 0;
+ bottom: 0;
+ left: 0;
+ z-index: 1040;
+ display: none;
+ overflow: auto;
+ overflow-y: scroll;
+}
+
+.modal.fade .modal-dialog {
+ -webkit-transform: translate(0, -25%);
+ -ms-transform: translate(0, -25%);
+ transform: translate(0, -25%);
+ -webkit-transition: -webkit-transform 0.3s ease-out;
+ -moz-transition: -moz-transform 0.3s ease-out;
+ -o-transition: -o-transform 0.3s ease-out;
+ transition: transform 0.3s ease-out;
+}
+
+.modal.in .modal-dialog {
+ -webkit-transform: translate(0, 0);
+ -ms-transform: translate(0, 0);
+ transform: translate(0, 0);
+}
+
+.modal-dialog {
+ position: relative;
+ z-index: 1050;
+ width: auto;
+ margin: 10px;
+}
+
+.modal-content {
+ position: relative;
+ background-color: #ffffff;
+ border: 1px solid #999999;
+ border: 1px solid rgba(0, 0, 0, 0.2);
+ border-radius: 6px;
+ outline: none;
+ -webkit-box-shadow: 0 3px 9px rgba(0, 0, 0, 0.5);
+ box-shadow: 0 3px 9px rgba(0, 0, 0, 0.5);
+ background-clip: padding-box;
+}
+
+.modal-backdrop {
+ position: fixed;
+ top: 0;
+ right: 0;
+ bottom: 0;
+ left: 0;
+ z-index: 1030;
+ background-color: #000000;
+}
+
+.modal-backdrop.fade {
+ opacity: 0;
+ filter: alpha(opacity=0);
+}
+
+.modal-backdrop.in {
+ opacity: 0.5;
+ filter: alpha(opacity=50);
+}
+
+.modal-header {
+ min-height: 16.428571429px;
+ padding: 15px;
+ border-bottom: 1px solid #e5e5e5;
+}
+
+.modal-header .close {
+ margin-top: -2px;
+}
+
+.modal-title {
+ margin: 0;
+ line-height: 1.428571429;
+}
+
+.modal-body {
+ position: relative;
+ padding: 20px;
+}
+
+.modal-footer {
+ padding: 19px 20px 20px;
+ margin-top: 15px;
+ text-align: right;
+ border-top: 1px solid #e5e5e5;
+}
+
+.modal-footer:before,
+.modal-footer:after {
+ display: table;
+ content: " ";
+}
+
+.modal-footer:after {
+ clear: both;
+}
+
+.modal-footer:before,
+.modal-footer:after {
+ display: table;
+ content: " ";
+}
+
+.modal-footer:after {
+ clear: both;
+}
+
+.modal-footer .btn + .btn {
+ margin-bottom: 0;
+ margin-left: 5px;
+}
+
+.modal-footer .btn-group .btn + .btn {
+ margin-left: -1px;
+}
+
+.modal-footer .btn-block + .btn-block {
+ margin-left: 0;
+}
+
+@media screen and (min-width: 768px) {
+ .modal-dialog {
+ width: 600px;
+ margin: 30px auto;
+ }
+ .modal-content {
+ -webkit-box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
+ box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
+ }
+}
+
+.tooltip {
+ position: absolute;
+ z-index: 1030;
+ display: block;
+ font-size: 12px;
+ line-height: 1.4;
+ opacity: 0;
+ filter: alpha(opacity=0);
+ visibility: visible;
+}
+
+.tooltip.in {
+ opacity: 0.9;
+ filter: alpha(opacity=90);
+}
+
+.tooltip.top {
+ padding: 5px 0;
+ margin-top: -3px;
+}
+
+.tooltip.right {
+ padding: 0 5px;
+ margin-left: 3px;
+}
+
+.tooltip.bottom {
+ padding: 5px 0;
+ margin-top: 3px;
+}
+
+.tooltip.left {
+ padding: 0 5px;
+ margin-left: -3px;
+}
+
+.tooltip-inner {
+ max-width: 200px;
+ padding: 3px 8px;
+ color: #ffffff;
+ text-align: center;
+ text-decoration: none;
+ background-color: #000000;
+ border-radius: 4px;
+}
+
+.tooltip-arrow {
+ position: absolute;
+ width: 0;
+ height: 0;
+ border-color: transparent;
+ border-style: solid;
+}
+
+.tooltip.top .tooltip-arrow {
+ bottom: 0;
+ left: 50%;
+ margin-left: -5px;
+ border-top-color: #000000;
+ border-width: 5px 5px 0;
+}
+
+.tooltip.top-left .tooltip-arrow {
+ bottom: 0;
+ left: 5px;
+ border-top-color: #000000;
+ border-width: 5px 5px 0;
+}
+
+.tooltip.top-right .tooltip-arrow {
+ right: 5px;
+ bottom: 0;
+ border-top-color: #000000;
+ border-width: 5px 5px 0;
+}
+
+.tooltip.right .tooltip-arrow {
+ top: 50%;
+ left: 0;
+ margin-top: -5px;
+ border-right-color: #000000;
+ border-width: 5px 5px 5px 0;
+}
+
+.tooltip.left .tooltip-arrow {
+ top: 50%;
+ right: 0;
+ margin-top: -5px;
+ border-left-color: #000000;
+ border-width: 5px 0 5px 5px;
+}
+
+.tooltip.bottom .tooltip-arrow {
+ top: 0;
+ left: 50%;
+ margin-left: -5px;
+ border-bottom-color: #000000;
+ border-width: 0 5px 5px;
+}
+
+.tooltip.bottom-left .tooltip-arrow {
+ top: 0;
+ left: 5px;
+ border-bottom-color: #000000;
+ border-width: 0 5px 5px;
+}
+
+.tooltip.bottom-right .tooltip-arrow {
+ top: 0;
+ right: 5px;
+ border-bottom-color: #000000;
+ border-width: 0 5px 5px;
+}
+
+.popover {
+ position: absolute;
+ top: 0;
+ left: 0;
+ z-index: 1010;
+ display: none;
+ max-width: 276px;
+ padding: 1px;
+ text-align: left;
+ white-space: normal;
+ background-color: #ffffff;
+ border: 1px solid #cccccc;
+ border: 1px solid rgba(0, 0, 0, 0.2);
+ border-radius: 6px;
+ -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
+ box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
+ background-clip: padding-box;
+}
+
+.popover.top {
+ margin-top: -10px;
+}
+
+.popover.right {
+ margin-left: 10px;
+}
+
+.popover.bottom {
+ margin-top: 10px;
+}
+
+.popover.left {
+ margin-left: -10px;
+}
+
+.popover-title {
+ padding: 8px 14px;
+ margin: 0;
+ font-size: 14px;
+ font-weight: normal;
+ line-height: 18px;
+ background-color: #f7f7f7;
+ border-bottom: 1px solid #ebebeb;
+ border-radius: 5px 5px 0 0;
+}
+
+.popover-content {
+ padding: 9px 14px;
+}
+
+.popover .arrow,
+.popover .arrow:after {
+ position: absolute;
+ display: block;
+ width: 0;
+ height: 0;
+ border-color: transparent;
+ border-style: solid;
+}
+
+.popover .arrow {
+ border-width: 11px;
+}
+
+.popover .arrow:after {
+ border-width: 10px;
+ content: "";
+}
+
+.popover.top .arrow {
+ bottom: -11px;
+ left: 50%;
+ margin-left: -11px;
+ border-top-color: #999999;
+ border-top-color: rgba(0, 0, 0, 0.25);
+ border-bottom-width: 0;
+}
+
+.popover.top .arrow:after {
+ bottom: 1px;
+ margin-left: -10px;
+ border-top-color: #ffffff;
+ border-bottom-width: 0;
+ content: " ";
+}
+
+.popover.right .arrow {
+ top: 50%;
+ left: -11px;
+ margin-top: -11px;
+ border-right-color: #999999;
+ border-right-color: rgba(0, 0, 0, 0.25);
+ border-left-width: 0;
+}
+
+.popover.right .arrow:after {
+ bottom: -10px;
+ left: 1px;
+ border-right-color: #ffffff;
+ border-left-width: 0;
+ content: " ";
+}
+
+.popover.bottom .arrow {
+ top: -11px;
+ left: 50%;
+ margin-left: -11px;
+ border-bottom-color: #999999;
+ border-bottom-color: rgba(0, 0, 0, 0.25);
+ border-top-width: 0;
+}
+
+.popover.bottom .arrow:after {
+ top: 1px;
+ margin-left: -10px;
+ border-bottom-color: #ffffff;
+ border-top-width: 0;
+ content: " ";
+}
+
+.popover.left .arrow {
+ top: 50%;
+ right: -11px;
+ margin-top: -11px;
+ border-left-color: #999999;
+ border-left-color: rgba(0, 0, 0, 0.25);
+ border-right-width: 0;
+}
+
+.popover.left .arrow:after {
+ right: 1px;
+ bottom: -10px;
+ border-left-color: #ffffff;
+ border-right-width: 0;
+ content: " ";
+}
+
+.carousel {
+ position: relative;
+}
+
+.carousel-inner {
+ position: relative;
+ width: 100%;
+ overflow: hidden;
+}
+
+.carousel-inner > .item {
+ position: relative;
+ display: none;
+ -webkit-transition: 0.6s ease-in-out left;
+ transition: 0.6s ease-in-out left;
+}
+
+.carousel-inner > .item > img,
+.carousel-inner > .item > a > img {
+ display: block;
+ height: auto;
+ max-width: 100%;
+ line-height: 1;
+}
+
+.carousel-inner > .active,
+.carousel-inner > .next,
+.carousel-inner > .prev {
+ display: block;
+}
+
+.carousel-inner > .active {
+ left: 0;
+}
+
+.carousel-inner > .next,
+.carousel-inner > .prev {
+ position: absolute;
+ top: 0;
+ width: 100%;
+}
+
+.carousel-inner > .next {
+ left: 100%;
+}
+
+.carousel-inner > .prev {
+ left: -100%;
+}
+
+.carousel-inner > .next.left,
+.carousel-inner > .prev.right {
+ left: 0;
+}
+
+.carousel-inner > .active.left {
+ left: -100%;
+}
+
+.carousel-inner > .active.right {
+ left: 100%;
+}
+
+.carousel-control {
+ position: absolute;
+ top: 0;
+ bottom: 0;
+ left: 0;
+ width: 15%;
+ font-size: 20px;
+ color: #ffffff;
+ text-align: center;
+ text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
+ opacity: 0.5;
+ filter: alpha(opacity=50);
+}
+
+.carousel-control.left {
+ background-image: -webkit-linear-gradient(left, color-stop(rgba(0, 0, 0, 0.5) 0), color-stop(rgba(0, 0, 0, 0.0001) 100%));
+ background-image: linear-gradient(to right, rgba(0, 0, 0, 0.5) 0, rgba(0, 0, 0, 0.0001) 100%);
+ background-repeat: repeat-x;
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#80000000', endColorstr='#00000000', GradientType=1);
+}
+
+.carousel-control.right {
+ right: 0;
+ left: auto;
+ background-image: -webkit-linear-gradient(left, color-stop(rgba(0, 0, 0, 0.0001) 0), color-stop(rgba(0, 0, 0, 0.5) 100%));
+ background-image: linear-gradient(to right, rgba(0, 0, 0, 0.0001) 0, rgba(0, 0, 0, 0.5) 100%);
+ background-repeat: repeat-x;
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#00000000', endColorstr='#80000000', GradientType=1);
+}
+
+.carousel-control:hover,
+.carousel-control:focus {
+ color: #ffffff;
+ text-decoration: none;
+ outline: none;
+ opacity: 0.9;
+ filter: alpha(opacity=90);
+}
+
+.carousel-control .icon-prev,
+.carousel-control .icon-next,
+.carousel-control .glyphicon-chevron-left,
+.carousel-control .glyphicon-chevron-right {
+ position: absolute;
+ top: 50%;
+ z-index: 5;
+ display: inline-block;
+}
+
+.carousel-control .icon-prev,
+.carousel-control .glyphicon-chevron-left {
+ left: 50%;
+}
+
+.carousel-control .icon-next,
+.carousel-control .glyphicon-chevron-right {
+ right: 50%;
+}
+
+.carousel-control .icon-prev,
+.carousel-control .icon-next {
+ width: 20px;
+ height: 20px;
+ margin-top: -10px;
+ margin-left: -10px;
+ font-family: serif;
+}
+
+.carousel-control .icon-prev:before {
+ content: '\2039';
+}
+
+.carousel-control .icon-next:before {
+ content: '\203a';
+}
+
+.carousel-indicators {
+ position: absolute;
+ bottom: 10px;
+ left: 50%;
+ z-index: 15;
+ width: 60%;
+ padding-left: 0;
+ margin-left: -30%;
+ text-align: center;
+ list-style: none;
+}
+
+.carousel-indicators li {
+ display: inline-block;
+ width: 10px;
+ height: 10px;
+ margin: 1px;
+ text-indent: -999px;
+ cursor: pointer;
+ background-color: #000 \9;
+ background-color: rgba(0, 0, 0, 0);
+ border: 1px solid #ffffff;
+ border-radius: 10px;
+}
+
+.carousel-indicators .active {
+ width: 12px;
+ height: 12px;
+ margin: 0;
+ background-color: #ffffff;
+}
+
+.carousel-caption {
+ position: absolute;
+ right: 15%;
+ bottom: 20px;
+ left: 15%;
+ z-index: 10;
+ padding-top: 20px;
+ padding-bottom: 20px;
+ color: #ffffff;
+ text-align: center;
+ text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
+}
+
+.carousel-caption .btn {
+ text-shadow: none;
+}
+
+@media screen and (min-width: 768px) {
+ .carousel-control .glyphicons-chevron-left,
+ .carousel-control .glyphicons-chevron-right,
+ .carousel-control .icon-prev,
+ .carousel-control .icon-next {
+ width: 30px;
+ height: 30px;
+ margin-top: -15px;
+ margin-left: -15px;
+ font-size: 30px;
+ }
+ .carousel-caption {
+ right: 20%;
+ left: 20%;
+ padding-bottom: 30px;
+ }
+ .carousel-indicators {
+ bottom: 20px;
+ }
+}
+
+.clearfix:before,
+.clearfix:after {
+ display: table;
+ content: " ";
+}
+
+.clearfix:after {
+ clear: both;
+}
+
+.center-block {
+ display: block;
+ margin-right: auto;
+ margin-left: auto;
+}
+
+.pull-right {
+ float: right !important;
+}
+
+.pull-left {
+ float: left !important;
+}
+
+.hide {
+ display: none !important;
+}
+
+.show {
+ display: block !important;
+}
+
+.invisible {
+ visibility: hidden;
+}
+
+.text-hide {
+ font: 0/0 a;
+ color: transparent;
+ text-shadow: none;
+ background-color: transparent;
+ border: 0;
+}
+
+.hidden {
+ display: none !important;
+ visibility: hidden !important;
+}
+
+.affix {
+ position: fixed;
+}
+
+@-ms-viewport {
+ width: device-width;
+}
+
+.visible-xs,
+tr.visible-xs,
+th.visible-xs,
+td.visible-xs {
+ display: none !important;
+}
+
+@media (max-width: 767px) {
+ .visible-xs {
+ display: block !important;
+ }
+ table.visible-xs {
+ display: table;
+ }
+ tr.visible-xs {
+ display: table-row !important;
+ }
+ th.visible-xs,
+ td.visible-xs {
+ display: table-cell !important;
+ }
+}
+
+@media (min-width: 768px) and (max-width: 991px) {
+ .visible-xs.visible-sm {
+ display: block !important;
+ }
+ table.visible-xs.visible-sm {
+ display: table;
+ }
+ tr.visible-xs.visible-sm {
+ display: table-row !important;
+ }
+ th.visible-xs.visible-sm,
+ td.visible-xs.visible-sm {
+ display: table-cell !important;
+ }
+}
+
+@media (min-width: 992px) and (max-width: 1199px) {
+ .visible-xs.visible-md {
+ display: block !important;
+ }
+ table.visible-xs.visible-md {
+ display: table;
+ }
+ tr.visible-xs.visible-md {
+ display: table-row !important;
+ }
+ th.visible-xs.visible-md,
+ td.visible-xs.visible-md {
+ display: table-cell !important;
+ }
+}
+
+@media (min-width: 1200px) {
+ .visible-xs.visible-lg {
+ display: block !important;
+ }
+ table.visible-xs.visible-lg {
+ display: table;
+ }
+ tr.visible-xs.visible-lg {
+ display: table-row !important;
+ }
+ th.visible-xs.visible-lg,
+ td.visible-xs.visible-lg {
+ display: table-cell !important;
+ }
+}
+
+.visible-sm,
+tr.visible-sm,
+th.visible-sm,
+td.visible-sm {
+ display: none !important;
+}
+
+@media (max-width: 767px) {
+ .visible-sm.visible-xs {
+ display: block !important;
+ }
+ table.visible-sm.visible-xs {
+ display: table;
+ }
+ tr.visible-sm.visible-xs {
+ display: table-row !important;
+ }
+ th.visible-sm.visible-xs,
+ td.visible-sm.visible-xs {
+ display: table-cell !important;
+ }
+}
+
+@media (min-width: 768px) and (max-width: 991px) {
+ .visible-sm {
+ display: block !important;
+ }
+ table.visible-sm {
+ display: table;
+ }
+ tr.visible-sm {
+ display: table-row !important;
+ }
+ th.visible-sm,
+ td.visible-sm {
+ display: table-cell !important;
+ }
+}
+
+@media (min-width: 992px) and (max-width: 1199px) {
+ .visible-sm.visible-md {
+ display: block !important;
+ }
+ table.visible-sm.visible-md {
+ display: table;
+ }
+ tr.visible-sm.visible-md {
+ display: table-row !important;
+ }
+ th.visible-sm.visible-md,
+ td.visible-sm.visible-md {
+ display: table-cell !important;
+ }
+}
+
+@media (min-width: 1200px) {
+ .visible-sm.visible-lg {
+ display: block !important;
+ }
+ table.visible-sm.visible-lg {
+ display: table;
+ }
+ tr.visible-sm.visible-lg {
+ display: table-row !important;
+ }
+ th.visible-sm.visible-lg,
+ td.visible-sm.visible-lg {
+ display: table-cell !important;
+ }
+}
+
+.visible-md,
+tr.visible-md,
+th.visible-md,
+td.visible-md {
+ display: none !important;
+}
+
+@media (max-width: 767px) {
+ .visible-md.visible-xs {
+ display: block !important;
+ }
+ table.visible-md.visible-xs {
+ display: table;
+ }
+ tr.visible-md.visible-xs {
+ display: table-row !important;
+ }
+ th.visible-md.visible-xs,
+ td.visible-md.visible-xs {
+ display: table-cell !important;
+ }
+}
+
+@media (min-width: 768px) and (max-width: 991px) {
+ .visible-md.visible-sm {
+ display: block !important;
+ }
+ table.visible-md.visible-sm {
+ display: table;
+ }
+ tr.visible-md.visible-sm {
+ display: table-row !important;
+ }
+ th.visible-md.visible-sm,
+ td.visible-md.visible-sm {
+ display: table-cell !important;
+ }
+}
+
+@media (min-width: 992px) and (max-width: 1199px) {
+ .visible-md {
+ display: block !important;
+ }
+ table.visible-md {
+ display: table;
+ }
+ tr.visible-md {
+ display: table-row !important;
+ }
+ th.visible-md,
+ td.visible-md {
+ display: table-cell !important;
+ }
+}
+
+@media (min-width: 1200px) {
+ .visible-md.visible-lg {
+ display: block !important;
+ }
+ table.visible-md.visible-lg {
+ display: table;
+ }
+ tr.visible-md.visible-lg {
+ display: table-row !important;
+ }
+ th.visible-md.visible-lg,
+ td.visible-md.visible-lg {
+ display: table-cell !important;
+ }
+}
+
+.visible-lg,
+tr.visible-lg,
+th.visible-lg,
+td.visible-lg {
+ display: none !important;
+}
+
+@media (max-width: 767px) {
+ .visible-lg.visible-xs {
+ display: block !important;
+ }
+ table.visible-lg.visible-xs {
+ display: table;
+ }
+ tr.visible-lg.visible-xs {
+ display: table-row !important;
+ }
+ th.visible-lg.visible-xs,
+ td.visible-lg.visible-xs {
+ display: table-cell !important;
+ }
+}
+
+@media (min-width: 768px) and (max-width: 991px) {
+ .visible-lg.visible-sm {
+ display: block !important;
+ }
+ table.visible-lg.visible-sm {
+ display: table;
+ }
+ tr.visible-lg.visible-sm {
+ display: table-row !important;
+ }
+ th.visible-lg.visible-sm,
+ td.visible-lg.visible-sm {
+ display: table-cell !important;
+ }
+}
+
+@media (min-width: 992px) and (max-width: 1199px) {
+ .visible-lg.visible-md {
+ display: block !important;
+ }
+ table.visible-lg.visible-md {
+ display: table;
+ }
+ tr.visible-lg.visible-md {
+ display: table-row !important;
+ }
+ th.visible-lg.visible-md,
+ td.visible-lg.visible-md {
+ display: table-cell !important;
+ }
+}
+
+@media (min-width: 1200px) {
+ .visible-lg {
+ display: block !important;
+ }
+ table.visible-lg {
+ display: table;
+ }
+ tr.visible-lg {
+ display: table-row !important;
+ }
+ th.visible-lg,
+ td.visible-lg {
+ display: table-cell !important;
+ }
+}
+
+.hidden-xs {
+ display: block !important;
+}
+
+table.hidden-xs {
+ display: table;
+}
+
+tr.hidden-xs {
+ display: table-row !important;
+}
+
+th.hidden-xs,
+td.hidden-xs {
+ display: table-cell !important;
+}
+
+@media (max-width: 767px) {
+ .hidden-xs,
+ tr.hidden-xs,
+ th.hidden-xs,
+ td.hidden-xs {
+ display: none !important;
+ }
+}
+
+@media (min-width: 768px) and (max-width: 991px) {
+ .hidden-xs.hidden-sm,
+ tr.hidden-xs.hidden-sm,
+ th.hidden-xs.hidden-sm,
+ td.hidden-xs.hidden-sm {
+ display: none !important;
+ }
+}
+
+@media (min-width: 992px) and (max-width: 1199px) {
+ .hidden-xs.hidden-md,
+ tr.hidden-xs.hidden-md,
+ th.hidden-xs.hidden-md,
+ td.hidden-xs.hidden-md {
+ display: none !important;
+ }
+}
+
+@media (min-width: 1200px) {
+ .hidden-xs.hidden-lg,
+ tr.hidden-xs.hidden-lg,
+ th.hidden-xs.hidden-lg,
+ td.hidden-xs.hidden-lg {
+ display: none !important;
+ }
+}
+
+.hidden-sm {
+ display: block !important;
+}
+
+table.hidden-sm {
+ display: table;
+}
+
+tr.hidden-sm {
+ display: table-row !important;
+}
+
+th.hidden-sm,
+td.hidden-sm {
+ display: table-cell !important;
+}
+
+@media (max-width: 767px) {
+ .hidden-sm.hidden-xs,
+ tr.hidden-sm.hidden-xs,
+ th.hidden-sm.hidden-xs,
+ td.hidden-sm.hidden-xs {
+ display: none !important;
+ }
+}
+
+@media (min-width: 768px) and (max-width: 991px) {
+ .hidden-sm,
+ tr.hidden-sm,
+ th.hidden-sm,
+ td.hidden-sm {
+ display: none !important;
+ }
+}
+
+@media (min-width: 992px) and (max-width: 1199px) {
+ .hidden-sm.hidden-md,
+ tr.hidden-sm.hidden-md,
+ th.hidden-sm.hidden-md,
+ td.hidden-sm.hidden-md {
+ display: none !important;
+ }
+}
+
+@media (min-width: 1200px) {
+ .hidden-sm.hidden-lg,
+ tr.hidden-sm.hidden-lg,
+ th.hidden-sm.hidden-lg,
+ td.hidden-sm.hidden-lg {
+ display: none !important;
+ }
+}
+
+.hidden-md {
+ display: block !important;
+}
+
+table.hidden-md {
+ display: table;
+}
+
+tr.hidden-md {
+ display: table-row !important;
+}
+
+th.hidden-md,
+td.hidden-md {
+ display: table-cell !important;
+}
+
+@media (max-width: 767px) {
+ .hidden-md.hidden-xs,
+ tr.hidden-md.hidden-xs,
+ th.hidden-md.hidden-xs,
+ td.hidden-md.hidden-xs {
+ display: none !important;
+ }
+}
+
+@media (min-width: 768px) and (max-width: 991px) {
+ .hidden-md.hidden-sm,
+ tr.hidden-md.hidden-sm,
+ th.hidden-md.hidden-sm,
+ td.hidden-md.hidden-sm {
+ display: none !important;
+ }
+}
+
+@media (min-width: 992px) and (max-width: 1199px) {
+ .hidden-md,
+ tr.hidden-md,
+ th.hidden-md,
+ td.hidden-md {
+ display: none !important;
+ }
+}
+
+@media (min-width: 1200px) {
+ .hidden-md.hidden-lg,
+ tr.hidden-md.hidden-lg,
+ th.hidden-md.hidden-lg,
+ td.hidden-md.hidden-lg {
+ display: none !important;
+ }
+}
+
+.hidden-lg {
+ display: block !important;
+}
+
+table.hidden-lg {
+ display: table;
+}
+
+tr.hidden-lg {
+ display: table-row !important;
+}
+
+th.hidden-lg,
+td.hidden-lg {
+ display: table-cell !important;
+}
+
+@media (max-width: 767px) {
+ .hidden-lg.hidden-xs,
+ tr.hidden-lg.hidden-xs,
+ th.hidden-lg.hidden-xs,
+ td.hidden-lg.hidden-xs {
+ display: none !important;
+ }
+}
+
+@media (min-width: 768px) and (max-width: 991px) {
+ .hidden-lg.hidden-sm,
+ tr.hidden-lg.hidden-sm,
+ th.hidden-lg.hidden-sm,
+ td.hidden-lg.hidden-sm {
+ display: none !important;
+ }
+}
+
+@media (min-width: 992px) and (max-width: 1199px) {
+ .hidden-lg.hidden-md,
+ tr.hidden-lg.hidden-md,
+ th.hidden-lg.hidden-md,
+ td.hidden-lg.hidden-md {
+ display: none !important;
+ }
+}
+
+@media (min-width: 1200px) {
+ .hidden-lg,
+ tr.hidden-lg,
+ th.hidden-lg,
+ td.hidden-lg {
+ display: none !important;
+ }
+}
+
+.visible-print,
+tr.visible-print,
+th.visible-print,
+td.visible-print {
+ display: none !important;
+}
+
+@media print {
+ .visible-print {
+ display: block !important;
+ }
+ table.visible-print {
+ display: table;
+ }
+ tr.visible-print {
+ display: table-row !important;
+ }
+ th.visible-print,
+ td.visible-print {
+ display: table-cell !important;
+ }
+ .hidden-print,
+ tr.hidden-print,
+ th.hidden-print,
+ td.hidden-print {
+ display: none !important;
+ }
+} \ No newline at end of file
diff --git a/tools/build/website/bootstrap/css/bootstrap.min.css b/tools/build/website/bootstrap/css/bootstrap.min.css
new file mode 100644
index 0000000000..c547283bbd
--- /dev/null
+++ b/tools/build/website/bootstrap/css/bootstrap.min.css
@@ -0,0 +1,7 @@
+/*!
+ * Bootstrap v3.0.3 (http://getbootstrap.com)
+ * Copyright 2013 Twitter, Inc.
+ * Licensed under http://www.apache.org/licenses/LICENSE-2.0
+ */
+
+/*! normalize.css v2.1.3 | MIT License | git.io/normalize */article,aside,details,figcaption,figure,footer,header,hgroup,main,nav,section,summary{display:block}audio,canvas,video{display:inline-block}audio:not([controls]){display:none;height:0}[hidden],template{display:none}html{font-family:sans-serif;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%}body{margin:0}a{background:transparent}a:focus{outline:thin dotted}a:active,a:hover{outline:0}h1{margin:.67em 0;font-size:2em}abbr[title]{border-bottom:1px dotted}b,strong{font-weight:bold}dfn{font-style:italic}hr{height:0;-moz-box-sizing:content-box;box-sizing:content-box}mark{color:#000;background:#ff0}code,kbd,pre,samp{font-family:monospace,serif;font-size:1em}pre{white-space:pre-wrap}q{quotes:"\201C" "\201D" "\2018" "\2019"}small{font-size:80%}sub,sup{position:relative;font-size:75%;line-height:0;vertical-align:baseline}sup{top:-0.5em}sub{bottom:-0.25em}img{border:0}svg:not(:root){overflow:hidden}figure{margin:0}fieldset{padding:.35em .625em .75em;margin:0 2px;border:1px solid #c0c0c0}legend{padding:0;border:0}button,input,select,textarea{margin:0;font-family:inherit;font-size:100%}button,input{line-height:normal}button,select{text-transform:none}button,html input[type="button"],input[type="reset"],input[type="submit"]{cursor:pointer;-webkit-appearance:button}button[disabled],html input[disabled]{cursor:default}input[type="checkbox"],input[type="radio"]{padding:0;box-sizing:border-box}input[type="search"]{-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;-webkit-appearance:textfield}input[type="search"]::-webkit-search-cancel-button,input[type="search"]::-webkit-search-decoration{-webkit-appearance:none}button::-moz-focus-inner,input::-moz-focus-inner{padding:0;border:0}textarea{overflow:auto;vertical-align:top}table{border-collapse:collapse;border-spacing:0}@media print{*{color:#000!important;text-shadow:none!important;background:transparent!important;box-shadow:none!important}a,a:visited{text-decoration:underline}a[href]:after{content:" (" attr(href) ")"}abbr[title]:after{content:" (" attr(title) ")"}a[href^="javascript:"]:after,a[href^="#"]:after{content:""}pre,blockquote{border:1px solid #999;page-break-inside:avoid}thead{display:table-header-group}tr,img{page-break-inside:avoid}img{max-width:100%!important}@page{margin:2cm .5cm}p,h2,h3{orphans:3;widows:3}h2,h3{page-break-after:avoid}select{background:#fff!important}.navbar{display:none}.table td,.table th{background-color:#fff!important}.btn>.caret,.dropup>.btn>.caret{border-top-color:#000!important}.label{border:1px solid #000}.table{border-collapse:collapse!important}.table-bordered th,.table-bordered td{border:1px solid #ddd!important}}*,*:before,*:after{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}html{font-size:62.5%;-webkit-tap-highlight-color:rgba(0,0,0,0)}body{font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:14px;line-height:1.428571429;color:#333;background-color:#fff}input,button,select,textarea{font-family:inherit;font-size:inherit;line-height:inherit}a{color:#428bca;text-decoration:none}a:hover,a:focus{color:#2a6496;text-decoration:underline}a:focus{outline:thin dotted;outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}img{vertical-align:middle}.img-responsive{display:block;height:auto;max-width:100%}.img-rounded{border-radius:6px}.img-thumbnail{display:inline-block;height:auto;max-width:100%;padding:4px;line-height:1.428571429;background-color:#fff;border:1px solid #ddd;border-radius:4px;-webkit-transition:all .2s ease-in-out;transition:all .2s ease-in-out}.img-circle{border-radius:50%}hr{margin-top:20px;margin-bottom:20px;border:0;border-top:1px solid #eee}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0}h1,h2,h3,h4,h5,h6,.h1,.h2,.h3,.h4,.h5,.h6{font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-weight:500;line-height:1.1;color:inherit}h1 small,h2 small,h3 small,h4 small,h5 small,h6 small,.h1 small,.h2 small,.h3 small,.h4 small,.h5 small,.h6 small,h1 .small,h2 .small,h3 .small,h4 .small,h5 .small,h6 .small,.h1 .small,.h2 .small,.h3 .small,.h4 .small,.h5 .small,.h6 .small{font-weight:normal;line-height:1;color:#999}h1,h2,h3{margin-top:20px;margin-bottom:10px}h1 small,h2 small,h3 small,h1 .small,h2 .small,h3 .small{font-size:65%}h4,h5,h6{margin-top:10px;margin-bottom:10px}h4 small,h5 small,h6 small,h4 .small,h5 .small,h6 .small{font-size:75%}h1,.h1{font-size:36px}h2,.h2{font-size:30px}h3,.h3{font-size:24px}h4,.h4{font-size:18px}h5,.h5{font-size:14px}h6,.h6{font-size:12px}p{margin:0 0 10px}.lead{margin-bottom:20px;font-size:16px;font-weight:200;line-height:1.4}@media(min-width:768px){.lead{font-size:21px}}small,.small{font-size:85%}cite{font-style:normal}.text-muted{color:#999}.text-primary{color:#428bca}.text-primary:hover{color:#3071a9}.text-warning{color:#8a6d3b}.text-warning:hover{color:#66512c}.text-danger{color:#a94442}.text-danger:hover{color:#843534}.text-success{color:#3c763d}.text-success:hover{color:#2b542c}.text-info{color:#31708f}.text-info:hover{color:#245269}.text-left{text-align:left}.text-right{text-align:right}.text-center{text-align:center}.page-header{padding-bottom:9px;margin:40px 0 20px;border-bottom:1px solid #eee}ul,ol{margin-top:0;margin-bottom:10px}ul ul,ol ul,ul ol,ol ol{margin-bottom:0}.list-unstyled{padding-left:0;list-style:none}.list-inline{padding-left:0;list-style:none}.list-inline>li{display:inline-block;padding-right:5px;padding-left:5px}.list-inline>li:first-child{padding-left:0}dl{margin-top:0;margin-bottom:20px}dt,dd{line-height:1.428571429}dt{font-weight:bold}dd{margin-left:0}@media(min-width:768px){.dl-horizontal dt{float:left;width:160px;overflow:hidden;clear:left;text-align:right;text-overflow:ellipsis;white-space:nowrap}.dl-horizontal dd{margin-left:180px}.dl-horizontal dd:before,.dl-horizontal dd:after{display:table;content:" "}.dl-horizontal dd:after{clear:both}.dl-horizontal dd:before,.dl-horizontal dd:after{display:table;content:" "}.dl-horizontal dd:after{clear:both}}abbr[title],abbr[data-original-title]{cursor:help;border-bottom:1px dotted #999}.initialism{font-size:90%;text-transform:uppercase}blockquote{padding:10px 20px;margin:0 0 20px;border-left:5px solid #eee}blockquote p{font-size:17.5px;font-weight:300;line-height:1.25}blockquote p:last-child{margin-bottom:0}blockquote small,blockquote .small{display:block;line-height:1.428571429;color:#999}blockquote small:before,blockquote .small:before{content:'\2014 \00A0'}blockquote.pull-right{padding-right:15px;padding-left:0;border-right:5px solid #eee;border-left:0}blockquote.pull-right p,blockquote.pull-right small,blockquote.pull-right .small{text-align:right}blockquote.pull-right small:before,blockquote.pull-right .small:before{content:''}blockquote.pull-right small:after,blockquote.pull-right .small:after{content:'\00A0 \2014'}blockquote:before,blockquote:after{content:""}address{margin-bottom:20px;font-style:normal;line-height:1.428571429}code,kbd,pre,samp{font-family:Menlo,Monaco,Consolas,"Courier New",monospace}code{padding:2px 4px;font-size:90%;color:#c7254e;white-space:nowrap;background-color:#f9f2f4;border-radius:4px}pre{display:block;padding:9.5px;margin:0 0 10px;font-size:13px;line-height:1.428571429;color:#333;word-break:break-all;word-wrap:break-word;background-color:#f5f5f5;border:1px solid #ccc;border-radius:4px}pre code{padding:0;font-size:inherit;color:inherit;white-space:pre-wrap;background-color:transparent;border-radius:0}.pre-scrollable{max-height:340px;overflow-y:scroll}.container{padding-right:15px;padding-left:15px;margin-right:auto;margin-left:auto}.container:before,.container:after{display:table;content:" "}.container:after{clear:both}.container:before,.container:after{display:table;content:" "}.container:after{clear:both}@media(min-width:768px){.container{width:750px}}@media(min-width:992px){.container{width:970px}}@media(min-width:1200px){.container{width:1170px}}.row{margin-right:-15px;margin-left:-15px}.row:before,.row:after{display:table;content:" "}.row:after{clear:both}.row:before,.row:after{display:table;content:" "}.row:after{clear:both}.col-xs-1,.col-sm-1,.col-md-1,.col-lg-1,.col-xs-2,.col-sm-2,.col-md-2,.col-lg-2,.col-xs-3,.col-sm-3,.col-md-3,.col-lg-3,.col-xs-4,.col-sm-4,.col-md-4,.col-lg-4,.col-xs-5,.col-sm-5,.col-md-5,.col-lg-5,.col-xs-6,.col-sm-6,.col-md-6,.col-lg-6,.col-xs-7,.col-sm-7,.col-md-7,.col-lg-7,.col-xs-8,.col-sm-8,.col-md-8,.col-lg-8,.col-xs-9,.col-sm-9,.col-md-9,.col-lg-9,.col-xs-10,.col-sm-10,.col-md-10,.col-lg-10,.col-xs-11,.col-sm-11,.col-md-11,.col-lg-11,.col-xs-12,.col-sm-12,.col-md-12,.col-lg-12{position:relative;min-height:1px;padding-right:15px;padding-left:15px}.col-xs-1,.col-xs-2,.col-xs-3,.col-xs-4,.col-xs-5,.col-xs-6,.col-xs-7,.col-xs-8,.col-xs-9,.col-xs-10,.col-xs-11,.col-xs-12{float:left}.col-xs-12{width:100%}.col-xs-11{width:91.66666666666666%}.col-xs-10{width:83.33333333333334%}.col-xs-9{width:75%}.col-xs-8{width:66.66666666666666%}.col-xs-7{width:58.333333333333336%}.col-xs-6{width:50%}.col-xs-5{width:41.66666666666667%}.col-xs-4{width:33.33333333333333%}.col-xs-3{width:25%}.col-xs-2{width:16.666666666666664%}.col-xs-1{width:8.333333333333332%}.col-xs-pull-12{right:100%}.col-xs-pull-11{right:91.66666666666666%}.col-xs-pull-10{right:83.33333333333334%}.col-xs-pull-9{right:75%}.col-xs-pull-8{right:66.66666666666666%}.col-xs-pull-7{right:58.333333333333336%}.col-xs-pull-6{right:50%}.col-xs-pull-5{right:41.66666666666667%}.col-xs-pull-4{right:33.33333333333333%}.col-xs-pull-3{right:25%}.col-xs-pull-2{right:16.666666666666664%}.col-xs-pull-1{right:8.333333333333332%}.col-xs-pull-0{right:0}.col-xs-push-12{left:100%}.col-xs-push-11{left:91.66666666666666%}.col-xs-push-10{left:83.33333333333334%}.col-xs-push-9{left:75%}.col-xs-push-8{left:66.66666666666666%}.col-xs-push-7{left:58.333333333333336%}.col-xs-push-6{left:50%}.col-xs-push-5{left:41.66666666666667%}.col-xs-push-4{left:33.33333333333333%}.col-xs-push-3{left:25%}.col-xs-push-2{left:16.666666666666664%}.col-xs-push-1{left:8.333333333333332%}.col-xs-push-0{left:0}.col-xs-offset-12{margin-left:100%}.col-xs-offset-11{margin-left:91.66666666666666%}.col-xs-offset-10{margin-left:83.33333333333334%}.col-xs-offset-9{margin-left:75%}.col-xs-offset-8{margin-left:66.66666666666666%}.col-xs-offset-7{margin-left:58.333333333333336%}.col-xs-offset-6{margin-left:50%}.col-xs-offset-5{margin-left:41.66666666666667%}.col-xs-offset-4{margin-left:33.33333333333333%}.col-xs-offset-3{margin-left:25%}.col-xs-offset-2{margin-left:16.666666666666664%}.col-xs-offset-1{margin-left:8.333333333333332%}.col-xs-offset-0{margin-left:0}@media(min-width:768px){.col-sm-1,.col-sm-2,.col-sm-3,.col-sm-4,.col-sm-5,.col-sm-6,.col-sm-7,.col-sm-8,.col-sm-9,.col-sm-10,.col-sm-11,.col-sm-12{float:left}.col-sm-12{width:100%}.col-sm-11{width:91.66666666666666%}.col-sm-10{width:83.33333333333334%}.col-sm-9{width:75%}.col-sm-8{width:66.66666666666666%}.col-sm-7{width:58.333333333333336%}.col-sm-6{width:50%}.col-sm-5{width:41.66666666666667%}.col-sm-4{width:33.33333333333333%}.col-sm-3{width:25%}.col-sm-2{width:16.666666666666664%}.col-sm-1{width:8.333333333333332%}.col-sm-pull-12{right:100%}.col-sm-pull-11{right:91.66666666666666%}.col-sm-pull-10{right:83.33333333333334%}.col-sm-pull-9{right:75%}.col-sm-pull-8{right:66.66666666666666%}.col-sm-pull-7{right:58.333333333333336%}.col-sm-pull-6{right:50%}.col-sm-pull-5{right:41.66666666666667%}.col-sm-pull-4{right:33.33333333333333%}.col-sm-pull-3{right:25%}.col-sm-pull-2{right:16.666666666666664%}.col-sm-pull-1{right:8.333333333333332%}.col-sm-pull-0{right:0}.col-sm-push-12{left:100%}.col-sm-push-11{left:91.66666666666666%}.col-sm-push-10{left:83.33333333333334%}.col-sm-push-9{left:75%}.col-sm-push-8{left:66.66666666666666%}.col-sm-push-7{left:58.333333333333336%}.col-sm-push-6{left:50%}.col-sm-push-5{left:41.66666666666667%}.col-sm-push-4{left:33.33333333333333%}.col-sm-push-3{left:25%}.col-sm-push-2{left:16.666666666666664%}.col-sm-push-1{left:8.333333333333332%}.col-sm-push-0{left:0}.col-sm-offset-12{margin-left:100%}.col-sm-offset-11{margin-left:91.66666666666666%}.col-sm-offset-10{margin-left:83.33333333333334%}.col-sm-offset-9{margin-left:75%}.col-sm-offset-8{margin-left:66.66666666666666%}.col-sm-offset-7{margin-left:58.333333333333336%}.col-sm-offset-6{margin-left:50%}.col-sm-offset-5{margin-left:41.66666666666667%}.col-sm-offset-4{margin-left:33.33333333333333%}.col-sm-offset-3{margin-left:25%}.col-sm-offset-2{margin-left:16.666666666666664%}.col-sm-offset-1{margin-left:8.333333333333332%}.col-sm-offset-0{margin-left:0}}@media(min-width:992px){.col-md-1,.col-md-2,.col-md-3,.col-md-4,.col-md-5,.col-md-6,.col-md-7,.col-md-8,.col-md-9,.col-md-10,.col-md-11,.col-md-12{float:left}.col-md-12{width:100%}.col-md-11{width:91.66666666666666%}.col-md-10{width:83.33333333333334%}.col-md-9{width:75%}.col-md-8{width:66.66666666666666%}.col-md-7{width:58.333333333333336%}.col-md-6{width:50%}.col-md-5{width:41.66666666666667%}.col-md-4{width:33.33333333333333%}.col-md-3{width:25%}.col-md-2{width:16.666666666666664%}.col-md-1{width:8.333333333333332%}.col-md-pull-12{right:100%}.col-md-pull-11{right:91.66666666666666%}.col-md-pull-10{right:83.33333333333334%}.col-md-pull-9{right:75%}.col-md-pull-8{right:66.66666666666666%}.col-md-pull-7{right:58.333333333333336%}.col-md-pull-6{right:50%}.col-md-pull-5{right:41.66666666666667%}.col-md-pull-4{right:33.33333333333333%}.col-md-pull-3{right:25%}.col-md-pull-2{right:16.666666666666664%}.col-md-pull-1{right:8.333333333333332%}.col-md-pull-0{right:0}.col-md-push-12{left:100%}.col-md-push-11{left:91.66666666666666%}.col-md-push-10{left:83.33333333333334%}.col-md-push-9{left:75%}.col-md-push-8{left:66.66666666666666%}.col-md-push-7{left:58.333333333333336%}.col-md-push-6{left:50%}.col-md-push-5{left:41.66666666666667%}.col-md-push-4{left:33.33333333333333%}.col-md-push-3{left:25%}.col-md-push-2{left:16.666666666666664%}.col-md-push-1{left:8.333333333333332%}.col-md-push-0{left:0}.col-md-offset-12{margin-left:100%}.col-md-offset-11{margin-left:91.66666666666666%}.col-md-offset-10{margin-left:83.33333333333334%}.col-md-offset-9{margin-left:75%}.col-md-offset-8{margin-left:66.66666666666666%}.col-md-offset-7{margin-left:58.333333333333336%}.col-md-offset-6{margin-left:50%}.col-md-offset-5{margin-left:41.66666666666667%}.col-md-offset-4{margin-left:33.33333333333333%}.col-md-offset-3{margin-left:25%}.col-md-offset-2{margin-left:16.666666666666664%}.col-md-offset-1{margin-left:8.333333333333332%}.col-md-offset-0{margin-left:0}}@media(min-width:1200px){.col-lg-1,.col-lg-2,.col-lg-3,.col-lg-4,.col-lg-5,.col-lg-6,.col-lg-7,.col-lg-8,.col-lg-9,.col-lg-10,.col-lg-11,.col-lg-12{float:left}.col-lg-12{width:100%}.col-lg-11{width:91.66666666666666%}.col-lg-10{width:83.33333333333334%}.col-lg-9{width:75%}.col-lg-8{width:66.66666666666666%}.col-lg-7{width:58.333333333333336%}.col-lg-6{width:50%}.col-lg-5{width:41.66666666666667%}.col-lg-4{width:33.33333333333333%}.col-lg-3{width:25%}.col-lg-2{width:16.666666666666664%}.col-lg-1{width:8.333333333333332%}.col-lg-pull-12{right:100%}.col-lg-pull-11{right:91.66666666666666%}.col-lg-pull-10{right:83.33333333333334%}.col-lg-pull-9{right:75%}.col-lg-pull-8{right:66.66666666666666%}.col-lg-pull-7{right:58.333333333333336%}.col-lg-pull-6{right:50%}.col-lg-pull-5{right:41.66666666666667%}.col-lg-pull-4{right:33.33333333333333%}.col-lg-pull-3{right:25%}.col-lg-pull-2{right:16.666666666666664%}.col-lg-pull-1{right:8.333333333333332%}.col-lg-pull-0{right:0}.col-lg-push-12{left:100%}.col-lg-push-11{left:91.66666666666666%}.col-lg-push-10{left:83.33333333333334%}.col-lg-push-9{left:75%}.col-lg-push-8{left:66.66666666666666%}.col-lg-push-7{left:58.333333333333336%}.col-lg-push-6{left:50%}.col-lg-push-5{left:41.66666666666667%}.col-lg-push-4{left:33.33333333333333%}.col-lg-push-3{left:25%}.col-lg-push-2{left:16.666666666666664%}.col-lg-push-1{left:8.333333333333332%}.col-lg-push-0{left:0}.col-lg-offset-12{margin-left:100%}.col-lg-offset-11{margin-left:91.66666666666666%}.col-lg-offset-10{margin-left:83.33333333333334%}.col-lg-offset-9{margin-left:75%}.col-lg-offset-8{margin-left:66.66666666666666%}.col-lg-offset-7{margin-left:58.333333333333336%}.col-lg-offset-6{margin-left:50%}.col-lg-offset-5{margin-left:41.66666666666667%}.col-lg-offset-4{margin-left:33.33333333333333%}.col-lg-offset-3{margin-left:25%}.col-lg-offset-2{margin-left:16.666666666666664%}.col-lg-offset-1{margin-left:8.333333333333332%}.col-lg-offset-0{margin-left:0}}table{max-width:100%;background-color:transparent}th{text-align:left}.table{width:100%;margin-bottom:20px}.table>thead>tr>th,.table>tbody>tr>th,.table>tfoot>tr>th,.table>thead>tr>td,.table>tbody>tr>td,.table>tfoot>tr>td{padding:8px;line-height:1.428571429;vertical-align:top;border-top:1px solid #ddd}.table>thead>tr>th{vertical-align:bottom;border-bottom:2px solid #ddd}.table>caption+thead>tr:first-child>th,.table>colgroup+thead>tr:first-child>th,.table>thead:first-child>tr:first-child>th,.table>caption+thead>tr:first-child>td,.table>colgroup+thead>tr:first-child>td,.table>thead:first-child>tr:first-child>td{border-top:0}.table>tbody+tbody{border-top:2px solid #ddd}.table .table{background-color:#fff}.table-condensed>thead>tr>th,.table-condensed>tbody>tr>th,.table-condensed>tfoot>tr>th,.table-condensed>thead>tr>td,.table-condensed>tbody>tr>td,.table-condensed>tfoot>tr>td{padding:5px}.table-bordered{border:1px solid #ddd}.table-bordered>thead>tr>th,.table-bordered>tbody>tr>th,.table-bordered>tfoot>tr>th,.table-bordered>thead>tr>td,.table-bordered>tbody>tr>td,.table-bordered>tfoot>tr>td{border:1px solid #ddd}.table-bordered>thead>tr>th,.table-bordered>thead>tr>td{border-bottom-width:2px}.table-striped>tbody>tr:nth-child(odd)>td,.table-striped>tbody>tr:nth-child(odd)>th{background-color:#f9f9f9}.table-hover>tbody>tr:hover>td,.table-hover>tbody>tr:hover>th{background-color:#f5f5f5}table col[class*="col-"]{position:static;display:table-column;float:none}table td[class*="col-"],table th[class*="col-"]{display:table-cell;float:none}.table>thead>tr>.active,.table>tbody>tr>.active,.table>tfoot>tr>.active,.table>thead>.active>td,.table>tbody>.active>td,.table>tfoot>.active>td,.table>thead>.active>th,.table>tbody>.active>th,.table>tfoot>.active>th{background-color:#f5f5f5}.table-hover>tbody>tr>.active:hover,.table-hover>tbody>.active:hover>td,.table-hover>tbody>.active:hover>th{background-color:#e8e8e8}.table>thead>tr>.success,.table>tbody>tr>.success,.table>tfoot>tr>.success,.table>thead>.success>td,.table>tbody>.success>td,.table>tfoot>.success>td,.table>thead>.success>th,.table>tbody>.success>th,.table>tfoot>.success>th{background-color:#dff0d8}.table-hover>tbody>tr>.success:hover,.table-hover>tbody>.success:hover>td,.table-hover>tbody>.success:hover>th{background-color:#d0e9c6}.table>thead>tr>.danger,.table>tbody>tr>.danger,.table>tfoot>tr>.danger,.table>thead>.danger>td,.table>tbody>.danger>td,.table>tfoot>.danger>td,.table>thead>.danger>th,.table>tbody>.danger>th,.table>tfoot>.danger>th{background-color:#f2dede}.table-hover>tbody>tr>.danger:hover,.table-hover>tbody>.danger:hover>td,.table-hover>tbody>.danger:hover>th{background-color:#ebcccc}.table>thead>tr>.warning,.table>tbody>tr>.warning,.table>tfoot>tr>.warning,.table>thead>.warning>td,.table>tbody>.warning>td,.table>tfoot>.warning>td,.table>thead>.warning>th,.table>tbody>.warning>th,.table>tfoot>.warning>th{background-color:#fcf8e3}.table-hover>tbody>tr>.warning:hover,.table-hover>tbody>.warning:hover>td,.table-hover>tbody>.warning:hover>th{background-color:#faf2cc}@media(max-width:767px){.table-responsive{width:100%;margin-bottom:15px;overflow-x:scroll;overflow-y:hidden;border:1px solid #ddd;-ms-overflow-style:-ms-autohiding-scrollbar;-webkit-overflow-scrolling:touch}.table-responsive>.table{margin-bottom:0}.table-responsive>.table>thead>tr>th,.table-responsive>.table>tbody>tr>th,.table-responsive>.table>tfoot>tr>th,.table-responsive>.table>thead>tr>td,.table-responsive>.table>tbody>tr>td,.table-responsive>.table>tfoot>tr>td{white-space:nowrap}.table-responsive>.table-bordered{border:0}.table-responsive>.table-bordered>thead>tr>th:first-child,.table-responsive>.table-bordered>tbody>tr>th:first-child,.table-responsive>.table-bordered>tfoot>tr>th:first-child,.table-responsive>.table-bordered>thead>tr>td:first-child,.table-responsive>.table-bordered>tbody>tr>td:first-child,.table-responsive>.table-bordered>tfoot>tr>td:first-child{border-left:0}.table-responsive>.table-bordered>thead>tr>th:last-child,.table-responsive>.table-bordered>tbody>tr>th:last-child,.table-responsive>.table-bordered>tfoot>tr>th:last-child,.table-responsive>.table-bordered>thead>tr>td:last-child,.table-responsive>.table-bordered>tbody>tr>td:last-child,.table-responsive>.table-bordered>tfoot>tr>td:last-child{border-right:0}.table-responsive>.table-bordered>tbody>tr:last-child>th,.table-responsive>.table-bordered>tfoot>tr:last-child>th,.table-responsive>.table-bordered>tbody>tr:last-child>td,.table-responsive>.table-bordered>tfoot>tr:last-child>td{border-bottom:0}}fieldset{padding:0;margin:0;border:0}legend{display:block;width:100%;padding:0;margin-bottom:20px;font-size:21px;line-height:inherit;color:#333;border:0;border-bottom:1px solid #e5e5e5}label{display:inline-block;margin-bottom:5px;font-weight:bold}input[type="search"]{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}input[type="radio"],input[type="checkbox"]{margin:4px 0 0;margin-top:1px \9;line-height:normal}input[type="file"]{display:block}select[multiple],select[size]{height:auto}select optgroup{font-family:inherit;font-size:inherit;font-style:inherit}input[type="file"]:focus,input[type="radio"]:focus,input[type="checkbox"]:focus{outline:thin dotted;outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}input[type="number"]::-webkit-outer-spin-button,input[type="number"]::-webkit-inner-spin-button{height:auto}output{display:block;padding-top:7px;font-size:14px;line-height:1.428571429;color:#555;vertical-align:middle}.form-control{display:block;width:100%;height:34px;padding:6px 12px;font-size:14px;line-height:1.428571429;color:#555;vertical-align:middle;background-color:#fff;background-image:none;border:1px solid #ccc;border-radius:4px;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075);box-shadow:inset 0 1px 1px rgba(0,0,0,0.075);-webkit-transition:border-color ease-in-out .15s,box-shadow ease-in-out .15s;transition:border-color ease-in-out .15s,box-shadow ease-in-out .15s}.form-control:focus{border-color:#66afe9;outline:0;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 8px rgba(102,175,233,0.6);box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 8px rgba(102,175,233,0.6)}.form-control:-moz-placeholder{color:#999}.form-control::-moz-placeholder{color:#999;opacity:1}.form-control:-ms-input-placeholder{color:#999}.form-control::-webkit-input-placeholder{color:#999}.form-control[disabled],.form-control[readonly],fieldset[disabled] .form-control{cursor:not-allowed;background-color:#eee}textarea.form-control{height:auto}.form-group{margin-bottom:15px}.radio,.checkbox{display:block;min-height:20px;padding-left:20px;margin-top:10px;margin-bottom:10px;vertical-align:middle}.radio label,.checkbox label{display:inline;margin-bottom:0;font-weight:normal;cursor:pointer}.radio input[type="radio"],.radio-inline input[type="radio"],.checkbox input[type="checkbox"],.checkbox-inline input[type="checkbox"]{float:left;margin-left:-20px}.radio+.radio,.checkbox+.checkbox{margin-top:-5px}.radio-inline,.checkbox-inline{display:inline-block;padding-left:20px;margin-bottom:0;font-weight:normal;vertical-align:middle;cursor:pointer}.radio-inline+.radio-inline,.checkbox-inline+.checkbox-inline{margin-top:0;margin-left:10px}input[type="radio"][disabled],input[type="checkbox"][disabled],.radio[disabled],.radio-inline[disabled],.checkbox[disabled],.checkbox-inline[disabled],fieldset[disabled] input[type="radio"],fieldset[disabled] input[type="checkbox"],fieldset[disabled] .radio,fieldset[disabled] .radio-inline,fieldset[disabled] .checkbox,fieldset[disabled] .checkbox-inline{cursor:not-allowed}.input-sm{height:30px;padding:5px 10px;font-size:12px;line-height:1.5;border-radius:3px}select.input-sm{height:30px;line-height:30px}textarea.input-sm{height:auto}.input-lg{height:46px;padding:10px 16px;font-size:18px;line-height:1.33;border-radius:6px}select.input-lg{height:46px;line-height:46px}textarea.input-lg{height:auto}.has-warning .help-block,.has-warning .control-label,.has-warning .radio,.has-warning .checkbox,.has-warning .radio-inline,.has-warning .checkbox-inline{color:#8a6d3b}.has-warning .form-control{border-color:#8a6d3b;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075);box-shadow:inset 0 1px 1px rgba(0,0,0,0.075)}.has-warning .form-control:focus{border-color:#66512c;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 6px #c0a16b;box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 6px #c0a16b}.has-warning .input-group-addon{color:#8a6d3b;background-color:#fcf8e3;border-color:#8a6d3b}.has-error .help-block,.has-error .control-label,.has-error .radio,.has-error .checkbox,.has-error .radio-inline,.has-error .checkbox-inline{color:#a94442}.has-error .form-control{border-color:#a94442;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075);box-shadow:inset 0 1px 1px rgba(0,0,0,0.075)}.has-error .form-control:focus{border-color:#843534;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 6px #ce8483;box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 6px #ce8483}.has-error .input-group-addon{color:#a94442;background-color:#f2dede;border-color:#a94442}.has-success .help-block,.has-success .control-label,.has-success .radio,.has-success .checkbox,.has-success .radio-inline,.has-success .checkbox-inline{color:#3c763d}.has-success .form-control{border-color:#3c763d;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075);box-shadow:inset 0 1px 1px rgba(0,0,0,0.075)}.has-success .form-control:focus{border-color:#2b542c;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 6px #67b168;box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 6px #67b168}.has-success .input-group-addon{color:#3c763d;background-color:#dff0d8;border-color:#3c763d}.form-control-static{margin-bottom:0}.help-block{display:block;margin-top:5px;margin-bottom:10px;color:#737373}@media(min-width:768px){.form-inline .form-group{display:inline-block;margin-bottom:0;vertical-align:middle}.form-inline .form-control{display:inline-block}.form-inline select.form-control{width:auto}.form-inline .radio,.form-inline .checkbox{display:inline-block;padding-left:0;margin-top:0;margin-bottom:0}.form-inline .radio input[type="radio"],.form-inline .checkbox input[type="checkbox"]{float:none;margin-left:0}}.form-horizontal .control-label,.form-horizontal .radio,.form-horizontal .checkbox,.form-horizontal .radio-inline,.form-horizontal .checkbox-inline{padding-top:7px;margin-top:0;margin-bottom:0}.form-horizontal .radio,.form-horizontal .checkbox{min-height:27px}.form-horizontal .form-group{margin-right:-15px;margin-left:-15px}.form-horizontal .form-group:before,.form-horizontal .form-group:after{display:table;content:" "}.form-horizontal .form-group:after{clear:both}.form-horizontal .form-group:before,.form-horizontal .form-group:after{display:table;content:" "}.form-horizontal .form-group:after{clear:both}.form-horizontal .form-control-static{padding-top:7px}@media(min-width:768px){.form-horizontal .control-label{text-align:right}}.btn{display:inline-block;padding:6px 12px;margin-bottom:0;font-size:14px;font-weight:normal;line-height:1.428571429;text-align:center;white-space:nowrap;vertical-align:middle;cursor:pointer;background-image:none;border:1px solid transparent;border-radius:4px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;-o-user-select:none;user-select:none}.btn:focus{outline:thin dotted;outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}.btn:hover,.btn:focus{color:#333;text-decoration:none}.btn:active,.btn.active{background-image:none;outline:0;-webkit-box-shadow:inset 0 3px 5px rgba(0,0,0,0.125);box-shadow:inset 0 3px 5px rgba(0,0,0,0.125)}.btn.disabled,.btn[disabled],fieldset[disabled] .btn{pointer-events:none;cursor:not-allowed;opacity:.65;filter:alpha(opacity=65);-webkit-box-shadow:none;box-shadow:none}.btn-default{color:#333;background-color:#fff;border-color:#ccc}.btn-default:hover,.btn-default:focus,.btn-default:active,.btn-default.active,.open .dropdown-toggle.btn-default{color:#333;background-color:#ebebeb;border-color:#adadad}.btn-default:active,.btn-default.active,.open .dropdown-toggle.btn-default{background-image:none}.btn-default.disabled,.btn-default[disabled],fieldset[disabled] .btn-default,.btn-default.disabled:hover,.btn-default[disabled]:hover,fieldset[disabled] .btn-default:hover,.btn-default.disabled:focus,.btn-default[disabled]:focus,fieldset[disabled] .btn-default:focus,.btn-default.disabled:active,.btn-default[disabled]:active,fieldset[disabled] .btn-default:active,.btn-default.disabled.active,.btn-default[disabled].active,fieldset[disabled] .btn-default.active{background-color:#fff;border-color:#ccc}.btn-default .badge{color:#fff;background-color:#fff}.btn-primary{color:#fff;background-color:#428bca;border-color:#357ebd}.btn-primary:hover,.btn-primary:focus,.btn-primary:active,.btn-primary.active,.open .dropdown-toggle.btn-primary{color:#fff;background-color:#3276b1;border-color:#285e8e}.btn-primary:active,.btn-primary.active,.open .dropdown-toggle.btn-primary{background-image:none}.btn-primary.disabled,.btn-primary[disabled],fieldset[disabled] .btn-primary,.btn-primary.disabled:hover,.btn-primary[disabled]:hover,fieldset[disabled] .btn-primary:hover,.btn-primary.disabled:focus,.btn-primary[disabled]:focus,fieldset[disabled] .btn-primary:focus,.btn-primary.disabled:active,.btn-primary[disabled]:active,fieldset[disabled] .btn-primary:active,.btn-primary.disabled.active,.btn-primary[disabled].active,fieldset[disabled] .btn-primary.active{background-color:#428bca;border-color:#357ebd}.btn-primary .badge{color:#428bca;background-color:#fff}.btn-warning{color:#fff;background-color:#f0ad4e;border-color:#eea236}.btn-warning:hover,.btn-warning:focus,.btn-warning:active,.btn-warning.active,.open .dropdown-toggle.btn-warning{color:#fff;background-color:#ed9c28;border-color:#d58512}.btn-warning:active,.btn-warning.active,.open .dropdown-toggle.btn-warning{background-image:none}.btn-warning.disabled,.btn-warning[disabled],fieldset[disabled] .btn-warning,.btn-warning.disabled:hover,.btn-warning[disabled]:hover,fieldset[disabled] .btn-warning:hover,.btn-warning.disabled:focus,.btn-warning[disabled]:focus,fieldset[disabled] .btn-warning:focus,.btn-warning.disabled:active,.btn-warning[disabled]:active,fieldset[disabled] .btn-warning:active,.btn-warning.disabled.active,.btn-warning[disabled].active,fieldset[disabled] .btn-warning.active{background-color:#f0ad4e;border-color:#eea236}.btn-warning .badge{color:#f0ad4e;background-color:#fff}.btn-danger{color:#fff;background-color:#d9534f;border-color:#d43f3a}.btn-danger:hover,.btn-danger:focus,.btn-danger:active,.btn-danger.active,.open .dropdown-toggle.btn-danger{color:#fff;background-color:#d2322d;border-color:#ac2925}.btn-danger:active,.btn-danger.active,.open .dropdown-toggle.btn-danger{background-image:none}.btn-danger.disabled,.btn-danger[disabled],fieldset[disabled] .btn-danger,.btn-danger.disabled:hover,.btn-danger[disabled]:hover,fieldset[disabled] .btn-danger:hover,.btn-danger.disabled:focus,.btn-danger[disabled]:focus,fieldset[disabled] .btn-danger:focus,.btn-danger.disabled:active,.btn-danger[disabled]:active,fieldset[disabled] .btn-danger:active,.btn-danger.disabled.active,.btn-danger[disabled].active,fieldset[disabled] .btn-danger.active{background-color:#d9534f;border-color:#d43f3a}.btn-danger .badge{color:#d9534f;background-color:#fff}.btn-success{color:#fff;background-color:#5cb85c;border-color:#4cae4c}.btn-success:hover,.btn-success:focus,.btn-success:active,.btn-success.active,.open .dropdown-toggle.btn-success{color:#fff;background-color:#47a447;border-color:#398439}.btn-success:active,.btn-success.active,.open .dropdown-toggle.btn-success{background-image:none}.btn-success.disabled,.btn-success[disabled],fieldset[disabled] .btn-success,.btn-success.disabled:hover,.btn-success[disabled]:hover,fieldset[disabled] .btn-success:hover,.btn-success.disabled:focus,.btn-success[disabled]:focus,fieldset[disabled] .btn-success:focus,.btn-success.disabled:active,.btn-success[disabled]:active,fieldset[disabled] .btn-success:active,.btn-success.disabled.active,.btn-success[disabled].active,fieldset[disabled] .btn-success.active{background-color:#5cb85c;border-color:#4cae4c}.btn-success .badge{color:#5cb85c;background-color:#fff}.btn-info{color:#fff;background-color:#5bc0de;border-color:#46b8da}.btn-info:hover,.btn-info:focus,.btn-info:active,.btn-info.active,.open .dropdown-toggle.btn-info{color:#fff;background-color:#39b3d7;border-color:#269abc}.btn-info:active,.btn-info.active,.open .dropdown-toggle.btn-info{background-image:none}.btn-info.disabled,.btn-info[disabled],fieldset[disabled] .btn-info,.btn-info.disabled:hover,.btn-info[disabled]:hover,fieldset[disabled] .btn-info:hover,.btn-info.disabled:focus,.btn-info[disabled]:focus,fieldset[disabled] .btn-info:focus,.btn-info.disabled:active,.btn-info[disabled]:active,fieldset[disabled] .btn-info:active,.btn-info.disabled.active,.btn-info[disabled].active,fieldset[disabled] .btn-info.active{background-color:#5bc0de;border-color:#46b8da}.btn-info .badge{color:#5bc0de;background-color:#fff}.btn-link{font-weight:normal;color:#428bca;cursor:pointer;border-radius:0}.btn-link,.btn-link:active,.btn-link[disabled],fieldset[disabled] .btn-link{background-color:transparent;-webkit-box-shadow:none;box-shadow:none}.btn-link,.btn-link:hover,.btn-link:focus,.btn-link:active{border-color:transparent}.btn-link:hover,.btn-link:focus{color:#2a6496;text-decoration:underline;background-color:transparent}.btn-link[disabled]:hover,fieldset[disabled] .btn-link:hover,.btn-link[disabled]:focus,fieldset[disabled] .btn-link:focus{color:#999;text-decoration:none}.btn-lg{padding:10px 16px;font-size:18px;line-height:1.33;border-radius:6px}.btn-sm{padding:5px 10px;font-size:12px;line-height:1.5;border-radius:3px}.btn-xs{padding:1px 5px;font-size:12px;line-height:1.5;border-radius:3px}.btn-block{display:block;width:100%;padding-right:0;padding-left:0}.btn-block+.btn-block{margin-top:5px}input[type="submit"].btn-block,input[type="reset"].btn-block,input[type="button"].btn-block{width:100%}.fade{opacity:0;-webkit-transition:opacity .15s linear;transition:opacity .15s linear}.fade.in{opacity:1}.collapse{display:none}.collapse.in{display:block}.collapsing{position:relative;height:0;overflow:hidden;-webkit-transition:height .35s ease;transition:height .35s ease}@font-face{font-family:'Glyphicons Halflings';src:url('../fonts/glyphicons-halflings-regular.eot');src:url('../fonts/glyphicons-halflings-regular.eot?#iefix') format('embedded-opentype'),url('../fonts/glyphicons-halflings-regular.woff') format('woff'),url('../fonts/glyphicons-halflings-regular.ttf') format('truetype'),url('../fonts/glyphicons-halflings-regular.svg#glyphicons-halflingsregular') format('svg')}.glyphicon{position:relative;top:1px;display:inline-block;font-family:'Glyphicons Halflings';-webkit-font-smoothing:antialiased;font-style:normal;font-weight:normal;line-height:1;-moz-osx-font-smoothing:grayscale}.glyphicon:empty{width:1em}.glyphicon-asterisk:before{content:"\2a"}.glyphicon-plus:before{content:"\2b"}.glyphicon-euro:before{content:"\20ac"}.glyphicon-minus:before{content:"\2212"}.glyphicon-cloud:before{content:"\2601"}.glyphicon-envelope:before{content:"\2709"}.glyphicon-pencil:before{content:"\270f"}.glyphicon-glass:before{content:"\e001"}.glyphicon-music:before{content:"\e002"}.glyphicon-search:before{content:"\e003"}.glyphicon-heart:before{content:"\e005"}.glyphicon-star:before{content:"\e006"}.glyphicon-star-empty:before{content:"\e007"}.glyphicon-user:before{content:"\e008"}.glyphicon-film:before{content:"\e009"}.glyphicon-th-large:before{content:"\e010"}.glyphicon-th:before{content:"\e011"}.glyphicon-th-list:before{content:"\e012"}.glyphicon-ok:before{content:"\e013"}.glyphicon-remove:before{content:"\e014"}.glyphicon-zoom-in:before{content:"\e015"}.glyphicon-zoom-out:before{content:"\e016"}.glyphicon-off:before{content:"\e017"}.glyphicon-signal:before{content:"\e018"}.glyphicon-cog:before{content:"\e019"}.glyphicon-trash:before{content:"\e020"}.glyphicon-home:before{content:"\e021"}.glyphicon-file:before{content:"\e022"}.glyphicon-time:before{content:"\e023"}.glyphicon-road:before{content:"\e024"}.glyphicon-download-alt:before{content:"\e025"}.glyphicon-download:before{content:"\e026"}.glyphicon-upload:before{content:"\e027"}.glyphicon-inbox:before{content:"\e028"}.glyphicon-play-circle:before{content:"\e029"}.glyphicon-repeat:before{content:"\e030"}.glyphicon-refresh:before{content:"\e031"}.glyphicon-list-alt:before{content:"\e032"}.glyphicon-lock:before{content:"\e033"}.glyphicon-flag:before{content:"\e034"}.glyphicon-headphones:before{content:"\e035"}.glyphicon-volume-off:before{content:"\e036"}.glyphicon-volume-down:before{content:"\e037"}.glyphicon-volume-up:before{content:"\e038"}.glyphicon-qrcode:before{content:"\e039"}.glyphicon-barcode:before{content:"\e040"}.glyphicon-tag:before{content:"\e041"}.glyphicon-tags:before{content:"\e042"}.glyphicon-book:before{content:"\e043"}.glyphicon-bookmark:before{content:"\e044"}.glyphicon-print:before{content:"\e045"}.glyphicon-camera:before{content:"\e046"}.glyphicon-font:before{content:"\e047"}.glyphicon-bold:before{content:"\e048"}.glyphicon-italic:before{content:"\e049"}.glyphicon-text-height:before{content:"\e050"}.glyphicon-text-width:before{content:"\e051"}.glyphicon-align-left:before{content:"\e052"}.glyphicon-align-center:before{content:"\e053"}.glyphicon-align-right:before{content:"\e054"}.glyphicon-align-justify:before{content:"\e055"}.glyphicon-list:before{content:"\e056"}.glyphicon-indent-left:before{content:"\e057"}.glyphicon-indent-right:before{content:"\e058"}.glyphicon-facetime-video:before{content:"\e059"}.glyphicon-picture:before{content:"\e060"}.glyphicon-map-marker:before{content:"\e062"}.glyphicon-adjust:before{content:"\e063"}.glyphicon-tint:before{content:"\e064"}.glyphicon-edit:before{content:"\e065"}.glyphicon-share:before{content:"\e066"}.glyphicon-check:before{content:"\e067"}.glyphicon-move:before{content:"\e068"}.glyphicon-step-backward:before{content:"\e069"}.glyphicon-fast-backward:before{content:"\e070"}.glyphicon-backward:before{content:"\e071"}.glyphicon-play:before{content:"\e072"}.glyphicon-pause:before{content:"\e073"}.glyphicon-stop:before{content:"\e074"}.glyphicon-forward:before{content:"\e075"}.glyphicon-fast-forward:before{content:"\e076"}.glyphicon-step-forward:before{content:"\e077"}.glyphicon-eject:before{content:"\e078"}.glyphicon-chevron-left:before{content:"\e079"}.glyphicon-chevron-right:before{content:"\e080"}.glyphicon-plus-sign:before{content:"\e081"}.glyphicon-minus-sign:before{content:"\e082"}.glyphicon-remove-sign:before{content:"\e083"}.glyphicon-ok-sign:before{content:"\e084"}.glyphicon-question-sign:before{content:"\e085"}.glyphicon-info-sign:before{content:"\e086"}.glyphicon-screenshot:before{content:"\e087"}.glyphicon-remove-circle:before{content:"\e088"}.glyphicon-ok-circle:before{content:"\e089"}.glyphicon-ban-circle:before{content:"\e090"}.glyphicon-arrow-left:before{content:"\e091"}.glyphicon-arrow-right:before{content:"\e092"}.glyphicon-arrow-up:before{content:"\e093"}.glyphicon-arrow-down:before{content:"\e094"}.glyphicon-share-alt:before{content:"\e095"}.glyphicon-resize-full:before{content:"\e096"}.glyphicon-resize-small:before{content:"\e097"}.glyphicon-exclamation-sign:before{content:"\e101"}.glyphicon-gift:before{content:"\e102"}.glyphicon-leaf:before{content:"\e103"}.glyphicon-fire:before{content:"\e104"}.glyphicon-eye-open:before{content:"\e105"}.glyphicon-eye-close:before{content:"\e106"}.glyphicon-warning-sign:before{content:"\e107"}.glyphicon-plane:before{content:"\e108"}.glyphicon-calendar:before{content:"\e109"}.glyphicon-random:before{content:"\e110"}.glyphicon-comment:before{content:"\e111"}.glyphicon-magnet:before{content:"\e112"}.glyphicon-chevron-up:before{content:"\e113"}.glyphicon-chevron-down:before{content:"\e114"}.glyphicon-retweet:before{content:"\e115"}.glyphicon-shopping-cart:before{content:"\e116"}.glyphicon-folder-close:before{content:"\e117"}.glyphicon-folder-open:before{content:"\e118"}.glyphicon-resize-vertical:before{content:"\e119"}.glyphicon-resize-horizontal:before{content:"\e120"}.glyphicon-hdd:before{content:"\e121"}.glyphicon-bullhorn:before{content:"\e122"}.glyphicon-bell:before{content:"\e123"}.glyphicon-certificate:before{content:"\e124"}.glyphicon-thumbs-up:before{content:"\e125"}.glyphicon-thumbs-down:before{content:"\e126"}.glyphicon-hand-right:before{content:"\e127"}.glyphicon-hand-left:before{content:"\e128"}.glyphicon-hand-up:before{content:"\e129"}.glyphicon-hand-down:before{content:"\e130"}.glyphicon-circle-arrow-right:before{content:"\e131"}.glyphicon-circle-arrow-left:before{content:"\e132"}.glyphicon-circle-arrow-up:before{content:"\e133"}.glyphicon-circle-arrow-down:before{content:"\e134"}.glyphicon-globe:before{content:"\e135"}.glyphicon-wrench:before{content:"\e136"}.glyphicon-tasks:before{content:"\e137"}.glyphicon-filter:before{content:"\e138"}.glyphicon-briefcase:before{content:"\e139"}.glyphicon-fullscreen:before{content:"\e140"}.glyphicon-dashboard:before{content:"\e141"}.glyphicon-paperclip:before{content:"\e142"}.glyphicon-heart-empty:before{content:"\e143"}.glyphicon-link:before{content:"\e144"}.glyphicon-phone:before{content:"\e145"}.glyphicon-pushpin:before{content:"\e146"}.glyphicon-usd:before{content:"\e148"}.glyphicon-gbp:before{content:"\e149"}.glyphicon-sort:before{content:"\e150"}.glyphicon-sort-by-alphabet:before{content:"\e151"}.glyphicon-sort-by-alphabet-alt:before{content:"\e152"}.glyphicon-sort-by-order:before{content:"\e153"}.glyphicon-sort-by-order-alt:before{content:"\e154"}.glyphicon-sort-by-attributes:before{content:"\e155"}.glyphicon-sort-by-attributes-alt:before{content:"\e156"}.glyphicon-unchecked:before{content:"\e157"}.glyphicon-expand:before{content:"\e158"}.glyphicon-collapse-down:before{content:"\e159"}.glyphicon-collapse-up:before{content:"\e160"}.glyphicon-log-in:before{content:"\e161"}.glyphicon-flash:before{content:"\e162"}.glyphicon-log-out:before{content:"\e163"}.glyphicon-new-window:before{content:"\e164"}.glyphicon-record:before{content:"\e165"}.glyphicon-save:before{content:"\e166"}.glyphicon-open:before{content:"\e167"}.glyphicon-saved:before{content:"\e168"}.glyphicon-import:before{content:"\e169"}.glyphicon-export:before{content:"\e170"}.glyphicon-send:before{content:"\e171"}.glyphicon-floppy-disk:before{content:"\e172"}.glyphicon-floppy-saved:before{content:"\e173"}.glyphicon-floppy-remove:before{content:"\e174"}.glyphicon-floppy-save:before{content:"\e175"}.glyphicon-floppy-open:before{content:"\e176"}.glyphicon-credit-card:before{content:"\e177"}.glyphicon-transfer:before{content:"\e178"}.glyphicon-cutlery:before{content:"\e179"}.glyphicon-header:before{content:"\e180"}.glyphicon-compressed:before{content:"\e181"}.glyphicon-earphone:before{content:"\e182"}.glyphicon-phone-alt:before{content:"\e183"}.glyphicon-tower:before{content:"\e184"}.glyphicon-stats:before{content:"\e185"}.glyphicon-sd-video:before{content:"\e186"}.glyphicon-hd-video:before{content:"\e187"}.glyphicon-subtitles:before{content:"\e188"}.glyphicon-sound-stereo:before{content:"\e189"}.glyphicon-sound-dolby:before{content:"\e190"}.glyphicon-sound-5-1:before{content:"\e191"}.glyphicon-sound-6-1:before{content:"\e192"}.glyphicon-sound-7-1:before{content:"\e193"}.glyphicon-copyright-mark:before{content:"\e194"}.glyphicon-registration-mark:before{content:"\e195"}.glyphicon-cloud-download:before{content:"\e197"}.glyphicon-cloud-upload:before{content:"\e198"}.glyphicon-tree-conifer:before{content:"\e199"}.glyphicon-tree-deciduous:before{content:"\e200"}.caret{display:inline-block;width:0;height:0;margin-left:2px;vertical-align:middle;border-top:4px solid;border-right:4px solid transparent;border-left:4px solid transparent}.dropdown{position:relative}.dropdown-toggle:focus{outline:0}.dropdown-menu{position:absolute;top:100%;left:0;z-index:1000;display:none;float:left;min-width:160px;padding:5px 0;margin:2px 0 0;font-size:14px;list-style:none;background-color:#fff;border:1px solid #ccc;border:1px solid rgba(0,0,0,0.15);border-radius:4px;-webkit-box-shadow:0 6px 12px rgba(0,0,0,0.175);box-shadow:0 6px 12px rgba(0,0,0,0.175);background-clip:padding-box}.dropdown-menu.pull-right{right:0;left:auto}.dropdown-menu .divider{height:1px;margin:9px 0;overflow:hidden;background-color:#e5e5e5}.dropdown-menu>li>a{display:block;padding:3px 20px;clear:both;font-weight:normal;line-height:1.428571429;color:#333;white-space:nowrap}.dropdown-menu>li>a:hover,.dropdown-menu>li>a:focus{color:#262626;text-decoration:none;background-color:#f5f5f5}.dropdown-menu>.active>a,.dropdown-menu>.active>a:hover,.dropdown-menu>.active>a:focus{color:#fff;text-decoration:none;background-color:#428bca;outline:0}.dropdown-menu>.disabled>a,.dropdown-menu>.disabled>a:hover,.dropdown-menu>.disabled>a:focus{color:#999}.dropdown-menu>.disabled>a:hover,.dropdown-menu>.disabled>a:focus{text-decoration:none;cursor:not-allowed;background-color:transparent;background-image:none;filter:progid:DXImageTransform.Microsoft.gradient(enabled=false)}.open>.dropdown-menu{display:block}.open>a{outline:0}.dropdown-header{display:block;padding:3px 20px;font-size:12px;line-height:1.428571429;color:#999}.dropdown-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:990}.pull-right>.dropdown-menu{right:0;left:auto}.dropup .caret,.navbar-fixed-bottom .dropdown .caret{border-top:0;border-bottom:4px solid;content:""}.dropup .dropdown-menu,.navbar-fixed-bottom .dropdown .dropdown-menu{top:auto;bottom:100%;margin-bottom:1px}@media(min-width:768px){.navbar-right .dropdown-menu{right:0;left:auto}}.btn-group,.btn-group-vertical{position:relative;display:inline-block;vertical-align:middle}.btn-group>.btn,.btn-group-vertical>.btn{position:relative;float:left}.btn-group>.btn:hover,.btn-group-vertical>.btn:hover,.btn-group>.btn:focus,.btn-group-vertical>.btn:focus,.btn-group>.btn:active,.btn-group-vertical>.btn:active,.btn-group>.btn.active,.btn-group-vertical>.btn.active{z-index:2}.btn-group>.btn:focus,.btn-group-vertical>.btn:focus{outline:0}.btn-group .btn+.btn,.btn-group .btn+.btn-group,.btn-group .btn-group+.btn,.btn-group .btn-group+.btn-group{margin-left:-1px}.btn-toolbar:before,.btn-toolbar:after{display:table;content:" "}.btn-toolbar:after{clear:both}.btn-toolbar:before,.btn-toolbar:after{display:table;content:" "}.btn-toolbar:after{clear:both}.btn-toolbar .btn-group{float:left}.btn-toolbar>.btn+.btn,.btn-toolbar>.btn-group+.btn,.btn-toolbar>.btn+.btn-group,.btn-toolbar>.btn-group+.btn-group{margin-left:5px}.btn-group>.btn:not(:first-child):not(:last-child):not(.dropdown-toggle){border-radius:0}.btn-group>.btn:first-child{margin-left:0}.btn-group>.btn:first-child:not(:last-child):not(.dropdown-toggle){border-top-right-radius:0;border-bottom-right-radius:0}.btn-group>.btn:last-child:not(:first-child),.btn-group>.dropdown-toggle:not(:first-child){border-bottom-left-radius:0;border-top-left-radius:0}.btn-group>.btn-group{float:left}.btn-group>.btn-group:not(:first-child):not(:last-child)>.btn{border-radius:0}.btn-group>.btn-group:first-child>.btn:last-child,.btn-group>.btn-group:first-child>.dropdown-toggle{border-top-right-radius:0;border-bottom-right-radius:0}.btn-group>.btn-group:last-child>.btn:first-child{border-bottom-left-radius:0;border-top-left-radius:0}.btn-group .dropdown-toggle:active,.btn-group.open .dropdown-toggle{outline:0}.btn-group-xs>.btn{padding:1px 5px;font-size:12px;line-height:1.5;border-radius:3px}.btn-group-sm>.btn{padding:5px 10px;font-size:12px;line-height:1.5;border-radius:3px}.btn-group-lg>.btn{padding:10px 16px;font-size:18px;line-height:1.33;border-radius:6px}.btn-group>.btn+.dropdown-toggle{padding-right:8px;padding-left:8px}.btn-group>.btn-lg+.dropdown-toggle{padding-right:12px;padding-left:12px}.btn-group.open .dropdown-toggle{-webkit-box-shadow:inset 0 3px 5px rgba(0,0,0,0.125);box-shadow:inset 0 3px 5px rgba(0,0,0,0.125)}.btn-group.open .dropdown-toggle.btn-link{-webkit-box-shadow:none;box-shadow:none}.btn .caret{margin-left:0}.btn-lg .caret{border-width:5px 5px 0;border-bottom-width:0}.dropup .btn-lg .caret{border-width:0 5px 5px}.btn-group-vertical>.btn,.btn-group-vertical>.btn-group,.btn-group-vertical>.btn-group>.btn{display:block;float:none;width:100%;max-width:100%}.btn-group-vertical>.btn-group:before,.btn-group-vertical>.btn-group:after{display:table;content:" "}.btn-group-vertical>.btn-group:after{clear:both}.btn-group-vertical>.btn-group:before,.btn-group-vertical>.btn-group:after{display:table;content:" "}.btn-group-vertical>.btn-group:after{clear:both}.btn-group-vertical>.btn-group>.btn{float:none}.btn-group-vertical>.btn+.btn,.btn-group-vertical>.btn+.btn-group,.btn-group-vertical>.btn-group+.btn,.btn-group-vertical>.btn-group+.btn-group{margin-top:-1px;margin-left:0}.btn-group-vertical>.btn:not(:first-child):not(:last-child){border-radius:0}.btn-group-vertical>.btn:first-child:not(:last-child){border-top-right-radius:4px;border-bottom-right-radius:0;border-bottom-left-radius:0}.btn-group-vertical>.btn:last-child:not(:first-child){border-top-right-radius:0;border-bottom-left-radius:4px;border-top-left-radius:0}.btn-group-vertical>.btn-group:not(:first-child):not(:last-child)>.btn{border-radius:0}.btn-group-vertical>.btn-group:first-child>.btn:last-child,.btn-group-vertical>.btn-group:first-child>.dropdown-toggle{border-bottom-right-radius:0;border-bottom-left-radius:0}.btn-group-vertical>.btn-group:last-child>.btn:first-child{border-top-right-radius:0;border-top-left-radius:0}.btn-group-justified{display:table;width:100%;border-collapse:separate;table-layout:fixed}.btn-group-justified>.btn,.btn-group-justified>.btn-group{display:table-cell;float:none;width:1%}.btn-group-justified>.btn-group .btn{width:100%}[data-toggle="buttons"]>.btn>input[type="radio"],[data-toggle="buttons"]>.btn>input[type="checkbox"]{display:none}.input-group{position:relative;display:table;border-collapse:separate}.input-group[class*="col-"]{float:none;padding-right:0;padding-left:0}.input-group .form-control{width:100%;margin-bottom:0}.input-group-lg>.form-control,.input-group-lg>.input-group-addon,.input-group-lg>.input-group-btn>.btn{height:46px;padding:10px 16px;font-size:18px;line-height:1.33;border-radius:6px}select.input-group-lg>.form-control,select.input-group-lg>.input-group-addon,select.input-group-lg>.input-group-btn>.btn{height:46px;line-height:46px}textarea.input-group-lg>.form-control,textarea.input-group-lg>.input-group-addon,textarea.input-group-lg>.input-group-btn>.btn{height:auto}.input-group-sm>.form-control,.input-group-sm>.input-group-addon,.input-group-sm>.input-group-btn>.btn{height:30px;padding:5px 10px;font-size:12px;line-height:1.5;border-radius:3px}select.input-group-sm>.form-control,select.input-group-sm>.input-group-addon,select.input-group-sm>.input-group-btn>.btn{height:30px;line-height:30px}textarea.input-group-sm>.form-control,textarea.input-group-sm>.input-group-addon,textarea.input-group-sm>.input-group-btn>.btn{height:auto}.input-group-addon,.input-group-btn,.input-group .form-control{display:table-cell}.input-group-addon:not(:first-child):not(:last-child),.input-group-btn:not(:first-child):not(:last-child),.input-group .form-control:not(:first-child):not(:last-child){border-radius:0}.input-group-addon,.input-group-btn{width:1%;white-space:nowrap;vertical-align:middle}.input-group-addon{padding:6px 12px;font-size:14px;font-weight:normal;line-height:1;color:#555;text-align:center;background-color:#eee;border:1px solid #ccc;border-radius:4px}.input-group-addon.input-sm{padding:5px 10px;font-size:12px;border-radius:3px}.input-group-addon.input-lg{padding:10px 16px;font-size:18px;border-radius:6px}.input-group-addon input[type="radio"],.input-group-addon input[type="checkbox"]{margin-top:0}.input-group .form-control:first-child,.input-group-addon:first-child,.input-group-btn:first-child>.btn,.input-group-btn:first-child>.dropdown-toggle,.input-group-btn:last-child>.btn:not(:last-child):not(.dropdown-toggle){border-top-right-radius:0;border-bottom-right-radius:0}.input-group-addon:first-child{border-right:0}.input-group .form-control:last-child,.input-group-addon:last-child,.input-group-btn:last-child>.btn,.input-group-btn:last-child>.dropdown-toggle,.input-group-btn:first-child>.btn:not(:first-child){border-bottom-left-radius:0;border-top-left-radius:0}.input-group-addon:last-child{border-left:0}.input-group-btn{position:relative;white-space:nowrap}.input-group-btn:first-child>.btn{margin-right:-1px}.input-group-btn:last-child>.btn{margin-left:-1px}.input-group-btn>.btn{position:relative}.input-group-btn>.btn+.btn{margin-left:-4px}.input-group-btn>.btn:hover,.input-group-btn>.btn:active{z-index:2}.nav{padding-left:0;margin-bottom:0;list-style:none}.nav:before,.nav:after{display:table;content:" "}.nav:after{clear:both}.nav:before,.nav:after{display:table;content:" "}.nav:after{clear:both}.nav>li{position:relative;display:block}.nav>li>a{position:relative;display:block;padding:10px 15px}.nav>li>a:hover,.nav>li>a:focus{text-decoration:none;background-color:#eee}.nav>li.disabled>a{color:#999}.nav>li.disabled>a:hover,.nav>li.disabled>a:focus{color:#999;text-decoration:none;cursor:not-allowed;background-color:transparent}.nav .open>a,.nav .open>a:hover,.nav .open>a:focus{background-color:#eee;border-color:#428bca}.nav .nav-divider{height:1px;margin:9px 0;overflow:hidden;background-color:#e5e5e5}.nav>li>a>img{max-width:none}.nav-tabs{border-bottom:1px solid #ddd}.nav-tabs>li{float:left;margin-bottom:-1px}.nav-tabs>li>a{margin-right:2px;line-height:1.428571429;border:1px solid transparent;border-radius:4px 4px 0 0}.nav-tabs>li>a:hover{border-color:#eee #eee #ddd}.nav-tabs>li.active>a,.nav-tabs>li.active>a:hover,.nav-tabs>li.active>a:focus{color:#555;cursor:default;background-color:#fff;border:1px solid #ddd;border-bottom-color:transparent}.nav-tabs.nav-justified{width:100%;border-bottom:0}.nav-tabs.nav-justified>li{float:none}.nav-tabs.nav-justified>li>a{margin-bottom:5px;text-align:center}.nav-tabs.nav-justified>.dropdown .dropdown-menu{top:auto;left:auto}@media(min-width:768px){.nav-tabs.nav-justified>li{display:table-cell;width:1%}.nav-tabs.nav-justified>li>a{margin-bottom:0}}.nav-tabs.nav-justified>li>a{margin-right:0;border-radius:4px}.nav-tabs.nav-justified>.active>a,.nav-tabs.nav-justified>.active>a:hover,.nav-tabs.nav-justified>.active>a:focus{border:1px solid #ddd}@media(min-width:768px){.nav-tabs.nav-justified>li>a{border-bottom:1px solid #ddd;border-radius:4px 4px 0 0}.nav-tabs.nav-justified>.active>a,.nav-tabs.nav-justified>.active>a:hover,.nav-tabs.nav-justified>.active>a:focus{border-bottom-color:#fff}}.nav-pills>li{float:left}.nav-pills>li>a{border-radius:4px}.nav-pills>li+li{margin-left:2px}.nav-pills>li.active>a,.nav-pills>li.active>a:hover,.nav-pills>li.active>a:focus{color:#fff;background-color:#428bca}.nav-stacked>li{float:none}.nav-stacked>li+li{margin-top:2px;margin-left:0}.nav-justified{width:100%}.nav-justified>li{float:none}.nav-justified>li>a{margin-bottom:5px;text-align:center}.nav-justified>.dropdown .dropdown-menu{top:auto;left:auto}@media(min-width:768px){.nav-justified>li{display:table-cell;width:1%}.nav-justified>li>a{margin-bottom:0}}.nav-tabs-justified{border-bottom:0}.nav-tabs-justified>li>a{margin-right:0;border-radius:4px}.nav-tabs-justified>.active>a,.nav-tabs-justified>.active>a:hover,.nav-tabs-justified>.active>a:focus{border:1px solid #ddd}@media(min-width:768px){.nav-tabs-justified>li>a{border-bottom:1px solid #ddd;border-radius:4px 4px 0 0}.nav-tabs-justified>.active>a,.nav-tabs-justified>.active>a:hover,.nav-tabs-justified>.active>a:focus{border-bottom-color:#fff}}.tab-content>.tab-pane{display:none}.tab-content>.active{display:block}.nav-tabs .dropdown-menu{margin-top:-1px;border-top-right-radius:0;border-top-left-radius:0}.navbar{position:relative;min-height:50px;margin-bottom:20px;border:1px solid transparent}.navbar:before,.navbar:after{display:table;content:" "}.navbar:after{clear:both}.navbar:before,.navbar:after{display:table;content:" "}.navbar:after{clear:both}@media(min-width:768px){.navbar{border-radius:4px}}.navbar-header:before,.navbar-header:after{display:table;content:" "}.navbar-header:after{clear:both}.navbar-header:before,.navbar-header:after{display:table;content:" "}.navbar-header:after{clear:both}@media(min-width:768px){.navbar-header{float:left}}.navbar-collapse{max-height:340px;padding-right:15px;padding-left:15px;overflow-x:visible;border-top:1px solid transparent;box-shadow:inset 0 1px 0 rgba(255,255,255,0.1);-webkit-overflow-scrolling:touch}.navbar-collapse:before,.navbar-collapse:after{display:table;content:" "}.navbar-collapse:after{clear:both}.navbar-collapse:before,.navbar-collapse:after{display:table;content:" "}.navbar-collapse:after{clear:both}.navbar-collapse.in{overflow-y:auto}@media(min-width:768px){.navbar-collapse{width:auto;border-top:0;box-shadow:none}.navbar-collapse.collapse{display:block!important;height:auto!important;padding-bottom:0;overflow:visible!important}.navbar-collapse.in{overflow-y:visible}.navbar-fixed-top .navbar-collapse,.navbar-static-top .navbar-collapse,.navbar-fixed-bottom .navbar-collapse{padding-right:0;padding-left:0}}.container>.navbar-header,.container>.navbar-collapse{margin-right:-15px;margin-left:-15px}@media(min-width:768px){.container>.navbar-header,.container>.navbar-collapse{margin-right:0;margin-left:0}}.navbar-static-top{z-index:1000;border-width:0 0 1px}@media(min-width:768px){.navbar-static-top{border-radius:0}}.navbar-fixed-top,.navbar-fixed-bottom{position:fixed;right:0;left:0;z-index:1030}@media(min-width:768px){.navbar-fixed-top,.navbar-fixed-bottom{border-radius:0}}.navbar-fixed-top{top:0;border-width:0 0 1px}.navbar-fixed-bottom{bottom:0;margin-bottom:0;border-width:1px 0 0}.navbar-brand{float:left;padding:15px 15px;font-size:18px;line-height:20px}.navbar-brand:hover,.navbar-brand:focus{text-decoration:none}@media(min-width:768px){.navbar>.container .navbar-brand{margin-left:-15px}}.navbar-toggle{position:relative;float:right;padding:9px 10px;margin-top:8px;margin-right:15px;margin-bottom:8px;background-color:transparent;background-image:none;border:1px solid transparent;border-radius:4px}.navbar-toggle .icon-bar{display:block;width:22px;height:2px;border-radius:1px}.navbar-toggle .icon-bar+.icon-bar{margin-top:4px}@media(min-width:768px){.navbar-toggle{display:none}}.navbar-nav{margin:7.5px -15px}.navbar-nav>li>a{padding-top:10px;padding-bottom:10px;line-height:20px}@media(max-width:767px){.navbar-nav .open .dropdown-menu{position:static;float:none;width:auto;margin-top:0;background-color:transparent;border:0;box-shadow:none}.navbar-nav .open .dropdown-menu>li>a,.navbar-nav .open .dropdown-menu .dropdown-header{padding:5px 15px 5px 25px}.navbar-nav .open .dropdown-menu>li>a{line-height:20px}.navbar-nav .open .dropdown-menu>li>a:hover,.navbar-nav .open .dropdown-menu>li>a:focus{background-image:none}}@media(min-width:768px){.navbar-nav{float:left;margin:0}.navbar-nav>li{float:left}.navbar-nav>li>a{padding-top:15px;padding-bottom:15px}.navbar-nav.navbar-right:last-child{margin-right:-15px}}@media(min-width:768px){.navbar-left{float:left!important}.navbar-right{float:right!important}}.navbar-form{padding:10px 15px;margin-top:8px;margin-right:-15px;margin-bottom:8px;margin-left:-15px;border-top:1px solid transparent;border-bottom:1px solid transparent;-webkit-box-shadow:inset 0 1px 0 rgba(255,255,255,0.1),0 1px 0 rgba(255,255,255,0.1);box-shadow:inset 0 1px 0 rgba(255,255,255,0.1),0 1px 0 rgba(255,255,255,0.1)}@media(min-width:768px){.navbar-form .form-group{display:inline-block;margin-bottom:0;vertical-align:middle}.navbar-form .form-control{display:inline-block}.navbar-form select.form-control{width:auto}.navbar-form .radio,.navbar-form .checkbox{display:inline-block;padding-left:0;margin-top:0;margin-bottom:0}.navbar-form .radio input[type="radio"],.navbar-form .checkbox input[type="checkbox"]{float:none;margin-left:0}}@media(max-width:767px){.navbar-form .form-group{margin-bottom:5px}}@media(min-width:768px){.navbar-form{width:auto;padding-top:0;padding-bottom:0;margin-right:0;margin-left:0;border:0;-webkit-box-shadow:none;box-shadow:none}.navbar-form.navbar-right:last-child{margin-right:-15px}}.navbar-nav>li>.dropdown-menu{margin-top:0;border-top-right-radius:0;border-top-left-radius:0}.navbar-fixed-bottom .navbar-nav>li>.dropdown-menu{border-bottom-right-radius:0;border-bottom-left-radius:0}.navbar-nav.pull-right>li>.dropdown-menu,.navbar-nav>li>.dropdown-menu.pull-right{right:0;left:auto}.navbar-btn{margin-top:8px;margin-bottom:8px}.navbar-btn.btn-sm{margin-top:10px;margin-bottom:10px}.navbar-btn.btn-xs{margin-top:14px;margin-bottom:14px}.navbar-text{margin-top:15px;margin-bottom:15px}@media(min-width:768px){.navbar-text{float:left;margin-right:15px;margin-left:15px}.navbar-text.navbar-right:last-child{margin-right:0}}.navbar-default{background-color:#f8f8f8;border-color:#e7e7e7}.navbar-default .navbar-brand{color:#777}.navbar-default .navbar-brand:hover,.navbar-default .navbar-brand:focus{color:#5e5e5e;background-color:transparent}.navbar-default .navbar-text{color:#777}.navbar-default .navbar-nav>li>a{color:#777}.navbar-default .navbar-nav>li>a:hover,.navbar-default .navbar-nav>li>a:focus{color:#333;background-color:transparent}.navbar-default .navbar-nav>.active>a,.navbar-default .navbar-nav>.active>a:hover,.navbar-default .navbar-nav>.active>a:focus{color:#555;background-color:#e7e7e7}.navbar-default .navbar-nav>.disabled>a,.navbar-default .navbar-nav>.disabled>a:hover,.navbar-default .navbar-nav>.disabled>a:focus{color:#ccc;background-color:transparent}.navbar-default .navbar-toggle{border-color:#ddd}.navbar-default .navbar-toggle:hover,.navbar-default .navbar-toggle:focus{background-color:#ddd}.navbar-default .navbar-toggle .icon-bar{background-color:#ccc}.navbar-default .navbar-collapse,.navbar-default .navbar-form{border-color:#e7e7e7}.navbar-default .navbar-nav>.open>a,.navbar-default .navbar-nav>.open>a:hover,.navbar-default .navbar-nav>.open>a:focus{color:#555;background-color:#e7e7e7}@media(max-width:767px){.navbar-default .navbar-nav .open .dropdown-menu>li>a{color:#777}.navbar-default .navbar-nav .open .dropdown-menu>li>a:hover,.navbar-default .navbar-nav .open .dropdown-menu>li>a:focus{color:#333;background-color:transparent}.navbar-default .navbar-nav .open .dropdown-menu>.active>a,.navbar-default .navbar-nav .open .dropdown-menu>.active>a:hover,.navbar-default .navbar-nav .open .dropdown-menu>.active>a:focus{color:#555;background-color:#e7e7e7}.navbar-default .navbar-nav .open .dropdown-menu>.disabled>a,.navbar-default .navbar-nav .open .dropdown-menu>.disabled>a:hover,.navbar-default .navbar-nav .open .dropdown-menu>.disabled>a:focus{color:#ccc;background-color:transparent}}.navbar-default .navbar-link{color:#777}.navbar-default .navbar-link:hover{color:#333}.navbar-inverse{background-color:#222;border-color:#080808}.navbar-inverse .navbar-brand{color:#999}.navbar-inverse .navbar-brand:hover,.navbar-inverse .navbar-brand:focus{color:#fff;background-color:transparent}.navbar-inverse .navbar-text{color:#999}.navbar-inverse .navbar-nav>li>a{color:#999}.navbar-inverse .navbar-nav>li>a:hover,.navbar-inverse .navbar-nav>li>a:focus{color:#fff;background-color:transparent}.navbar-inverse .navbar-nav>.active>a,.navbar-inverse .navbar-nav>.active>a:hover,.navbar-inverse .navbar-nav>.active>a:focus{color:#fff;background-color:#080808}.navbar-inverse .navbar-nav>.disabled>a,.navbar-inverse .navbar-nav>.disabled>a:hover,.navbar-inverse .navbar-nav>.disabled>a:focus{color:#444;background-color:transparent}.navbar-inverse .navbar-toggle{border-color:#333}.navbar-inverse .navbar-toggle:hover,.navbar-inverse .navbar-toggle:focus{background-color:#333}.navbar-inverse .navbar-toggle .icon-bar{background-color:#fff}.navbar-inverse .navbar-collapse,.navbar-inverse .navbar-form{border-color:#101010}.navbar-inverse .navbar-nav>.open>a,.navbar-inverse .navbar-nav>.open>a:hover,.navbar-inverse .navbar-nav>.open>a:focus{color:#fff;background-color:#080808}@media(max-width:767px){.navbar-inverse .navbar-nav .open .dropdown-menu>.dropdown-header{border-color:#080808}.navbar-inverse .navbar-nav .open .dropdown-menu .divider{background-color:#080808}.navbar-inverse .navbar-nav .open .dropdown-menu>li>a{color:#999}.navbar-inverse .navbar-nav .open .dropdown-menu>li>a:hover,.navbar-inverse .navbar-nav .open .dropdown-menu>li>a:focus{color:#fff;background-color:transparent}.navbar-inverse .navbar-nav .open .dropdown-menu>.active>a,.navbar-inverse .navbar-nav .open .dropdown-menu>.active>a:hover,.navbar-inverse .navbar-nav .open .dropdown-menu>.active>a:focus{color:#fff;background-color:#080808}.navbar-inverse .navbar-nav .open .dropdown-menu>.disabled>a,.navbar-inverse .navbar-nav .open .dropdown-menu>.disabled>a:hover,.navbar-inverse .navbar-nav .open .dropdown-menu>.disabled>a:focus{color:#444;background-color:transparent}}.navbar-inverse .navbar-link{color:#999}.navbar-inverse .navbar-link:hover{color:#fff}.breadcrumb{padding:8px 15px;margin-bottom:20px;list-style:none;background-color:#f5f5f5;border-radius:4px}.breadcrumb>li{display:inline-block}.breadcrumb>li+li:before{padding:0 5px;color:#ccc;content:"/\00a0"}.breadcrumb>.active{color:#999}.pagination{display:inline-block;padding-left:0;margin:20px 0;border-radius:4px}.pagination>li{display:inline}.pagination>li>a,.pagination>li>span{position:relative;float:left;padding:6px 12px;margin-left:-1px;line-height:1.428571429;text-decoration:none;background-color:#fff;border:1px solid #ddd}.pagination>li:first-child>a,.pagination>li:first-child>span{margin-left:0;border-bottom-left-radius:4px;border-top-left-radius:4px}.pagination>li:last-child>a,.pagination>li:last-child>span{border-top-right-radius:4px;border-bottom-right-radius:4px}.pagination>li>a:hover,.pagination>li>span:hover,.pagination>li>a:focus,.pagination>li>span:focus{background-color:#eee}.pagination>.active>a,.pagination>.active>span,.pagination>.active>a:hover,.pagination>.active>span:hover,.pagination>.active>a:focus,.pagination>.active>span:focus{z-index:2;color:#fff;cursor:default;background-color:#428bca;border-color:#428bca}.pagination>.disabled>span,.pagination>.disabled>span:hover,.pagination>.disabled>span:focus,.pagination>.disabled>a,.pagination>.disabled>a:hover,.pagination>.disabled>a:focus{color:#999;cursor:not-allowed;background-color:#fff;border-color:#ddd}.pagination-lg>li>a,.pagination-lg>li>span{padding:10px 16px;font-size:18px}.pagination-lg>li:first-child>a,.pagination-lg>li:first-child>span{border-bottom-left-radius:6px;border-top-left-radius:6px}.pagination-lg>li:last-child>a,.pagination-lg>li:last-child>span{border-top-right-radius:6px;border-bottom-right-radius:6px}.pagination-sm>li>a,.pagination-sm>li>span{padding:5px 10px;font-size:12px}.pagination-sm>li:first-child>a,.pagination-sm>li:first-child>span{border-bottom-left-radius:3px;border-top-left-radius:3px}.pagination-sm>li:last-child>a,.pagination-sm>li:last-child>span{border-top-right-radius:3px;border-bottom-right-radius:3px}.pager{padding-left:0;margin:20px 0;text-align:center;list-style:none}.pager:before,.pager:after{display:table;content:" "}.pager:after{clear:both}.pager:before,.pager:after{display:table;content:" "}.pager:after{clear:both}.pager li{display:inline}.pager li>a,.pager li>span{display:inline-block;padding:5px 14px;background-color:#fff;border:1px solid #ddd;border-radius:15px}.pager li>a:hover,.pager li>a:focus{text-decoration:none;background-color:#eee}.pager .next>a,.pager .next>span{float:right}.pager .previous>a,.pager .previous>span{float:left}.pager .disabled>a,.pager .disabled>a:hover,.pager .disabled>a:focus,.pager .disabled>span{color:#999;cursor:not-allowed;background-color:#fff}.label{display:inline;padding:.2em .6em .3em;font-size:75%;font-weight:bold;line-height:1;color:#fff;text-align:center;white-space:nowrap;vertical-align:baseline;border-radius:.25em}.label[href]:hover,.label[href]:focus{color:#fff;text-decoration:none;cursor:pointer}.label:empty{display:none}.btn .label{position:relative;top:-1px}.label-default{background-color:#999}.label-default[href]:hover,.label-default[href]:focus{background-color:#808080}.label-primary{background-color:#428bca}.label-primary[href]:hover,.label-primary[href]:focus{background-color:#3071a9}.label-success{background-color:#5cb85c}.label-success[href]:hover,.label-success[href]:focus{background-color:#449d44}.label-info{background-color:#5bc0de}.label-info[href]:hover,.label-info[href]:focus{background-color:#31b0d5}.label-warning{background-color:#f0ad4e}.label-warning[href]:hover,.label-warning[href]:focus{background-color:#ec971f}.label-danger{background-color:#d9534f}.label-danger[href]:hover,.label-danger[href]:focus{background-color:#c9302c}.badge{display:inline-block;min-width:10px;padding:3px 7px;font-size:12px;font-weight:bold;line-height:1;color:#fff;text-align:center;white-space:nowrap;vertical-align:baseline;background-color:#999;border-radius:10px}.badge:empty{display:none}.btn .badge{position:relative;top:-1px}a.badge:hover,a.badge:focus{color:#fff;text-decoration:none;cursor:pointer}a.list-group-item.active>.badge,.nav-pills>.active>a>.badge{color:#428bca;background-color:#fff}.nav-pills>li>a>.badge{margin-left:3px}.jumbotron{padding:30px;margin-bottom:30px;font-size:21px;font-weight:200;line-height:2.1428571435;color:inherit;background-color:#eee}.jumbotron h1,.jumbotron .h1{line-height:1;color:inherit}.jumbotron p{line-height:1.4}.container .jumbotron{border-radius:6px}.jumbotron .container{max-width:100%}@media screen and (min-width:768px){.jumbotron{padding-top:48px;padding-bottom:48px}.container .jumbotron{padding-right:60px;padding-left:60px}.jumbotron h1,.jumbotron .h1{font-size:63px}}.thumbnail{display:block;padding:4px;margin-bottom:20px;line-height:1.428571429;background-color:#fff;border:1px solid #ddd;border-radius:4px;-webkit-transition:all .2s ease-in-out;transition:all .2s ease-in-out}.thumbnail>img,.thumbnail a>img{display:block;height:auto;max-width:100%;margin-right:auto;margin-left:auto}a.thumbnail:hover,a.thumbnail:focus,a.thumbnail.active{border-color:#428bca}.thumbnail .caption{padding:9px;color:#333}.alert{padding:15px;margin-bottom:20px;border:1px solid transparent;border-radius:4px}.alert h4{margin-top:0;color:inherit}.alert .alert-link{font-weight:bold}.alert>p,.alert>ul{margin-bottom:0}.alert>p+p{margin-top:5px}.alert-dismissable{padding-right:35px}.alert-dismissable .close{position:relative;top:-2px;right:-21px;color:inherit}.alert-success{color:#3c763d;background-color:#dff0d8;border-color:#d6e9c6}.alert-success hr{border-top-color:#c9e2b3}.alert-success .alert-link{color:#2b542c}.alert-info{color:#31708f;background-color:#d9edf7;border-color:#bce8f1}.alert-info hr{border-top-color:#a6e1ec}.alert-info .alert-link{color:#245269}.alert-warning{color:#8a6d3b;background-color:#fcf8e3;border-color:#faebcc}.alert-warning hr{border-top-color:#f7e1b5}.alert-warning .alert-link{color:#66512c}.alert-danger{color:#a94442;background-color:#f2dede;border-color:#ebccd1}.alert-danger hr{border-top-color:#e4b9c0}.alert-danger .alert-link{color:#843534}@-webkit-keyframes progress-bar-stripes{from{background-position:40px 0}to{background-position:0 0}}@keyframes progress-bar-stripes{from{background-position:40px 0}to{background-position:0 0}}.progress{height:20px;margin-bottom:20px;overflow:hidden;background-color:#f5f5f5;border-radius:4px;-webkit-box-shadow:inset 0 1px 2px rgba(0,0,0,0.1);box-shadow:inset 0 1px 2px rgba(0,0,0,0.1)}.progress-bar{float:left;width:0;height:100%;font-size:12px;line-height:20px;color:#fff;text-align:center;background-color:#428bca;-webkit-box-shadow:inset 0 -1px 0 rgba(0,0,0,0.15);box-shadow:inset 0 -1px 0 rgba(0,0,0,0.15);-webkit-transition:width .6s ease;transition:width .6s ease}.progress-striped .progress-bar{background-image:-webkit-linear-gradient(45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);background-image:linear-gradient(45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);background-size:40px 40px}.progress.active .progress-bar{-webkit-animation:progress-bar-stripes 2s linear infinite;animation:progress-bar-stripes 2s linear infinite}.progress-bar-success{background-color:#5cb85c}.progress-striped .progress-bar-success{background-image:-webkit-linear-gradient(45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);background-image:linear-gradient(45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent)}.progress-bar-info{background-color:#5bc0de}.progress-striped .progress-bar-info{background-image:-webkit-linear-gradient(45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);background-image:linear-gradient(45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent)}.progress-bar-warning{background-color:#f0ad4e}.progress-striped .progress-bar-warning{background-image:-webkit-linear-gradient(45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);background-image:linear-gradient(45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent)}.progress-bar-danger{background-color:#d9534f}.progress-striped .progress-bar-danger{background-image:-webkit-linear-gradient(45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);background-image:linear-gradient(45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent)}.media,.media-body{overflow:hidden;zoom:1}.media,.media .media{margin-top:15px}.media:first-child{margin-top:0}.media-object{display:block}.media-heading{margin:0 0 5px}.media>.pull-left{margin-right:10px}.media>.pull-right{margin-left:10px}.media-list{padding-left:0;list-style:none}.list-group{padding-left:0;margin-bottom:20px}.list-group-item{position:relative;display:block;padding:10px 15px;margin-bottom:-1px;background-color:#fff;border:1px solid #ddd}.list-group-item:first-child{border-top-right-radius:4px;border-top-left-radius:4px}.list-group-item:last-child{margin-bottom:0;border-bottom-right-radius:4px;border-bottom-left-radius:4px}.list-group-item>.badge{float:right}.list-group-item>.badge+.badge{margin-right:5px}a.list-group-item{color:#555}a.list-group-item .list-group-item-heading{color:#333}a.list-group-item:hover,a.list-group-item:focus{text-decoration:none;background-color:#f5f5f5}a.list-group-item.active,a.list-group-item.active:hover,a.list-group-item.active:focus{z-index:2;color:#fff;background-color:#428bca;border-color:#428bca}a.list-group-item.active .list-group-item-heading,a.list-group-item.active:hover .list-group-item-heading,a.list-group-item.active:focus .list-group-item-heading{color:inherit}a.list-group-item.active .list-group-item-text,a.list-group-item.active:hover .list-group-item-text,a.list-group-item.active:focus .list-group-item-text{color:#e1edf7}.list-group-item-heading{margin-top:0;margin-bottom:5px}.list-group-item-text{margin-bottom:0;line-height:1.3}.panel{margin-bottom:20px;background-color:#fff;border:1px solid transparent;border-radius:4px;-webkit-box-shadow:0 1px 1px rgba(0,0,0,0.05);box-shadow:0 1px 1px rgba(0,0,0,0.05)}.panel-body{padding:15px}.panel-body:before,.panel-body:after{display:table;content:" "}.panel-body:after{clear:both}.panel-body:before,.panel-body:after{display:table;content:" "}.panel-body:after{clear:both}.panel>.list-group{margin-bottom:0}.panel>.list-group .list-group-item{border-width:1px 0}.panel>.list-group .list-group-item:first-child{border-top-right-radius:0;border-top-left-radius:0}.panel>.list-group .list-group-item:last-child{border-bottom:0}.panel-heading+.list-group .list-group-item:first-child{border-top-width:0}.panel>.table,.panel>.table-responsive>.table{margin-bottom:0}.panel>.panel-body+.table,.panel>.panel-body+.table-responsive{border-top:1px solid #ddd}.panel>.table>tbody:first-child th,.panel>.table>tbody:first-child td{border-top:0}.panel>.table-bordered,.panel>.table-responsive>.table-bordered{border:0}.panel>.table-bordered>thead>tr>th:first-child,.panel>.table-responsive>.table-bordered>thead>tr>th:first-child,.panel>.table-bordered>tbody>tr>th:first-child,.panel>.table-responsive>.table-bordered>tbody>tr>th:first-child,.panel>.table-bordered>tfoot>tr>th:first-child,.panel>.table-responsive>.table-bordered>tfoot>tr>th:first-child,.panel>.table-bordered>thead>tr>td:first-child,.panel>.table-responsive>.table-bordered>thead>tr>td:first-child,.panel>.table-bordered>tbody>tr>td:first-child,.panel>.table-responsive>.table-bordered>tbody>tr>td:first-child,.panel>.table-bordered>tfoot>tr>td:first-child,.panel>.table-responsive>.table-bordered>tfoot>tr>td:first-child{border-left:0}.panel>.table-bordered>thead>tr>th:last-child,.panel>.table-responsive>.table-bordered>thead>tr>th:last-child,.panel>.table-bordered>tbody>tr>th:last-child,.panel>.table-responsive>.table-bordered>tbody>tr>th:last-child,.panel>.table-bordered>tfoot>tr>th:last-child,.panel>.table-responsive>.table-bordered>tfoot>tr>th:last-child,.panel>.table-bordered>thead>tr>td:last-child,.panel>.table-responsive>.table-bordered>thead>tr>td:last-child,.panel>.table-bordered>tbody>tr>td:last-child,.panel>.table-responsive>.table-bordered>tbody>tr>td:last-child,.panel>.table-bordered>tfoot>tr>td:last-child,.panel>.table-responsive>.table-bordered>tfoot>tr>td:last-child{border-right:0}.panel>.table-bordered>thead>tr:last-child>th,.panel>.table-responsive>.table-bordered>thead>tr:last-child>th,.panel>.table-bordered>tbody>tr:last-child>th,.panel>.table-responsive>.table-bordered>tbody>tr:last-child>th,.panel>.table-bordered>tfoot>tr:last-child>th,.panel>.table-responsive>.table-bordered>tfoot>tr:last-child>th,.panel>.table-bordered>thead>tr:last-child>td,.panel>.table-responsive>.table-bordered>thead>tr:last-child>td,.panel>.table-bordered>tbody>tr:last-child>td,.panel>.table-responsive>.table-bordered>tbody>tr:last-child>td,.panel>.table-bordered>tfoot>tr:last-child>td,.panel>.table-responsive>.table-bordered>tfoot>tr:last-child>td{border-bottom:0}.panel>.table-responsive{margin-bottom:0;border:0}.panel-heading{padding:10px 15px;border-bottom:1px solid transparent;border-top-right-radius:3px;border-top-left-radius:3px}.panel-heading>.dropdown .dropdown-toggle{color:inherit}.panel-title{margin-top:0;margin-bottom:0;font-size:16px;color:inherit}.panel-title>a{color:inherit}.panel-footer{padding:10px 15px;background-color:#f5f5f5;border-top:1px solid #ddd;border-bottom-right-radius:3px;border-bottom-left-radius:3px}.panel-group .panel{margin-bottom:0;overflow:hidden;border-radius:4px}.panel-group .panel+.panel{margin-top:5px}.panel-group .panel-heading{border-bottom:0}.panel-group .panel-heading+.panel-collapse .panel-body{border-top:1px solid #ddd}.panel-group .panel-footer{border-top:0}.panel-group .panel-footer+.panel-collapse .panel-body{border-bottom:1px solid #ddd}.panel-default{border-color:#ddd}.panel-default>.panel-heading{color:#333;background-color:#f5f5f5;border-color:#ddd}.panel-default>.panel-heading+.panel-collapse .panel-body{border-top-color:#ddd}.panel-default>.panel-footer+.panel-collapse .panel-body{border-bottom-color:#ddd}.panel-primary{border-color:#428bca}.panel-primary>.panel-heading{color:#fff;background-color:#428bca;border-color:#428bca}.panel-primary>.panel-heading+.panel-collapse .panel-body{border-top-color:#428bca}.panel-primary>.panel-footer+.panel-collapse .panel-body{border-bottom-color:#428bca}.panel-success{border-color:#d6e9c6}.panel-success>.panel-heading{color:#3c763d;background-color:#dff0d8;border-color:#d6e9c6}.panel-success>.panel-heading+.panel-collapse .panel-body{border-top-color:#d6e9c6}.panel-success>.panel-footer+.panel-collapse .panel-body{border-bottom-color:#d6e9c6}.panel-warning{border-color:#faebcc}.panel-warning>.panel-heading{color:#8a6d3b;background-color:#fcf8e3;border-color:#faebcc}.panel-warning>.panel-heading+.panel-collapse .panel-body{border-top-color:#faebcc}.panel-warning>.panel-footer+.panel-collapse .panel-body{border-bottom-color:#faebcc}.panel-danger{border-color:#ebccd1}.panel-danger>.panel-heading{color:#a94442;background-color:#f2dede;border-color:#ebccd1}.panel-danger>.panel-heading+.panel-collapse .panel-body{border-top-color:#ebccd1}.panel-danger>.panel-footer+.panel-collapse .panel-body{border-bottom-color:#ebccd1}.panel-info{border-color:#bce8f1}.panel-info>.panel-heading{color:#31708f;background-color:#d9edf7;border-color:#bce8f1}.panel-info>.panel-heading+.panel-collapse .panel-body{border-top-color:#bce8f1}.panel-info>.panel-footer+.panel-collapse .panel-body{border-bottom-color:#bce8f1}.well{min-height:20px;padding:19px;margin-bottom:20px;background-color:#f5f5f5;border:1px solid #e3e3e3;border-radius:4px;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,0.05);box-shadow:inset 0 1px 1px rgba(0,0,0,0.05)}.well blockquote{border-color:#ddd;border-color:rgba(0,0,0,0.15)}.well-lg{padding:24px;border-radius:6px}.well-sm{padding:9px;border-radius:3px}.close{float:right;font-size:21px;font-weight:bold;line-height:1;color:#000;text-shadow:0 1px 0 #fff;opacity:.2;filter:alpha(opacity=20)}.close:hover,.close:focus{color:#000;text-decoration:none;cursor:pointer;opacity:.5;filter:alpha(opacity=50)}button.close{padding:0;cursor:pointer;background:transparent;border:0;-webkit-appearance:none}.modal-open{overflow:hidden}.modal{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1040;display:none;overflow:auto;overflow-y:scroll}.modal.fade .modal-dialog{-webkit-transform:translate(0,-25%);-ms-transform:translate(0,-25%);transform:translate(0,-25%);-webkit-transition:-webkit-transform .3s ease-out;-moz-transition:-moz-transform .3s ease-out;-o-transition:-o-transform .3s ease-out;transition:transform .3s ease-out}.modal.in .modal-dialog{-webkit-transform:translate(0,0);-ms-transform:translate(0,0);transform:translate(0,0)}.modal-dialog{position:relative;z-index:1050;width:auto;margin:10px}.modal-content{position:relative;background-color:#fff;border:1px solid #999;border:1px solid rgba(0,0,0,0.2);border-radius:6px;outline:0;-webkit-box-shadow:0 3px 9px rgba(0,0,0,0.5);box-shadow:0 3px 9px rgba(0,0,0,0.5);background-clip:padding-box}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1030;background-color:#000}.modal-backdrop.fade{opacity:0;filter:alpha(opacity=0)}.modal-backdrop.in{opacity:.5;filter:alpha(opacity=50)}.modal-header{min-height:16.428571429px;padding:15px;border-bottom:1px solid #e5e5e5}.modal-header .close{margin-top:-2px}.modal-title{margin:0;line-height:1.428571429}.modal-body{position:relative;padding:20px}.modal-footer{padding:19px 20px 20px;margin-top:15px;text-align:right;border-top:1px solid #e5e5e5}.modal-footer:before,.modal-footer:after{display:table;content:" "}.modal-footer:after{clear:both}.modal-footer:before,.modal-footer:after{display:table;content:" "}.modal-footer:after{clear:both}.modal-footer .btn+.btn{margin-bottom:0;margin-left:5px}.modal-footer .btn-group .btn+.btn{margin-left:-1px}.modal-footer .btn-block+.btn-block{margin-left:0}@media screen and (min-width:768px){.modal-dialog{width:600px;margin:30px auto}.modal-content{-webkit-box-shadow:0 5px 15px rgba(0,0,0,0.5);box-shadow:0 5px 15px rgba(0,0,0,0.5)}}.tooltip{position:absolute;z-index:1030;display:block;font-size:12px;line-height:1.4;opacity:0;filter:alpha(opacity=0);visibility:visible}.tooltip.in{opacity:.9;filter:alpha(opacity=90)}.tooltip.top{padding:5px 0;margin-top:-3px}.tooltip.right{padding:0 5px;margin-left:3px}.tooltip.bottom{padding:5px 0;margin-top:3px}.tooltip.left{padding:0 5px;margin-left:-3px}.tooltip-inner{max-width:200px;padding:3px 8px;color:#fff;text-align:center;text-decoration:none;background-color:#000;border-radius:4px}.tooltip-arrow{position:absolute;width:0;height:0;border-color:transparent;border-style:solid}.tooltip.top .tooltip-arrow{bottom:0;left:50%;margin-left:-5px;border-top-color:#000;border-width:5px 5px 0}.tooltip.top-left .tooltip-arrow{bottom:0;left:5px;border-top-color:#000;border-width:5px 5px 0}.tooltip.top-right .tooltip-arrow{right:5px;bottom:0;border-top-color:#000;border-width:5px 5px 0}.tooltip.right .tooltip-arrow{top:50%;left:0;margin-top:-5px;border-right-color:#000;border-width:5px 5px 5px 0}.tooltip.left .tooltip-arrow{top:50%;right:0;margin-top:-5px;border-left-color:#000;border-width:5px 0 5px 5px}.tooltip.bottom .tooltip-arrow{top:0;left:50%;margin-left:-5px;border-bottom-color:#000;border-width:0 5px 5px}.tooltip.bottom-left .tooltip-arrow{top:0;left:5px;border-bottom-color:#000;border-width:0 5px 5px}.tooltip.bottom-right .tooltip-arrow{top:0;right:5px;border-bottom-color:#000;border-width:0 5px 5px}.popover{position:absolute;top:0;left:0;z-index:1010;display:none;max-width:276px;padding:1px;text-align:left;white-space:normal;background-color:#fff;border:1px solid #ccc;border:1px solid rgba(0,0,0,0.2);border-radius:6px;-webkit-box-shadow:0 5px 10px rgba(0,0,0,0.2);box-shadow:0 5px 10px rgba(0,0,0,0.2);background-clip:padding-box}.popover.top{margin-top:-10px}.popover.right{margin-left:10px}.popover.bottom{margin-top:10px}.popover.left{margin-left:-10px}.popover-title{padding:8px 14px;margin:0;font-size:14px;font-weight:normal;line-height:18px;background-color:#f7f7f7;border-bottom:1px solid #ebebeb;border-radius:5px 5px 0 0}.popover-content{padding:9px 14px}.popover .arrow,.popover .arrow:after{position:absolute;display:block;width:0;height:0;border-color:transparent;border-style:solid}.popover .arrow{border-width:11px}.popover .arrow:after{border-width:10px;content:""}.popover.top .arrow{bottom:-11px;left:50%;margin-left:-11px;border-top-color:#999;border-top-color:rgba(0,0,0,0.25);border-bottom-width:0}.popover.top .arrow:after{bottom:1px;margin-left:-10px;border-top-color:#fff;border-bottom-width:0;content:" "}.popover.right .arrow{top:50%;left:-11px;margin-top:-11px;border-right-color:#999;border-right-color:rgba(0,0,0,0.25);border-left-width:0}.popover.right .arrow:after{bottom:-10px;left:1px;border-right-color:#fff;border-left-width:0;content:" "}.popover.bottom .arrow{top:-11px;left:50%;margin-left:-11px;border-bottom-color:#999;border-bottom-color:rgba(0,0,0,0.25);border-top-width:0}.popover.bottom .arrow:after{top:1px;margin-left:-10px;border-bottom-color:#fff;border-top-width:0;content:" "}.popover.left .arrow{top:50%;right:-11px;margin-top:-11px;border-left-color:#999;border-left-color:rgba(0,0,0,0.25);border-right-width:0}.popover.left .arrow:after{right:1px;bottom:-10px;border-left-color:#fff;border-right-width:0;content:" "}.carousel{position:relative}.carousel-inner{position:relative;width:100%;overflow:hidden}.carousel-inner>.item{position:relative;display:none;-webkit-transition:.6s ease-in-out left;transition:.6s ease-in-out left}.carousel-inner>.item>img,.carousel-inner>.item>a>img{display:block;height:auto;max-width:100%;line-height:1}.carousel-inner>.active,.carousel-inner>.next,.carousel-inner>.prev{display:block}.carousel-inner>.active{left:0}.carousel-inner>.next,.carousel-inner>.prev{position:absolute;top:0;width:100%}.carousel-inner>.next{left:100%}.carousel-inner>.prev{left:-100%}.carousel-inner>.next.left,.carousel-inner>.prev.right{left:0}.carousel-inner>.active.left{left:-100%}.carousel-inner>.active.right{left:100%}.carousel-control{position:absolute;top:0;bottom:0;left:0;width:15%;font-size:20px;color:#fff;text-align:center;text-shadow:0 1px 2px rgba(0,0,0,0.6);opacity:.5;filter:alpha(opacity=50)}.carousel-control.left{background-image:-webkit-linear-gradient(left,color-stop(rgba(0,0,0,0.5) 0),color-stop(rgba(0,0,0,0.0001) 100%));background-image:linear-gradient(to right,rgba(0,0,0,0.5) 0,rgba(0,0,0,0.0001) 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#80000000',endColorstr='#00000000',GradientType=1)}.carousel-control.right{right:0;left:auto;background-image:-webkit-linear-gradient(left,color-stop(rgba(0,0,0,0.0001) 0),color-stop(rgba(0,0,0,0.5) 100%));background-image:linear-gradient(to right,rgba(0,0,0,0.0001) 0,rgba(0,0,0,0.5) 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#00000000',endColorstr='#80000000',GradientType=1)}.carousel-control:hover,.carousel-control:focus{color:#fff;text-decoration:none;outline:0;opacity:.9;filter:alpha(opacity=90)}.carousel-control .icon-prev,.carousel-control .icon-next,.carousel-control .glyphicon-chevron-left,.carousel-control .glyphicon-chevron-right{position:absolute;top:50%;z-index:5;display:inline-block}.carousel-control .icon-prev,.carousel-control .glyphicon-chevron-left{left:50%}.carousel-control .icon-next,.carousel-control .glyphicon-chevron-right{right:50%}.carousel-control .icon-prev,.carousel-control .icon-next{width:20px;height:20px;margin-top:-10px;margin-left:-10px;font-family:serif}.carousel-control .icon-prev:before{content:'\2039'}.carousel-control .icon-next:before{content:'\203a'}.carousel-indicators{position:absolute;bottom:10px;left:50%;z-index:15;width:60%;padding-left:0;margin-left:-30%;text-align:center;list-style:none}.carousel-indicators li{display:inline-block;width:10px;height:10px;margin:1px;text-indent:-999px;cursor:pointer;background-color:#000 \9;background-color:rgba(0,0,0,0);border:1px solid #fff;border-radius:10px}.carousel-indicators .active{width:12px;height:12px;margin:0;background-color:#fff}.carousel-caption{position:absolute;right:15%;bottom:20px;left:15%;z-index:10;padding-top:20px;padding-bottom:20px;color:#fff;text-align:center;text-shadow:0 1px 2px rgba(0,0,0,0.6)}.carousel-caption .btn{text-shadow:none}@media screen and (min-width:768px){.carousel-control .glyphicons-chevron-left,.carousel-control .glyphicons-chevron-right,.carousel-control .icon-prev,.carousel-control .icon-next{width:30px;height:30px;margin-top:-15px;margin-left:-15px;font-size:30px}.carousel-caption{right:20%;left:20%;padding-bottom:30px}.carousel-indicators{bottom:20px}}.clearfix:before,.clearfix:after{display:table;content:" "}.clearfix:after{clear:both}.center-block{display:block;margin-right:auto;margin-left:auto}.pull-right{float:right!important}.pull-left{float:left!important}.hide{display:none!important}.show{display:block!important}.invisible{visibility:hidden}.text-hide{font:0/0 a;color:transparent;text-shadow:none;background-color:transparent;border:0}.hidden{display:none!important;visibility:hidden!important}.affix{position:fixed}@-ms-viewport{width:device-width}.visible-xs,tr.visible-xs,th.visible-xs,td.visible-xs{display:none!important}@media(max-width:767px){.visible-xs{display:block!important}table.visible-xs{display:table}tr.visible-xs{display:table-row!important}th.visible-xs,td.visible-xs{display:table-cell!important}}@media(min-width:768px) and (max-width:991px){.visible-xs.visible-sm{display:block!important}table.visible-xs.visible-sm{display:table}tr.visible-xs.visible-sm{display:table-row!important}th.visible-xs.visible-sm,td.visible-xs.visible-sm{display:table-cell!important}}@media(min-width:992px) and (max-width:1199px){.visible-xs.visible-md{display:block!important}table.visible-xs.visible-md{display:table}tr.visible-xs.visible-md{display:table-row!important}th.visible-xs.visible-md,td.visible-xs.visible-md{display:table-cell!important}}@media(min-width:1200px){.visible-xs.visible-lg{display:block!important}table.visible-xs.visible-lg{display:table}tr.visible-xs.visible-lg{display:table-row!important}th.visible-xs.visible-lg,td.visible-xs.visible-lg{display:table-cell!important}}.visible-sm,tr.visible-sm,th.visible-sm,td.visible-sm{display:none!important}@media(max-width:767px){.visible-sm.visible-xs{display:block!important}table.visible-sm.visible-xs{display:table}tr.visible-sm.visible-xs{display:table-row!important}th.visible-sm.visible-xs,td.visible-sm.visible-xs{display:table-cell!important}}@media(min-width:768px) and (max-width:991px){.visible-sm{display:block!important}table.visible-sm{display:table}tr.visible-sm{display:table-row!important}th.visible-sm,td.visible-sm{display:table-cell!important}}@media(min-width:992px) and (max-width:1199px){.visible-sm.visible-md{display:block!important}table.visible-sm.visible-md{display:table}tr.visible-sm.visible-md{display:table-row!important}th.visible-sm.visible-md,td.visible-sm.visible-md{display:table-cell!important}}@media(min-width:1200px){.visible-sm.visible-lg{display:block!important}table.visible-sm.visible-lg{display:table}tr.visible-sm.visible-lg{display:table-row!important}th.visible-sm.visible-lg,td.visible-sm.visible-lg{display:table-cell!important}}.visible-md,tr.visible-md,th.visible-md,td.visible-md{display:none!important}@media(max-width:767px){.visible-md.visible-xs{display:block!important}table.visible-md.visible-xs{display:table}tr.visible-md.visible-xs{display:table-row!important}th.visible-md.visible-xs,td.visible-md.visible-xs{display:table-cell!important}}@media(min-width:768px) and (max-width:991px){.visible-md.visible-sm{display:block!important}table.visible-md.visible-sm{display:table}tr.visible-md.visible-sm{display:table-row!important}th.visible-md.visible-sm,td.visible-md.visible-sm{display:table-cell!important}}@media(min-width:992px) and (max-width:1199px){.visible-md{display:block!important}table.visible-md{display:table}tr.visible-md{display:table-row!important}th.visible-md,td.visible-md{display:table-cell!important}}@media(min-width:1200px){.visible-md.visible-lg{display:block!important}table.visible-md.visible-lg{display:table}tr.visible-md.visible-lg{display:table-row!important}th.visible-md.visible-lg,td.visible-md.visible-lg{display:table-cell!important}}.visible-lg,tr.visible-lg,th.visible-lg,td.visible-lg{display:none!important}@media(max-width:767px){.visible-lg.visible-xs{display:block!important}table.visible-lg.visible-xs{display:table}tr.visible-lg.visible-xs{display:table-row!important}th.visible-lg.visible-xs,td.visible-lg.visible-xs{display:table-cell!important}}@media(min-width:768px) and (max-width:991px){.visible-lg.visible-sm{display:block!important}table.visible-lg.visible-sm{display:table}tr.visible-lg.visible-sm{display:table-row!important}th.visible-lg.visible-sm,td.visible-lg.visible-sm{display:table-cell!important}}@media(min-width:992px) and (max-width:1199px){.visible-lg.visible-md{display:block!important}table.visible-lg.visible-md{display:table}tr.visible-lg.visible-md{display:table-row!important}th.visible-lg.visible-md,td.visible-lg.visible-md{display:table-cell!important}}@media(min-width:1200px){.visible-lg{display:block!important}table.visible-lg{display:table}tr.visible-lg{display:table-row!important}th.visible-lg,td.visible-lg{display:table-cell!important}}.hidden-xs{display:block!important}table.hidden-xs{display:table}tr.hidden-xs{display:table-row!important}th.hidden-xs,td.hidden-xs{display:table-cell!important}@media(max-width:767px){.hidden-xs,tr.hidden-xs,th.hidden-xs,td.hidden-xs{display:none!important}}@media(min-width:768px) and (max-width:991px){.hidden-xs.hidden-sm,tr.hidden-xs.hidden-sm,th.hidden-xs.hidden-sm,td.hidden-xs.hidden-sm{display:none!important}}@media(min-width:992px) and (max-width:1199px){.hidden-xs.hidden-md,tr.hidden-xs.hidden-md,th.hidden-xs.hidden-md,td.hidden-xs.hidden-md{display:none!important}}@media(min-width:1200px){.hidden-xs.hidden-lg,tr.hidden-xs.hidden-lg,th.hidden-xs.hidden-lg,td.hidden-xs.hidden-lg{display:none!important}}.hidden-sm{display:block!important}table.hidden-sm{display:table}tr.hidden-sm{display:table-row!important}th.hidden-sm,td.hidden-sm{display:table-cell!important}@media(max-width:767px){.hidden-sm.hidden-xs,tr.hidden-sm.hidden-xs,th.hidden-sm.hidden-xs,td.hidden-sm.hidden-xs{display:none!important}}@media(min-width:768px) and (max-width:991px){.hidden-sm,tr.hidden-sm,th.hidden-sm,td.hidden-sm{display:none!important}}@media(min-width:992px) and (max-width:1199px){.hidden-sm.hidden-md,tr.hidden-sm.hidden-md,th.hidden-sm.hidden-md,td.hidden-sm.hidden-md{display:none!important}}@media(min-width:1200px){.hidden-sm.hidden-lg,tr.hidden-sm.hidden-lg,th.hidden-sm.hidden-lg,td.hidden-sm.hidden-lg{display:none!important}}.hidden-md{display:block!important}table.hidden-md{display:table}tr.hidden-md{display:table-row!important}th.hidden-md,td.hidden-md{display:table-cell!important}@media(max-width:767px){.hidden-md.hidden-xs,tr.hidden-md.hidden-xs,th.hidden-md.hidden-xs,td.hidden-md.hidden-xs{display:none!important}}@media(min-width:768px) and (max-width:991px){.hidden-md.hidden-sm,tr.hidden-md.hidden-sm,th.hidden-md.hidden-sm,td.hidden-md.hidden-sm{display:none!important}}@media(min-width:992px) and (max-width:1199px){.hidden-md,tr.hidden-md,th.hidden-md,td.hidden-md{display:none!important}}@media(min-width:1200px){.hidden-md.hidden-lg,tr.hidden-md.hidden-lg,th.hidden-md.hidden-lg,td.hidden-md.hidden-lg{display:none!important}}.hidden-lg{display:block!important}table.hidden-lg{display:table}tr.hidden-lg{display:table-row!important}th.hidden-lg,td.hidden-lg{display:table-cell!important}@media(max-width:767px){.hidden-lg.hidden-xs,tr.hidden-lg.hidden-xs,th.hidden-lg.hidden-xs,td.hidden-lg.hidden-xs{display:none!important}}@media(min-width:768px) and (max-width:991px){.hidden-lg.hidden-sm,tr.hidden-lg.hidden-sm,th.hidden-lg.hidden-sm,td.hidden-lg.hidden-sm{display:none!important}}@media(min-width:992px) and (max-width:1199px){.hidden-lg.hidden-md,tr.hidden-lg.hidden-md,th.hidden-lg.hidden-md,td.hidden-lg.hidden-md{display:none!important}}@media(min-width:1200px){.hidden-lg,tr.hidden-lg,th.hidden-lg,td.hidden-lg{display:none!important}}.visible-print,tr.visible-print,th.visible-print,td.visible-print{display:none!important}@media print{.visible-print{display:block!important}table.visible-print{display:table}tr.visible-print{display:table-row!important}th.visible-print,td.visible-print{display:table-cell!important}.hidden-print,tr.hidden-print,th.hidden-print,td.hidden-print{display:none!important}} \ No newline at end of file
diff --git a/tools/build/website/bootstrap/fonts/glyphicons-halflings-regular.eot b/tools/build/website/bootstrap/fonts/glyphicons-halflings-regular.eot
new file mode 100644
index 0000000000..423bd5d3a2
--- /dev/null
+++ b/tools/build/website/bootstrap/fonts/glyphicons-halflings-regular.eot
Binary files differ
diff --git a/tools/build/website/bootstrap/fonts/glyphicons-halflings-regular.svg b/tools/build/website/bootstrap/fonts/glyphicons-halflings-regular.svg
new file mode 100644
index 0000000000..4469488747
--- /dev/null
+++ b/tools/build/website/bootstrap/fonts/glyphicons-halflings-regular.svg
@@ -0,0 +1,229 @@
+<?xml version="1.0" standalone="no"?>
+<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" >
+<svg xmlns="http://www.w3.org/2000/svg">
+<metadata></metadata>
+<defs>
+<font id="glyphicons_halflingsregular" horiz-adv-x="1200" >
+<font-face units-per-em="1200" ascent="960" descent="-240" />
+<missing-glyph horiz-adv-x="500" />
+<glyph />
+<glyph />
+<glyph unicode="&#xd;" />
+<glyph unicode=" " />
+<glyph unicode="*" d="M100 500v200h259l-183 183l141 141l183 -183v259h200v-259l183 183l141 -141l-183 -183h259v-200h-259l183 -183l-141 -141l-183 183v-259h-200v259l-183 -183l-141 141l183 183h-259z" />
+<glyph unicode="+" d="M0 400v300h400v400h300v-400h400v-300h-400v-400h-300v400h-400z" />
+<glyph unicode="&#xa0;" />
+<glyph unicode="&#x2000;" horiz-adv-x="652" />
+<glyph unicode="&#x2001;" horiz-adv-x="1304" />
+<glyph unicode="&#x2002;" horiz-adv-x="652" />
+<glyph unicode="&#x2003;" horiz-adv-x="1304" />
+<glyph unicode="&#x2004;" horiz-adv-x="434" />
+<glyph unicode="&#x2005;" horiz-adv-x="326" />
+<glyph unicode="&#x2006;" horiz-adv-x="217" />
+<glyph unicode="&#x2007;" horiz-adv-x="217" />
+<glyph unicode="&#x2008;" horiz-adv-x="163" />
+<glyph unicode="&#x2009;" horiz-adv-x="260" />
+<glyph unicode="&#x200a;" horiz-adv-x="72" />
+<glyph unicode="&#x202f;" horiz-adv-x="260" />
+<glyph unicode="&#x205f;" horiz-adv-x="326" />
+<glyph unicode="&#x20ac;" d="M100 500l100 100h113q0 47 5 100h-218l100 100h135q37 167 112 257q117 141 297 141q242 0 354 -189q60 -103 66 -209h-181q0 55 -25.5 99t-63.5 68t-75 36.5t-67 12.5q-24 0 -52.5 -10t-62.5 -32t-65.5 -67t-50.5 -107h379l-100 -100h-300q-6 -46 -6 -100h406l-100 -100 h-300q9 -74 33 -132t52.5 -91t62 -54.5t59 -29t46.5 -7.5q29 0 66 13t75 37t63.5 67.5t25.5 96.5h174q-31 -172 -128 -278q-107 -117 -274 -117q-205 0 -324 158q-36 46 -69 131.5t-45 205.5h-217z" />
+<glyph unicode="&#x2212;" d="M200 400h900v300h-900v-300z" />
+<glyph unicode="&#x2601;" d="M-14 494q0 -80 56.5 -137t135.5 -57h750q120 0 205 86t85 208q0 120 -85 206.5t-205 86.5q-46 0 -90 -14q-44 97 -134.5 156.5t-200.5 59.5q-152 0 -260 -107.5t-108 -260.5q0 -25 2 -37q-66 -14 -108.5 -67.5t-42.5 -122.5z" />
+<glyph unicode="&#x2709;" d="M0 100l400 400l200 -200l200 200l400 -400h-1200zM0 300v600l300 -300zM0 1100l600 -603l600 603h-1200zM900 600l300 300v-600z" />
+<glyph unicode="&#x270f;" d="M-13 -13l333 112l-223 223zM187 403l214 -214l614 614l-214 214zM887 1103l214 -214l99 92q13 13 13 32.5t-13 33.5l-153 153q-15 13 -33 13t-33 -13z" />
+<glyph unicode="&#xe000;" horiz-adv-x="500" d="M0 0z" />
+<glyph unicode="&#xe001;" d="M0 1200h1200l-500 -550v-550h300v-100h-800v100h300v550z" />
+<glyph unicode="&#xe002;" d="M14 84q18 -55 86 -75.5t147 5.5q65 21 109 69t44 90v606l600 155v-521q-64 16 -138 -7q-79 -26 -122.5 -83t-25.5 -111q17 -55 85.5 -75.5t147.5 4.5q70 23 111.5 63.5t41.5 95.5v881q0 10 -7 15.5t-17 2.5l-752 -193q-10 -3 -17 -12.5t-7 -19.5v-689q-64 17 -138 -7 q-79 -25 -122.5 -82t-25.5 -112z" />
+<glyph unicode="&#xe003;" d="M23 693q0 200 142 342t342 142t342 -142t142 -342q0 -142 -78 -261l300 -300q7 -8 7 -18t-7 -18l-109 -109q-8 -7 -18 -7t-18 7l-300 300q-119 -78 -261 -78q-200 0 -342 142t-142 342zM176 693q0 -136 97 -233t234 -97t233.5 96.5t96.5 233.5t-96.5 233.5t-233.5 96.5 t-234 -97t-97 -233z" />
+<glyph unicode="&#xe005;" d="M100 784q0 64 28 123t73 100.5t104.5 64t119 20.5t120 -38.5t104.5 -104.5q48 69 109.5 105t121.5 38t118.5 -20.5t102.5 -64t71 -100.5t27 -123q0 -57 -33.5 -117.5t-94 -124.5t-126.5 -127.5t-150 -152.5t-146 -174q-62 85 -145.5 174t-149.5 152.5t-126.5 127.5 t-94 124.5t-33.5 117.5z" />
+<glyph unicode="&#xe006;" d="M-72 800h479l146 400h2l146 -400h472l-382 -278l145 -449l-384 275l-382 -275l146 447zM168 71l2 1z" />
+<glyph unicode="&#xe007;" d="M-72 800h479l146 400h2l146 -400h472l-382 -278l145 -449l-384 275l-382 -275l146 447zM168 71l2 1zM237 700l196 -142l-73 -226l192 140l195 -141l-74 229l193 140h-235l-77 211l-78 -211h-239z" />
+<glyph unicode="&#xe008;" d="M0 0v143l400 257v100q-37 0 -68.5 74.5t-31.5 125.5v200q0 124 88 212t212 88t212 -88t88 -212v-200q0 -51 -31.5 -125.5t-68.5 -74.5v-100l400 -257v-143h-1200z" />
+<glyph unicode="&#xe009;" d="M0 0v1100h1200v-1100h-1200zM100 100h100v100h-100v-100zM100 300h100v100h-100v-100zM100 500h100v100h-100v-100zM100 700h100v100h-100v-100zM100 900h100v100h-100v-100zM300 100h600v400h-600v-400zM300 600h600v400h-600v-400zM1000 100h100v100h-100v-100z M1000 300h100v100h-100v-100zM1000 500h100v100h-100v-100zM1000 700h100v100h-100v-100zM1000 900h100v100h-100v-100z" />
+<glyph unicode="&#xe010;" d="M0 50v400q0 21 14.5 35.5t35.5 14.5h400q21 0 35.5 -14.5t14.5 -35.5v-400q0 -21 -14.5 -35.5t-35.5 -14.5h-400q-21 0 -35.5 14.5t-14.5 35.5zM0 650v400q0 21 14.5 35.5t35.5 14.5h400q21 0 35.5 -14.5t14.5 -35.5v-400q0 -21 -14.5 -35.5t-35.5 -14.5h-400 q-21 0 -35.5 14.5t-14.5 35.5zM600 50v400q0 21 14.5 35.5t35.5 14.5h400q21 0 35.5 -14.5t14.5 -35.5v-400q0 -21 -14.5 -35.5t-35.5 -14.5h-400q-21 0 -35.5 14.5t-14.5 35.5zM600 650v400q0 21 14.5 35.5t35.5 14.5h400q21 0 35.5 -14.5t14.5 -35.5v-400 q0 -21 -14.5 -35.5t-35.5 -14.5h-400q-21 0 -35.5 14.5t-14.5 35.5z" />
+<glyph unicode="&#xe011;" d="M0 50v200q0 21 14.5 35.5t35.5 14.5h200q21 0 35.5 -14.5t14.5 -35.5v-200q0 -21 -14.5 -35.5t-35.5 -14.5h-200q-21 0 -35.5 14.5t-14.5 35.5zM0 450v200q0 21 14.5 35.5t35.5 14.5h200q21 0 35.5 -14.5t14.5 -35.5v-200q0 -21 -14.5 -35.5t-35.5 -14.5h-200 q-21 0 -35.5 14.5t-14.5 35.5zM0 850v200q0 21 14.5 35.5t35.5 14.5h200q21 0 35.5 -14.5t14.5 -35.5v-200q0 -21 -14.5 -35.5t-35.5 -14.5h-200q-21 0 -35.5 14.5t-14.5 35.5zM400 50v200q0 21 14.5 35.5t35.5 14.5h200q21 0 35.5 -14.5t14.5 -35.5v-200q0 -21 -14.5 -35.5 t-35.5 -14.5h-200q-21 0 -35.5 14.5t-14.5 35.5zM400 450v200q0 21 14.5 35.5t35.5 14.5h200q21 0 35.5 -14.5t14.5 -35.5v-200q0 -21 -14.5 -35.5t-35.5 -14.5h-200q-21 0 -35.5 14.5t-14.5 35.5zM400 850v200q0 21 14.5 35.5t35.5 14.5h200q21 0 35.5 -14.5t14.5 -35.5 v-200q0 -21 -14.5 -35.5t-35.5 -14.5h-200q-21 0 -35.5 14.5t-14.5 35.5zM800 50v200q0 21 14.5 35.5t35.5 14.5h200q21 0 35.5 -14.5t14.5 -35.5v-200q0 -21 -14.5 -35.5t-35.5 -14.5h-200q-21 0 -35.5 14.5t-14.5 35.5zM800 450v200q0 21 14.5 35.5t35.5 14.5h200 q21 0 35.5 -14.5t14.5 -35.5v-200q0 -21 -14.5 -35.5t-35.5 -14.5h-200q-21 0 -35.5 14.5t-14.5 35.5zM800 850v200q0 21 14.5 35.5t35.5 14.5h200q21 0 35.5 -14.5t14.5 -35.5v-200q0 -21 -14.5 -35.5t-35.5 -14.5h-200q-21 0 -35.5 14.5t-14.5 35.5z" />
+<glyph unicode="&#xe012;" d="M0 50v200q0 21 14.5 35.5t35.5 14.5h200q21 0 35.5 -14.5t14.5 -35.5v-200q0 -21 -14.5 -35.5t-35.5 -14.5h-200q-21 0 -35.5 14.5t-14.5 35.5zM0 450q0 -21 14.5 -35.5t35.5 -14.5h200q21 0 35.5 14.5t14.5 35.5v200q0 21 -14.5 35.5t-35.5 14.5h-200q-21 0 -35.5 -14.5 t-14.5 -35.5v-200zM0 850v200q0 21 14.5 35.5t35.5 14.5h200q21 0 35.5 -14.5t14.5 -35.5v-200q0 -21 -14.5 -35.5t-35.5 -14.5h-200q-21 0 -35.5 14.5t-14.5 35.5zM400 50v200q0 21 14.5 35.5t35.5 14.5h700q21 0 35.5 -14.5t14.5 -35.5v-200q0 -21 -14.5 -35.5 t-35.5 -14.5h-700q-21 0 -35.5 14.5t-14.5 35.5zM400 450v200q0 21 14.5 35.5t35.5 14.5h700q21 0 35.5 -14.5t14.5 -35.5v-200q0 -21 -14.5 -35.5t-35.5 -14.5h-700q-21 0 -35.5 14.5t-14.5 35.5zM400 850v200q0 21 14.5 35.5t35.5 14.5h700q21 0 35.5 -14.5t14.5 -35.5 v-200q0 -21 -14.5 -35.5t-35.5 -14.5h-700q-21 0 -35.5 14.5t-14.5 35.5z" />
+<glyph unicode="&#xe013;" d="M29 454l419 -420l818 820l-212 212l-607 -607l-206 207z" />
+<glyph unicode="&#xe014;" d="M106 318l282 282l-282 282l212 212l282 -282l282 282l212 -212l-282 -282l282 -282l-212 -212l-282 282l-282 -282z" />
+<glyph unicode="&#xe015;" d="M23 693q0 200 142 342t342 142t342 -142t142 -342q0 -142 -78 -261l300 -300q7 -8 7 -18t-7 -18l-109 -109q-8 -7 -18 -7t-18 7l-300 300q-119 -78 -261 -78q-200 0 -342 142t-142 342zM176 693q0 -136 97 -233t234 -97t233.5 96.5t96.5 233.5t-96.5 233.5t-233.5 96.5 t-234 -97t-97 -233zM300 600v200h100v100h200v-100h100v-200h-100v-100h-200v100h-100z" />
+<glyph unicode="&#xe016;" d="M23 694q0 200 142 342t342 142t342 -142t142 -342q0 -141 -78 -262l300 -299q7 -7 7 -18t-7 -18l-109 -109q-8 -8 -18 -8t-18 8l-300 299q-120 -77 -261 -77q-200 0 -342 142t-142 342zM176 694q0 -136 97 -233t234 -97t233.5 97t96.5 233t-96.5 233t-233.5 97t-234 -97 t-97 -233zM300 601h400v200h-400v-200z" />
+<glyph unicode="&#xe017;" d="M23 600q0 183 105 331t272 210v-166q-103 -55 -165 -155t-62 -220q0 -177 125 -302t302 -125t302 125t125 302q0 120 -62 220t-165 155v166q167 -62 272 -210t105 -331q0 -118 -45.5 -224.5t-123 -184t-184 -123t-224.5 -45.5t-224.5 45.5t-184 123t-123 184t-45.5 224.5 zM500 750q0 -21 14.5 -35.5t35.5 -14.5h100q21 0 35.5 14.5t14.5 35.5v400q0 21 -14.5 35.5t-35.5 14.5h-100q-21 0 -35.5 -14.5t-14.5 -35.5v-400z" />
+<glyph unicode="&#xe018;" d="M100 1h200v300h-200v-300zM400 1v500h200v-500h-200zM700 1v800h200v-800h-200zM1000 1v1200h200v-1200h-200z" />
+<glyph unicode="&#xe019;" d="M26 601q0 -33 6 -74l151 -38l2 -6q14 -49 38 -93l3 -5l-80 -134q45 -59 105 -105l133 81l5 -3q45 -26 94 -39l5 -2l38 -151q40 -5 74 -5q27 0 74 5l38 151l6 2q46 13 93 39l5 3l134 -81q56 44 104 105l-80 134l3 5q24 44 39 93l1 6l152 38q5 40 5 74q0 28 -5 73l-152 38 l-1 6q-16 51 -39 93l-3 5l80 134q-44 58 -104 105l-134 -81l-5 3q-45 25 -93 39l-6 1l-38 152q-40 5 -74 5q-27 0 -74 -5l-38 -152l-5 -1q-50 -14 -94 -39l-5 -3l-133 81q-59 -47 -105 -105l80 -134l-3 -5q-25 -47 -38 -93l-2 -6l-151 -38q-6 -48 -6 -73zM385 601 q0 88 63 151t152 63t152 -63t63 -151q0 -89 -63 -152t-152 -63t-152 63t-63 152z" />
+<glyph unicode="&#xe020;" d="M100 1025v50q0 10 7.5 17.5t17.5 7.5h275v100q0 41 29.5 70.5t70.5 29.5h300q41 0 70.5 -29.5t29.5 -70.5v-100h275q10 0 17.5 -7.5t7.5 -17.5v-50q0 -11 -7 -18t-18 -7h-1050q-11 0 -18 7t-7 18zM200 100v800h900v-800q0 -41 -29.5 -71t-70.5 -30h-700q-41 0 -70.5 30 t-29.5 71zM300 100h100v700h-100v-700zM500 100h100v700h-100v-700zM500 1100h300v100h-300v-100zM700 100h100v700h-100v-700zM900 100h100v700h-100v-700z" />
+<glyph unicode="&#xe021;" d="M1 601l656 644l644 -644h-200v-600h-300v400h-300v-400h-300v600h-200z" />
+<glyph unicode="&#xe022;" d="M100 25v1150q0 11 7 18t18 7h475v-500h400v-675q0 -11 -7 -18t-18 -7h-850q-11 0 -18 7t-7 18zM700 800v300l300 -300h-300z" />
+<glyph unicode="&#xe023;" d="M4 600q0 162 80 299t217 217t299 80t299 -80t217 -217t80 -299t-80 -299t-217 -217t-299 -80t-299 80t-217 217t-80 299zM186 600q0 -171 121.5 -292.5t292.5 -121.5t292.5 121.5t121.5 292.5t-121.5 292.5t-292.5 121.5t-292.5 -121.5t-121.5 -292.5zM500 500v400h100 v-300h200v-100h-300z" />
+<glyph unicode="&#xe024;" d="M-100 0l431 1200h209l-21 -300h162l-20 300h208l431 -1200h-538l-41 400h-242l-40 -400h-539zM488 500h224l-27 300h-170z" />
+<glyph unicode="&#xe025;" d="M0 0v400h490l-290 300h200v500h300v-500h200l-290 -300h490v-400h-1100zM813 200h175v100h-175v-100z" />
+<glyph unicode="&#xe026;" d="M1 600q0 122 47.5 233t127.5 191t191 127.5t233 47.5t233 -47.5t191 -127.5t127.5 -191t47.5 -233t-47.5 -233t-127.5 -191t-191 -127.5t-233 -47.5t-233 47.5t-191 127.5t-127.5 191t-47.5 233zM188 600q0 -170 121 -291t291 -121t291 121t121 291t-121 291t-291 121 t-291 -121t-121 -291zM350 600h150v300h200v-300h150l-250 -300z" />
+<glyph unicode="&#xe027;" d="M4 600q0 162 80 299t217 217t299 80t299 -80t217 -217t80 -299t-80 -299t-217 -217t-299 -80t-299 80t-217 217t-80 299zM186 600q0 -171 121.5 -292.5t292.5 -121.5t292.5 121.5t121.5 292.5t-121.5 292.5t-292.5 121.5t-292.5 -121.5t-121.5 -292.5zM350 600l250 300 l250 -300h-150v-300h-200v300h-150z" />
+<glyph unicode="&#xe028;" d="M0 25v475l200 700h800q199 -700 200 -700v-475q0 -11 -7 -18t-18 -7h-1150q-11 0 -18 7t-7 18zM200 500h200l50 -200h300l50 200h200l-97 500h-606z" />
+<glyph unicode="&#xe029;" d="M4 600q0 162 80 299t217 217t299 80t299 -80t217 -217t80 -299t-80 -299t-217 -217t-299 -80t-299 80t-217 217t-80 299zM186 600q0 -172 121.5 -293t292.5 -121t292.5 121t121.5 293q0 171 -121.5 292.5t-292.5 121.5t-292.5 -121.5t-121.5 -292.5zM500 397v401 l297 -200z" />
+<glyph unicode="&#xe030;" d="M23 600q0 -118 45.5 -224.5t123 -184t184 -123t224.5 -45.5t224.5 45.5t184 123t123 184t45.5 224.5h-150q0 -177 -125 -302t-302 -125t-302 125t-125 302t125 302t302 125q136 0 246 -81l-146 -146h400v400l-145 -145q-157 122 -355 122q-118 0 -224.5 -45.5t-184 -123 t-123 -184t-45.5 -224.5z" />
+<glyph unicode="&#xe031;" d="M23 600q0 118 45.5 224.5t123 184t184 123t224.5 45.5q198 0 355 -122l145 145v-400h-400l147 147q-112 80 -247 80q-177 0 -302 -125t-125 -302h-150zM100 0v400h400l-147 -147q112 -80 247 -80q177 0 302 125t125 302h150q0 -118 -45.5 -224.5t-123 -184t-184 -123 t-224.5 -45.5q-198 0 -355 122z" />
+<glyph unicode="&#xe032;" d="M100 0h1100v1200h-1100v-1200zM200 100v900h900v-900h-900zM300 200v100h100v-100h-100zM300 400v100h100v-100h-100zM300 600v100h100v-100h-100zM300 800v100h100v-100h-100zM500 200h500v100h-500v-100zM500 400v100h500v-100h-500zM500 600v100h500v-100h-500z M500 800v100h500v-100h-500z" />
+<glyph unicode="&#xe033;" d="M0 100v600q0 41 29.5 70.5t70.5 29.5h100v200q0 82 59 141t141 59h300q82 0 141 -59t59 -141v-200h100q41 0 70.5 -29.5t29.5 -70.5v-600q0 -41 -29.5 -70.5t-70.5 -29.5h-900q-41 0 -70.5 29.5t-29.5 70.5zM400 800h300v150q0 21 -14.5 35.5t-35.5 14.5h-200 q-21 0 -35.5 -14.5t-14.5 -35.5v-150z" />
+<glyph unicode="&#xe034;" d="M100 0v1100h100v-1100h-100zM300 400q60 60 127.5 84t127.5 17.5t122 -23t119 -30t110 -11t103 42t91 120.5v500q-40 -81 -101.5 -115.5t-127.5 -29.5t-138 25t-139.5 40t-125.5 25t-103 -29.5t-65 -115.5v-500z" />
+<glyph unicode="&#xe035;" d="M0 275q0 -11 7 -18t18 -7h50q11 0 18 7t7 18v300q0 127 70.5 231.5t184.5 161.5t245 57t245 -57t184.5 -161.5t70.5 -231.5v-300q0 -11 7 -18t18 -7h50q11 0 18 7t7 18v300q0 116 -49.5 227t-131 192.5t-192.5 131t-227 49.5t-227 -49.5t-192.5 -131t-131 -192.5 t-49.5 -227v-300zM200 20v460q0 8 6 14t14 6h160q8 0 14 -6t6 -14v-460q0 -8 -6 -14t-14 -6h-160q-8 0 -14 6t-6 14zM800 20v460q0 8 6 14t14 6h160q8 0 14 -6t6 -14v-460q0 -8 -6 -14t-14 -6h-160q-8 0 -14 6t-6 14z" />
+<glyph unicode="&#xe036;" d="M0 400h300l300 -200v800l-300 -200h-300v-400zM688 459l141 141l-141 141l71 71l141 -141l141 141l71 -71l-141 -141l141 -141l-71 -71l-141 141l-141 -141z" />
+<glyph unicode="&#xe037;" d="M0 400h300l300 -200v800l-300 -200h-300v-400zM700 857l69 53q111 -135 111 -310q0 -169 -106 -302l-67 54q86 110 86 248q0 146 -93 257z" />
+<glyph unicode="&#xe038;" d="M0 401v400h300l300 200v-800l-300 200h-300zM702 858l69 53q111 -135 111 -310q0 -170 -106 -303l-67 55q86 110 86 248q0 145 -93 257zM889 951l7 -8q123 -151 123 -344q0 -189 -119 -339l-7 -8l81 -66l6 8q142 178 142 405q0 230 -144 408l-6 8z" />
+<glyph unicode="&#xe039;" d="M0 0h500v500h-200v100h-100v-100h-200v-500zM0 600h100v100h400v100h100v100h-100v300h-500v-600zM100 100v300h300v-300h-300zM100 800v300h300v-300h-300zM200 200v100h100v-100h-100zM200 900h100v100h-100v-100zM500 500v100h300v-300h200v-100h-100v-100h-200v100 h-100v100h100v200h-200zM600 0v100h100v-100h-100zM600 1000h100v-300h200v-300h300v200h-200v100h200v500h-600v-200zM800 800v300h300v-300h-300zM900 0v100h300v-100h-300zM900 900v100h100v-100h-100zM1100 200v100h100v-100h-100z" />
+<glyph unicode="&#xe040;" d="M0 200h100v1000h-100v-1000zM100 0v100h300v-100h-300zM200 200v1000h100v-1000h-100zM500 0v91h100v-91h-100zM500 200v1000h200v-1000h-200zM700 0v91h100v-91h-100zM800 200v1000h100v-1000h-100zM900 0v91h200v-91h-200zM1000 200v1000h200v-1000h-200z" />
+<glyph unicode="&#xe041;" d="M1 700v475q0 10 7.5 17.5t17.5 7.5h474l700 -700l-500 -500zM148 953q0 -42 29 -71q30 -30 71.5 -30t71.5 30q29 29 29 71t-29 71q-30 30 -71.5 30t-71.5 -30q-29 -29 -29 -71z" />
+<glyph unicode="&#xe042;" d="M2 700v475q0 11 7 18t18 7h474l700 -700l-500 -500zM148 953q0 -42 30 -71q29 -30 71 -30t71 30q30 29 30 71t-30 71q-29 30 -71 30t-71 -30q-30 -29 -30 -71zM701 1200h100l700 -700l-500 -500l-50 50l450 450z" />
+<glyph unicode="&#xe043;" d="M100 0v1025l175 175h925v-1000l-100 -100v1000h-750l-100 -100h750v-1000h-900z" />
+<glyph unicode="&#xe044;" d="M200 0l450 444l450 -443v1150q0 20 -14.5 35t-35.5 15h-800q-21 0 -35.5 -15t-14.5 -35v-1151z" />
+<glyph unicode="&#xe045;" d="M0 100v700h200l100 -200h600l100 200h200v-700h-200v200h-800v-200h-200zM253 829l40 -124h592l62 124l-94 346q-2 11 -10 18t-18 7h-450q-10 0 -18 -7t-10 -18zM281 24l38 152q2 10 11.5 17t19.5 7h500q10 0 19.5 -7t11.5 -17l38 -152q2 -10 -3.5 -17t-15.5 -7h-600 q-10 0 -15.5 7t-3.5 17z" />
+<glyph unicode="&#xe046;" d="M0 200q0 -41 29.5 -70.5t70.5 -29.5h1000q41 0 70.5 29.5t29.5 70.5v600q0 41 -29.5 70.5t-70.5 29.5h-150q-4 8 -11.5 21.5t-33 48t-53 61t-69 48t-83.5 21.5h-200q-41 0 -82 -20.5t-70 -50t-52 -59t-34 -50.5l-12 -20h-150q-41 0 -70.5 -29.5t-29.5 -70.5v-600z M356 500q0 100 72 172t172 72t172 -72t72 -172t-72 -172t-172 -72t-172 72t-72 172zM494 500q0 -44 31 -75t75 -31t75 31t31 75t-31 75t-75 31t-75 -31t-31 -75zM900 700v100h100v-100h-100z" />
+<glyph unicode="&#xe047;" d="M53 0h365v66q-41 0 -72 11t-49 38t1 71l92 234h391l82 -222q16 -45 -5.5 -88.5t-74.5 -43.5v-66h417v66q-34 1 -74 43q-18 19 -33 42t-21 37l-6 13l-385 998h-93l-399 -1006q-24 -48 -52 -75q-12 -12 -33 -25t-36 -20l-15 -7v-66zM416 521l178 457l46 -140l116 -317h-340 z" />
+<glyph unicode="&#xe048;" d="M100 0v89q41 7 70.5 32.5t29.5 65.5v827q0 28 -1 39.5t-5.5 26t-15.5 21t-29 14t-49 14.5v70h471q120 0 213 -88t93 -228q0 -55 -11.5 -101.5t-28 -74t-33.5 -47.5t-28 -28l-12 -7q8 -3 21.5 -9t48 -31.5t60.5 -58t47.5 -91.5t21.5 -129q0 -84 -59 -156.5t-142 -111 t-162 -38.5h-500zM400 200h161q89 0 153 48.5t64 132.5q0 90 -62.5 154.5t-156.5 64.5h-159v-400zM400 700h139q76 0 130 61.5t54 138.5q0 82 -84 130.5t-239 48.5v-379z" />
+<glyph unicode="&#xe049;" d="M200 0v57q77 7 134.5 40.5t65.5 80.5l173 849q10 56 -10 74t-91 37q-6 1 -10.5 2.5t-9.5 2.5v57h425l2 -57q-33 -8 -62 -25.5t-46 -37t-29.5 -38t-17.5 -30.5l-5 -12l-128 -825q-10 -52 14 -82t95 -36v-57h-500z" />
+<glyph unicode="&#xe050;" d="M-75 200h75v800h-75l125 167l125 -167h-75v-800h75l-125 -167zM300 900v300h150h700h150v-300h-50q0 29 -8 48.5t-18.5 30t-33.5 15t-39.5 5.5t-50.5 1h-200v-850l100 -50v-100h-400v100l100 50v850h-200q-34 0 -50.5 -1t-40 -5.5t-33.5 -15t-18.5 -30t-8.5 -48.5h-49z " />
+<glyph unicode="&#xe051;" d="M33 51l167 125v-75h800v75l167 -125l-167 -125v75h-800v-75zM100 901v300h150h700h150v-300h-50q0 29 -8 48.5t-18 30t-33.5 15t-40 5.5t-50.5 1h-200v-650l100 -50v-100h-400v100l100 50v650h-200q-34 0 -50.5 -1t-39.5 -5.5t-33.5 -15t-18.5 -30t-8 -48.5h-50z" />
+<glyph unicode="&#xe052;" d="M0 50q0 -20 14.5 -35t35.5 -15h1100q21 0 35.5 15t14.5 35v100q0 21 -14.5 35.5t-35.5 14.5h-1100q-21 0 -35.5 -14.5t-14.5 -35.5v-100zM0 350q0 -20 14.5 -35t35.5 -15h800q21 0 35.5 15t14.5 35v100q0 21 -14.5 35.5t-35.5 14.5h-800q-21 0 -35.5 -14.5t-14.5 -35.5 v-100zM0 650q0 -20 14.5 -35t35.5 -15h1000q21 0 35.5 15t14.5 35v100q0 21 -14.5 35.5t-35.5 14.5h-1000q-21 0 -35.5 -14.5t-14.5 -35.5v-100zM0 950q0 -20 14.5 -35t35.5 -15h600q21 0 35.5 15t14.5 35v100q0 21 -14.5 35.5t-35.5 14.5h-600q-21 0 -35.5 -14.5 t-14.5 -35.5v-100z" />
+<glyph unicode="&#xe053;" d="M0 50q0 -20 14.5 -35t35.5 -15h1100q21 0 35.5 15t14.5 35v100q0 21 -14.5 35.5t-35.5 14.5h-1100q-21 0 -35.5 -14.5t-14.5 -35.5v-100zM0 650q0 -20 14.5 -35t35.5 -15h1100q21 0 35.5 15t14.5 35v100q0 21 -14.5 35.5t-35.5 14.5h-1100q-21 0 -35.5 -14.5t-14.5 -35.5 v-100zM200 350q0 -20 14.5 -35t35.5 -15h700q21 0 35.5 15t14.5 35v100q0 21 -14.5 35.5t-35.5 14.5h-700q-21 0 -35.5 -14.5t-14.5 -35.5v-100zM200 950q0 -20 14.5 -35t35.5 -15h700q21 0 35.5 15t14.5 35v100q0 21 -14.5 35.5t-35.5 14.5h-700q-21 0 -35.5 -14.5 t-14.5 -35.5v-100z" />
+<glyph unicode="&#xe054;" d="M0 50v100q0 21 14.5 35.5t35.5 14.5h1100q21 0 35.5 -14.5t14.5 -35.5v-100q0 -20 -14.5 -35t-35.5 -15h-1100q-21 0 -35.5 15t-14.5 35zM100 650v100q0 21 14.5 35.5t35.5 14.5h1000q21 0 35.5 -14.5t14.5 -35.5v-100q0 -20 -14.5 -35t-35.5 -15h-1000q-21 0 -35.5 15 t-14.5 35zM300 350v100q0 21 14.5 35.5t35.5 14.5h800q21 0 35.5 -14.5t14.5 -35.5v-100q0 -20 -14.5 -35t-35.5 -15h-800q-21 0 -35.5 15t-14.5 35zM500 950v100q0 21 14.5 35.5t35.5 14.5h600q21 0 35.5 -14.5t14.5 -35.5v-100q0 -20 -14.5 -35t-35.5 -15h-600 q-21 0 -35.5 15t-14.5 35z" />
+<glyph unicode="&#xe055;" d="M0 50v100q0 21 14.5 35.5t35.5 14.5h1100q21 0 35.5 -14.5t14.5 -35.5v-100q0 -20 -14.5 -35t-35.5 -15h-1100q-21 0 -35.5 15t-14.5 35zM0 350v100q0 21 14.5 35.5t35.5 14.5h1100q21 0 35.5 -14.5t14.5 -35.5v-100q0 -20 -14.5 -35t-35.5 -15h-1100q-21 0 -35.5 15 t-14.5 35zM0 650v100q0 21 14.5 35.5t35.5 14.5h1100q21 0 35.5 -14.5t14.5 -35.5v-100q0 -20 -14.5 -35t-35.5 -15h-1100q-21 0 -35.5 15t-14.5 35zM0 950v100q0 21 14.5 35.5t35.5 14.5h1100q21 0 35.5 -14.5t14.5 -35.5v-100q0 -20 -14.5 -35t-35.5 -15h-1100 q-21 0 -35.5 15t-14.5 35z" />
+<glyph unicode="&#xe056;" d="M0 50v100q0 21 14.5 35.5t35.5 14.5h100q21 0 35.5 -14.5t14.5 -35.5v-100q0 -20 -14.5 -35t-35.5 -15h-100q-21 0 -35.5 15t-14.5 35zM0 350v100q0 21 14.5 35.5t35.5 14.5h100q21 0 35.5 -14.5t14.5 -35.5v-100q0 -20 -14.5 -35t-35.5 -15h-100q-21 0 -35.5 15 t-14.5 35zM0 650v100q0 21 14.5 35.5t35.5 14.5h100q21 0 35.5 -14.5t14.5 -35.5v-100q0 -20 -14.5 -35t-35.5 -15h-100q-21 0 -35.5 15t-14.5 35zM0 950v100q0 21 14.5 35.5t35.5 14.5h100q21 0 35.5 -14.5t14.5 -35.5v-100q0 -20 -14.5 -35t-35.5 -15h-100q-21 0 -35.5 15 t-14.5 35zM300 50v100q0 21 14.5 35.5t35.5 14.5h800q21 0 35.5 -14.5t14.5 -35.5v-100q0 -20 -14.5 -35t-35.5 -15h-800q-21 0 -35.5 15t-14.5 35zM300 350v100q0 21 14.5 35.5t35.5 14.5h800q21 0 35.5 -14.5t14.5 -35.5v-100q0 -20 -14.5 -35t-35.5 -15h-800 q-21 0 -35.5 15t-14.5 35zM300 650v100q0 21 14.5 35.5t35.5 14.5h800q21 0 35.5 -14.5t14.5 -35.5v-100q0 -20 -14.5 -35t-35.5 -15h-800q-21 0 -35.5 15t-14.5 35zM300 950v100q0 21 14.5 35.5t35.5 14.5h800q21 0 35.5 -14.5t14.5 -35.5v-100q0 -20 -14.5 -35t-35.5 -15 h-800q-21 0 -35.5 15t-14.5 35z" />
+<glyph unicode="&#xe057;" d="M-101 500v100h201v75l166 -125l-166 -125v75h-201zM300 0h100v1100h-100v-1100zM500 50q0 -20 14.5 -35t35.5 -15h600q20 0 35 15t15 35v100q0 21 -15 35.5t-35 14.5h-600q-21 0 -35.5 -14.5t-14.5 -35.5v-100zM500 350q0 -20 14.5 -35t35.5 -15h300q20 0 35 15t15 35 v100q0 21 -15 35.5t-35 14.5h-300q-21 0 -35.5 -14.5t-14.5 -35.5v-100zM500 650q0 -20 14.5 -35t35.5 -15h500q20 0 35 15t15 35v100q0 21 -15 35.5t-35 14.5h-500q-21 0 -35.5 -14.5t-14.5 -35.5v-100zM500 950q0 -20 14.5 -35t35.5 -15h100q20 0 35 15t15 35v100 q0 21 -15 35.5t-35 14.5h-100q-21 0 -35.5 -14.5t-14.5 -35.5v-100z" />
+<glyph unicode="&#xe058;" d="M1 50q0 -20 14.5 -35t35.5 -15h600q20 0 35 15t15 35v100q0 21 -15 35.5t-35 14.5h-600q-21 0 -35.5 -14.5t-14.5 -35.5v-100zM1 350q0 -20 14.5 -35t35.5 -15h300q20 0 35 15t15 35v100q0 21 -15 35.5t-35 14.5h-300q-21 0 -35.5 -14.5t-14.5 -35.5v-100zM1 650 q0 -20 14.5 -35t35.5 -15h500q20 0 35 15t15 35v100q0 21 -15 35.5t-35 14.5h-500q-21 0 -35.5 -14.5t-14.5 -35.5v-100zM1 950q0 -20 14.5 -35t35.5 -15h100q20 0 35 15t15 35v100q0 21 -15 35.5t-35 14.5h-100q-21 0 -35.5 -14.5t-14.5 -35.5v-100zM801 0v1100h100v-1100 h-100zM934 550l167 -125v75h200v100h-200v75z" />
+<glyph unicode="&#xe059;" d="M0 275v650q0 31 22 53t53 22h750q31 0 53 -22t22 -53v-650q0 -31 -22 -53t-53 -22h-750q-31 0 -53 22t-22 53zM900 600l300 300v-600z" />
+<glyph unicode="&#xe060;" d="M0 44v1012q0 18 13 31t31 13h1112q19 0 31.5 -13t12.5 -31v-1012q0 -18 -12.5 -31t-31.5 -13h-1112q-18 0 -31 13t-13 31zM100 263l247 182l298 -131l-74 156l293 318l236 -288v500h-1000v-737zM208 750q0 56 39 95t95 39t95 -39t39 -95t-39 -95t-95 -39t-95 39t-39 95z " />
+<glyph unicode="&#xe062;" d="M148 745q0 124 60.5 231.5t165 172t226.5 64.5q123 0 227 -63t164.5 -169.5t60.5 -229.5t-73 -272q-73 -114 -166.5 -237t-150.5 -189l-57 -66q-10 9 -27 26t-66.5 70.5t-96 109t-104 135.5t-100.5 155q-63 139 -63 262zM342 772q0 -107 75.5 -182.5t181.5 -75.5 q107 0 182.5 75.5t75.5 182.5t-75.5 182t-182.5 75t-182 -75.5t-75 -181.5z" />
+<glyph unicode="&#xe063;" d="M1 600q0 122 47.5 233t127.5 191t191 127.5t233 47.5t233 -47.5t191 -127.5t127.5 -191t47.5 -233t-47.5 -233t-127.5 -191t-191 -127.5t-233 -47.5t-233 47.5t-191 127.5t-127.5 191t-47.5 233zM173 600q0 -177 125.5 -302t301.5 -125v854q-176 0 -301.5 -125 t-125.5 -302z" />
+<glyph unicode="&#xe064;" d="M117 406q0 94 34 186t88.5 172.5t112 159t115 177t87.5 194.5q21 -71 57.5 -142.5t76 -130.5t83 -118.5t82 -117t70 -116t50 -125.5t18.5 -136q0 -89 -39 -165.5t-102 -126.5t-140 -79.5t-156 -33.5q-114 6 -211.5 53t-161.5 138.5t-64 210.5zM243 414q14 -82 59.5 -136 t136.5 -80l16 98q-7 6 -18 17t-34 48t-33 77q-15 73 -14 143.5t10 122.5l9 51q-92 -110 -119.5 -185t-12.5 -156z" />
+<glyph unicode="&#xe065;" d="M0 400v300q0 165 117.5 282.5t282.5 117.5q366 -6 397 -14l-186 -186h-311q-41 0 -70.5 -29.5t-29.5 -70.5v-500q0 -41 29.5 -70.5t70.5 -29.5h500q41 0 70.5 29.5t29.5 70.5v125l200 200v-225q0 -165 -117.5 -282.5t-282.5 -117.5h-300q-165 0 -282.5 117.5 t-117.5 282.5zM436 341l161 50l412 412l-114 113l-405 -405zM995 1015l113 -113l113 113l-21 85l-92 28z" />
+<glyph unicode="&#xe066;" d="M0 400v300q0 165 117.5 282.5t282.5 117.5h261l2 -80q-133 -32 -218 -120h-145q-41 0 -70.5 -29.5t-29.5 -70.5v-500q0 -41 29.5 -70.5t70.5 -29.5h500q41 0 70.5 29.5t29.5 70.5l200 153v-53q0 -165 -117.5 -282.5t-282.5 -117.5h-300q-165 0 -282.5 117.5t-117.5 282.5 zM423 524q30 38 81.5 64t103 35.5t99 14t77.5 3.5l29 -1v-209l360 324l-359 318v-216q-7 0 -19 -1t-48 -8t-69.5 -18.5t-76.5 -37t-76.5 -59t-62 -88t-39.5 -121.5z" />
+<glyph unicode="&#xe067;" d="M0 400v300q0 165 117.5 282.5t282.5 117.5h300q60 0 127 -23l-178 -177h-349q-41 0 -70.5 -29.5t-29.5 -70.5v-500q0 -41 29.5 -70.5t70.5 -29.5h500q41 0 70.5 29.5t29.5 70.5v69l200 200v-169q0 -165 -117.5 -282.5t-282.5 -117.5h-300q-165 0 -282.5 117.5 t-117.5 282.5zM342 632l283 -284l566 567l-136 137l-430 -431l-147 147z" />
+<glyph unicode="&#xe068;" d="M0 603l300 296v-198h200v200h-200l300 300l295 -300h-195v-200h200v198l300 -296l-300 -300v198h-200v-200h195l-295 -300l-300 300h200v200h-200v-198z" />
+<glyph unicode="&#xe069;" d="M200 50v1000q0 21 14.5 35.5t35.5 14.5h100q21 0 35.5 -14.5t14.5 -35.5v-437l500 487v-1100l-500 488v-438q0 -21 -14.5 -35.5t-35.5 -14.5h-100q-21 0 -35.5 14.5t-14.5 35.5z" />
+<glyph unicode="&#xe070;" d="M0 50v1000q0 21 14.5 35.5t35.5 14.5h100q21 0 35.5 -14.5t14.5 -35.5v-437l500 487v-487l500 487v-1100l-500 488v-488l-500 488v-438q0 -21 -14.5 -35.5t-35.5 -14.5h-100q-21 0 -35.5 14.5t-14.5 35.5z" />
+<glyph unicode="&#xe071;" d="M136 550l564 550v-487l500 487v-1100l-500 488v-488z" />
+<glyph unicode="&#xe072;" d="M200 0l900 550l-900 550v-1100z" />
+<glyph unicode="&#xe073;" d="M200 150q0 -21 14.5 -35.5t35.5 -14.5h200q21 0 35.5 14.5t14.5 35.5v800q0 21 -14.5 35.5t-35.5 14.5h-200q-21 0 -35.5 -14.5t-14.5 -35.5v-800zM600 150q0 -21 14.5 -35.5t35.5 -14.5h200q21 0 35.5 14.5t14.5 35.5v800q0 21 -14.5 35.5t-35.5 14.5h-200 q-21 0 -35.5 -14.5t-14.5 -35.5v-800z" />
+<glyph unicode="&#xe074;" d="M200 150q0 -20 14.5 -35t35.5 -15h800q21 0 35.5 15t14.5 35v800q0 21 -14.5 35.5t-35.5 14.5h-800q-21 0 -35.5 -14.5t-14.5 -35.5v-800z" />
+<glyph unicode="&#xe075;" d="M0 0v1100l500 -487v487l564 -550l-564 -550v488z" />
+<glyph unicode="&#xe076;" d="M0 0v1100l500 -487v487l500 -487v437q0 21 14.5 35.5t35.5 14.5h100q21 0 35.5 -14.5t14.5 -35.5v-1000q0 -21 -14.5 -35.5t-35.5 -14.5h-100q-21 0 -35.5 14.5t-14.5 35.5v438l-500 -488v488z" />
+<glyph unicode="&#xe077;" d="M300 0v1100l500 -487v437q0 21 14.5 35.5t35.5 14.5h100q21 0 35.5 -14.5t14.5 -35.5v-1000q0 -21 -14.5 -35.5t-35.5 -14.5h-100q-21 0 -35.5 14.5t-14.5 35.5v438z" />
+<glyph unicode="&#xe078;" d="M100 250v100q0 21 14.5 35.5t35.5 14.5h1000q21 0 35.5 -14.5t14.5 -35.5v-100q0 -21 -14.5 -35.5t-35.5 -14.5h-1000q-21 0 -35.5 14.5t-14.5 35.5zM100 500h1100l-550 564z" />
+<glyph unicode="&#xe079;" d="M185 599l592 -592l240 240l-353 353l353 353l-240 240z" />
+<glyph unicode="&#xe080;" d="M272 194l353 353l-353 353l241 240l572 -571l21 -22l-1 -1v-1l-592 -591z" />
+<glyph unicode="&#xe081;" d="M3 600q0 162 80 299.5t217.5 217.5t299.5 80t299.5 -80t217.5 -217.5t80 -299.5t-80 -300t-217.5 -218t-299.5 -80t-299.5 80t-217.5 218t-80 300zM300 500h200v-200h200v200h200v200h-200v200h-200v-200h-200v-200z" />
+<glyph unicode="&#xe082;" d="M3 600q0 162 80 299.5t217.5 217.5t299.5 80t299.5 -80t217.5 -217.5t80 -299.5t-80 -300t-217.5 -218t-299.5 -80t-299.5 80t-217.5 218t-80 300zM300 500h600v200h-600v-200z" />
+<glyph unicode="&#xe083;" d="M3 600q0 162 80 299.5t217.5 217.5t299.5 80t299.5 -80t217.5 -217.5t80 -299.5t-80 -300t-217.5 -218t-299.5 -80t-299.5 80t-217.5 218t-80 300zM246 459l213 -213l141 142l141 -142l213 213l-142 141l142 141l-213 212l-141 -141l-141 142l-212 -213l141 -141z" />
+<glyph unicode="&#xe084;" d="M3 600q0 162 80 299.5t217.5 217.5t299.5 80t299.5 -80t217.5 -217.5t80 -299.5t-80 -299.5t-217.5 -217.5t-299.5 -80t-299.5 80t-217.5 217.5t-80 299.5zM270 551l276 -277l411 411l-175 174l-236 -236l-102 102z" />
+<glyph unicode="&#xe085;" d="M3 600q0 162 80 299.5t217.5 217.5t299.5 80t299.5 -80t217.5 -217.5t80 -299.5t-80 -300t-217.5 -218t-299.5 -80t-299.5 80t-217.5 218t-80 300zM363 700h144q4 0 11.5 -1t11 -1t6.5 3t3 9t1 11t3.5 8.5t3.5 6t5.5 4t6.5 2.5t9 1.5t9 0.5h11.5h12.5q19 0 30 -10t11 -26 q0 -22 -4 -28t-27 -22q-5 -1 -12.5 -3t-27 -13.5t-34 -27t-26.5 -46t-11 -68.5h200q5 3 14 8t31.5 25.5t39.5 45.5t31 69t14 94q0 51 -17.5 89t-42 58t-58.5 32t-58.5 15t-51.5 3q-105 0 -172 -56t-67 -183zM500 300h200v100h-200v-100z" />
+<glyph unicode="&#xe086;" d="M3 600q0 162 80 299.5t217.5 217.5t299.5 80t299.5 -80t217.5 -217.5t80 -299.5t-80 -300t-217.5 -218t-299.5 -80t-299.5 80t-217.5 218t-80 300zM400 300h400v100h-100v300h-300v-100h100v-200h-100v-100zM500 800h200v100h-200v-100z" />
+<glyph unicode="&#xe087;" d="M0 500v200h194q15 60 36 104.5t55.5 86t88 69t126.5 40.5v200h200v-200q54 -20 113 -60t112.5 -105.5t71.5 -134.5h203v-200h-203q-25 -102 -116.5 -186t-180.5 -117v-197h-200v197q-140 27 -208 102.5t-98 200.5h-194zM290 500q24 -73 79.5 -127.5t130.5 -78.5v206h200 v-206q149 48 201 206h-201v200h200q-25 74 -76 127.5t-124 76.5v-204h-200v203q-75 -24 -130 -77.5t-79 -125.5h209v-200h-210z" />
+<glyph unicode="&#xe088;" d="M4 600q0 162 80 299t217 217t299 80t299 -80t217 -217t80 -299t-80 -299t-217 -217t-299 -80t-299 80t-217 217t-80 299zM186 600q0 -171 121.5 -292.5t292.5 -121.5t292.5 121.5t121.5 292.5t-121.5 292.5t-292.5 121.5t-292.5 -121.5t-121.5 -292.5zM356 465l135 135 l-135 135l109 109l135 -135l135 135l109 -109l-135 -135l135 -135l-109 -109l-135 135l-135 -135z" />
+<glyph unicode="&#xe089;" d="M4 600q0 162 80 299t217 217t299 80t299 -80t217 -217t80 -299t-80 -299t-217 -217t-299 -80t-299 80t-217 217t-80 299zM186 600q0 -171 121.5 -292.5t292.5 -121.5t292.5 121.5t121.5 292.5t-121.5 292.5t-292.5 121.5t-292.5 -121.5t-121.5 -292.5zM322 537l141 141 l87 -87l204 205l142 -142l-346 -345z" />
+<glyph unicode="&#xe090;" d="M4 600q0 162 80 299t217 217t299 80t299 -80t217 -217t80 -299t-80 -299t-217 -217t-299 -80t-299 80t-217 217t-80 299zM186 600q0 -115 62 -215l568 567q-100 62 -216 62q-171 0 -292.5 -121.5t-121.5 -292.5zM391 245q97 -59 209 -59q171 0 292.5 121.5t121.5 292.5 q0 112 -59 209z" />
+<glyph unicode="&#xe091;" d="M0 547l600 453v-300h600v-300h-600v-301z" />
+<glyph unicode="&#xe092;" d="M0 400v300h600v300l600 -453l-600 -448v301h-600z" />
+<glyph unicode="&#xe093;" d="M204 600l450 600l444 -600h-298v-600h-300v600h-296z" />
+<glyph unicode="&#xe094;" d="M104 600h296v600h300v-600h298l-449 -600z" />
+<glyph unicode="&#xe095;" d="M0 200q6 132 41 238.5t103.5 193t184 138t271.5 59.5v271l600 -453l-600 -448v301q-95 -2 -183 -20t-170 -52t-147 -92.5t-100 -135.5z" />
+<glyph unicode="&#xe096;" d="M0 0v400l129 -129l294 294l142 -142l-294 -294l129 -129h-400zM635 777l142 -142l294 294l129 -129v400h-400l129 -129z" />
+<glyph unicode="&#xe097;" d="M34 176l295 295l-129 129h400v-400l-129 130l-295 -295zM600 600v400l129 -129l295 295l142 -141l-295 -295l129 -130h-400z" />
+<glyph unicode="&#xe101;" d="M23 600q0 118 45.5 224.5t123 184t184 123t224.5 45.5t224.5 -45.5t184 -123t123 -184t45.5 -224.5t-45.5 -224.5t-123 -184t-184 -123t-224.5 -45.5t-224.5 45.5t-184 123t-123 184t-45.5 224.5zM456 851l58 -302q4 -20 21.5 -34.5t37.5 -14.5h54q20 0 37.5 14.5 t21.5 34.5l58 302q4 20 -8 34.5t-33 14.5h-207q-20 0 -32 -14.5t-8 -34.5zM500 300h200v100h-200v-100z" />
+<glyph unicode="&#xe102;" d="M0 800h100v-200h400v300h200v-300h400v200h100v100h-111v6t-1 15t-3 18l-34 172q-11 39 -41.5 63t-69.5 24q-32 0 -61 -17l-239 -144q-22 -13 -40 -35q-19 24 -40 36l-238 144q-33 18 -62 18q-39 0 -69.5 -23t-40.5 -61l-35 -177q-2 -8 -3 -18t-1 -15v-6h-111v-100z M100 0h400v400h-400v-400zM200 900q-3 0 14 48t35 96l18 47l214 -191h-281zM700 0v400h400v-400h-400zM731 900l202 197q5 -12 12 -32.5t23 -64t25 -72t7 -28.5h-269z" />
+<glyph unicode="&#xe103;" d="M0 -22v143l216 193q-9 53 -13 83t-5.5 94t9 113t38.5 114t74 124q47 60 99.5 102.5t103 68t127.5 48t145.5 37.5t184.5 43.5t220 58.5q0 -189 -22 -343t-59 -258t-89 -181.5t-108.5 -120t-122 -68t-125.5 -30t-121.5 -1.5t-107.5 12.5t-87.5 17t-56.5 7.5l-99 -55z M238.5 300.5q19.5 -6.5 86.5 76.5q55 66 367 234q70 38 118.5 69.5t102 79t99 111.5t86.5 148q22 50 24 60t-6 19q-7 5 -17 5t-26.5 -14.5t-33.5 -39.5q-35 -51 -113.5 -108.5t-139.5 -89.5l-61 -32q-369 -197 -458 -401q-48 -111 -28.5 -117.5z" />
+<glyph unicode="&#xe104;" d="M111 408q0 -33 5 -63q9 -56 44 -119.5t105 -108.5q31 -21 64 -16t62 23.5t57 49.5t48 61.5t35 60.5q32 66 39 184.5t-13 157.5q79 -80 122 -164t26 -184q-5 -33 -20.5 -69.5t-37.5 -80.5q-10 -19 -14.5 -29t-12 -26t-9 -23.5t-3 -19t2.5 -15.5t11 -9.5t19.5 -5t30.5 2.5 t42 8q57 20 91 34t87.5 44.5t87 64t65.5 88.5t47 122q38 172 -44.5 341.5t-246.5 278.5q22 -44 43 -129q39 -159 -32 -154q-15 2 -33 9q-79 33 -120.5 100t-44 175.5t48.5 257.5q-13 -8 -34 -23.5t-72.5 -66.5t-88.5 -105.5t-60 -138t-8 -166.5q2 -12 8 -41.5t8 -43t6 -39.5 t3.5 -39.5t-1 -33.5t-6 -31.5t-13.5 -24t-21 -20.5t-31 -12q-38 -10 -67 13t-40.5 61.5t-15 81.5t10.5 75q-52 -46 -83.5 -101t-39 -107t-7.5 -85z" />
+<glyph unicode="&#xe105;" d="M-61 600l26 40q6 10 20 30t49 63.5t74.5 85.5t97 90t116.5 83.5t132.5 59t145.5 23.5t145.5 -23.5t132.5 -59t116.5 -83.5t97 -90t74.5 -85.5t49 -63.5t20 -30l26 -40l-26 -40q-6 -10 -20 -30t-49 -63.5t-74.5 -85.5t-97 -90t-116.5 -83.5t-132.5 -59t-145.5 -23.5 t-145.5 23.5t-132.5 59t-116.5 83.5t-97 90t-74.5 85.5t-49 63.5t-20 30zM120 600q7 -10 40.5 -58t56 -78.5t68 -77.5t87.5 -75t103 -49.5t125 -21.5t123.5 20t100.5 45.5t85.5 71.5t66.5 75.5t58 81.5t47 66q-1 1 -28.5 37.5t-42 55t-43.5 53t-57.5 63.5t-58.5 54 q49 -74 49 -163q0 -124 -88 -212t-212 -88t-212 88t-88 212q0 85 46 158q-102 -87 -226 -258zM377 656q49 -124 154 -191l105 105q-37 24 -75 72t-57 84l-20 36z" />
+<glyph unicode="&#xe106;" d="M-61 600l26 40q6 10 20 30t49 63.5t74.5 85.5t97 90t116.5 83.5t132.5 59t145.5 23.5q61 0 121 -17l37 142h148l-314 -1200h-148l37 143q-82 21 -165 71.5t-140 102t-109.5 112t-72 88.5t-29.5 43zM120 600q210 -282 393 -336l37 141q-107 18 -178.5 101.5t-71.5 193.5 q0 85 46 158q-102 -87 -226 -258zM377 656q49 -124 154 -191l47 47l23 87q-30 28 -59 69t-44 68l-14 26zM780 161l38 145q22 15 44.5 34t46 44t40.5 44t41 50.5t33.5 43.5t33 44t24.5 34q-97 127 -140 175l39 146q67 -54 131.5 -125.5t87.5 -103.5t36 -52l26 -40l-26 -40 q-7 -12 -25.5 -38t-63.5 -79.5t-95.5 -102.5t-124 -100t-146.5 -79z" />
+<glyph unicode="&#xe107;" d="M-97.5 34q13.5 -34 50.5 -34h1294q37 0 50.5 35.5t-7.5 67.5l-642 1056q-20 33 -48 36t-48 -29l-642 -1066q-21 -32 -7.5 -66zM155 200l445 723l445 -723h-345v100h-200v-100h-345zM500 600l100 -300l100 300v100h-200v-100z" />
+<glyph unicode="&#xe108;" d="M100 262v41q0 20 11 44.5t26 38.5l363 325v339q0 62 44 106t106 44t106 -44t44 -106v-339l363 -325q15 -14 26 -38.5t11 -44.5v-41q0 -20 -12 -26.5t-29 5.5l-359 249v-263q100 -91 100 -113v-64q0 -21 -13 -29t-32 1l-94 78h-222l-94 -78q-19 -9 -32 -1t-13 29v64 q0 22 100 113v263l-359 -249q-17 -12 -29 -5.5t-12 26.5z" />
+<glyph unicode="&#xe109;" d="M0 50q0 -20 14.5 -35t35.5 -15h1000q21 0 35.5 15t14.5 35v750h-1100v-750zM0 900h1100v150q0 21 -14.5 35.5t-35.5 14.5h-150v100h-100v-100h-500v100h-100v-100h-150q-21 0 -35.5 -14.5t-14.5 -35.5v-150zM100 100v100h100v-100h-100zM100 300v100h100v-100h-100z M100 500v100h100v-100h-100zM300 100v100h100v-100h-100zM300 300v100h100v-100h-100zM300 500v100h100v-100h-100zM500 100v100h100v-100h-100zM500 300v100h100v-100h-100zM500 500v100h100v-100h-100zM700 100v100h100v-100h-100zM700 300v100h100v-100h-100zM700 500 v100h100v-100h-100zM900 100v100h100v-100h-100zM900 300v100h100v-100h-100zM900 500v100h100v-100h-100z" />
+<glyph unicode="&#xe110;" d="M0 200v200h259l600 600h241v198l300 -295l-300 -300v197h-159l-600 -600h-341zM0 800h259l122 -122l141 142l-181 180h-341v-200zM678 381l141 142l122 -123h159v198l300 -295l-300 -300v197h-241z" />
+<glyph unicode="&#xe111;" d="M0 400v600q0 41 29.5 70.5t70.5 29.5h1000q41 0 70.5 -29.5t29.5 -70.5v-600q0 -41 -29.5 -70.5t-70.5 -29.5h-596l-304 -300v300h-100q-41 0 -70.5 29.5t-29.5 70.5z" />
+<glyph unicode="&#xe112;" d="M100 600v200h300v-250q0 -113 6 -145q17 -92 102 -117q39 -11 92 -11q37 0 66.5 5.5t50 15.5t36 24t24 31.5t14 37.5t7 42t2.5 45t0 47v25v250h300v-200q0 -42 -3 -83t-15 -104t-31.5 -116t-58 -109.5t-89 -96.5t-129 -65.5t-174.5 -25.5t-174.5 25.5t-129 65.5t-89 96.5 t-58 109.5t-31.5 116t-15 104t-3 83zM100 900v300h300v-300h-300zM800 900v300h300v-300h-300z" />
+<glyph unicode="&#xe113;" d="M-30 411l227 -227l352 353l353 -353l226 227l-578 579z" />
+<glyph unicode="&#xe114;" d="M70 797l580 -579l578 579l-226 227l-353 -353l-352 353z" />
+<glyph unicode="&#xe115;" d="M-198 700l299 283l300 -283h-203v-400h385l215 -200h-800v600h-196zM402 1000l215 -200h381v-400h-198l299 -283l299 283h-200v600h-796z" />
+<glyph unicode="&#xe116;" d="M18 939q-5 24 10 42q14 19 39 19h896l38 162q5 17 18.5 27.5t30.5 10.5h94q20 0 35 -14.5t15 -35.5t-15 -35.5t-35 -14.5h-54l-201 -961q-2 -4 -6 -10.5t-19 -17.5t-33 -11h-31v-50q0 -20 -14.5 -35t-35.5 -15t-35.5 15t-14.5 35v50h-300v-50q0 -20 -14.5 -35t-35.5 -15 t-35.5 15t-14.5 35v50h-50q-21 0 -35.5 15t-14.5 35q0 21 14.5 35.5t35.5 14.5h535l48 200h-633q-32 0 -54.5 21t-27.5 43z" />
+<glyph unicode="&#xe117;" d="M0 0v800h1200v-800h-1200zM0 900v100h200q0 41 29.5 70.5t70.5 29.5h300q41 0 70.5 -29.5t29.5 -70.5h500v-100h-1200z" />
+<glyph unicode="&#xe118;" d="M1 0l300 700h1200l-300 -700h-1200zM1 400v600h200q0 41 29.5 70.5t70.5 29.5h300q41 0 70.5 -29.5t29.5 -70.5h500v-200h-1000z" />
+<glyph unicode="&#xe119;" d="M302 300h198v600h-198l298 300l298 -300h-198v-600h198l-298 -300z" />
+<glyph unicode="&#xe120;" d="M0 600l300 298v-198h600v198l300 -298l-300 -297v197h-600v-197z" />
+<glyph unicode="&#xe121;" d="M0 100v100q0 41 29.5 70.5t70.5 29.5h1000q41 0 70.5 -29.5t29.5 -70.5v-100q0 -41 -29.5 -70.5t-70.5 -29.5h-1000q-41 0 -70.5 29.5t-29.5 70.5zM31 400l172 739q5 22 23 41.5t38 19.5h672q19 0 37.5 -22.5t23.5 -45.5l172 -732h-1138zM800 100h100v100h-100v-100z M1000 100h100v100h-100v-100z" />
+<glyph unicode="&#xe122;" d="M-101 600v50q0 24 25 49t50 38l25 13v-250l-11 5.5t-24 14t-30 21.5t-24 27.5t-11 31.5zM99 500v250v5q0 13 0.5 18.5t2.5 13t8 10.5t15 3h200l675 250v-850l-675 200h-38l47 -276q2 -12 -3 -17.5t-11 -6t-21 -0.5h-8h-83q-20 0 -34.5 14t-18.5 35q-56 337 -56 351z M1100 200v850q0 21 14.5 35.5t35.5 14.5q20 0 35 -14.5t15 -35.5v-850q0 -20 -15 -35t-35 -15q-21 0 -35.5 15t-14.5 35z" />
+<glyph unicode="&#xe123;" d="M74 350q0 21 13.5 35.5t33.5 14.5h17l118 173l63 327q15 77 76 140t144 83l-18 32q-6 19 3 32t29 13h94q20 0 29 -10.5t3 -29.5l-18 -37q83 -19 144 -82.5t76 -140.5l63 -327l118 -173h17q20 0 33.5 -14.5t13.5 -35.5q0 -20 -13 -40t-31 -27q-22 -9 -63 -23t-167.5 -37 t-251.5 -23t-245.5 20.5t-178.5 41.5l-58 20q-18 7 -31 27.5t-13 40.5zM497 110q12 -49 40 -79.5t63 -30.5t63 30.5t39 79.5q-48 -6 -102 -6t-103 6z" />
+<glyph unicode="&#xe124;" d="M21 445l233 -45l-78 -224l224 78l45 -233l155 179l155 -179l45 233l224 -78l-78 224l234 45l-180 155l180 156l-234 44l78 225l-224 -78l-45 233l-155 -180l-155 180l-45 -233l-224 78l78 -225l-233 -44l179 -156z" />
+<glyph unicode="&#xe125;" d="M0 200h200v600h-200v-600zM300 275q0 -75 100 -75h61q123 -100 139 -100h250q46 0 83 57l238 344q29 31 29 74v100q0 44 -30.5 84.5t-69.5 40.5h-328q28 118 28 125v150q0 44 -30.5 84.5t-69.5 40.5h-50q-27 0 -51 -20t-38 -48l-96 -198l-145 -196q-20 -26 -20 -63v-400z M400 300v375l150 212l100 213h50v-175l-50 -225h450v-125l-250 -375h-214l-136 100h-100z" />
+<glyph unicode="&#xe126;" d="M0 400v600h200v-600h-200zM300 525v400q0 75 100 75h61q123 100 139 100h250q46 0 83 -57l238 -344q29 -31 29 -74v-100q0 -44 -30.5 -84.5t-69.5 -40.5h-328q28 -118 28 -125v-150q0 -44 -30.5 -84.5t-69.5 -40.5h-50q-27 0 -51 20t-38 48l-96 198l-145 196 q-20 26 -20 63zM400 525l150 -212l100 -213h50v175l-50 225h450v125l-250 375h-214l-136 -100h-100v-375z" />
+<glyph unicode="&#xe127;" d="M8 200v600h200v-600h-200zM308 275v525q0 17 14 35.5t28 28.5l14 9l362 230q14 6 25 6q17 0 29 -12l109 -112q14 -14 14 -34q0 -18 -11 -32l-85 -121h302q85 0 138.5 -38t53.5 -110t-54.5 -111t-138.5 -39h-107l-130 -339q-7 -22 -20.5 -41.5t-28.5 -19.5h-341 q-7 0 -90 81t-83 94zM408 289l100 -89h293l131 339q6 21 19.5 41t28.5 20h203q16 0 25 15t9 36q0 20 -9 34.5t-25 14.5h-457h-6.5h-7.5t-6.5 0.5t-6 1t-5 1.5t-5.5 2.5t-4 4t-4 5.5q-5 12 -5 20q0 14 10 27l147 183l-86 83l-339 -236v-503z" />
+<glyph unicode="&#xe128;" d="M-101 651q0 72 54 110t139 37h302l-85 121q-11 16 -11 32q0 21 14 34l109 113q13 12 29 12q11 0 25 -6l365 -230q7 -4 16.5 -10.5t26 -26t16.5 -36.5v-526q0 -13 -85.5 -93.5t-93.5 -80.5h-342q-15 0 -28.5 20t-19.5 41l-131 339h-106q-84 0 -139 39t-55 111zM-1 601h222 q15 0 28.5 -20.5t19.5 -40.5l131 -339h293l106 89v502l-342 237l-87 -83l145 -184q10 -11 10 -26q0 -11 -5 -20q-1 -3 -3.5 -5.5l-4 -4t-5 -2.5t-5.5 -1.5t-6.5 -1t-6.5 -0.5h-7.5h-6.5h-476v-100zM999 201v600h200v-600h-200z" />
+<glyph unicode="&#xe129;" d="M97 719l230 -363q4 -6 10.5 -15.5t26 -25t36.5 -15.5h525q13 0 94 83t81 90v342q0 15 -20 28.5t-41 19.5l-339 131v106q0 84 -39 139t-111 55t-110 -53.5t-38 -138.5v-302l-121 84q-15 12 -33.5 11.5t-32.5 -13.5l-112 -110q-22 -22 -6 -53zM172 739l83 86l183 -146 q22 -18 47 -5q3 1 5.5 3.5l4 4t2.5 5t1.5 5.5t1 6.5t0.5 6v7.5v7v456q0 22 25 31t50 -0.5t25 -30.5v-202q0 -16 20 -29.5t41 -19.5l339 -130v-294l-89 -100h-503zM400 0v200h600v-200h-600z" />
+<glyph unicode="&#xe130;" d="M1 585q-15 -31 7 -53l112 -110q13 -13 32 -13.5t34 10.5l121 85l-1 -302q0 -84 38.5 -138t110.5 -54t111 55t39 139v106l339 131q20 6 40.5 19.5t20.5 28.5v342q0 7 -81 90t-94 83h-525q-17 0 -35.5 -14t-28.5 -28l-10 -15zM76 565l237 339h503l89 -100v-294l-340 -130 q-20 -6 -40 -20t-20 -29v-202q0 -22 -25 -31t-50 0t-25 31v456v14.5t-1.5 11.5t-5 12t-9.5 7q-24 13 -46 -5l-184 -146zM305 1104v200h600v-200h-600z" />
+<glyph unicode="&#xe131;" d="M5 597q0 122 47.5 232.5t127.5 190.5t190.5 127.5t232.5 47.5q162 0 299.5 -80t217.5 -218t80 -300t-80 -299.5t-217.5 -217.5t-299.5 -80t-300 80t-218 217.5t-80 299.5zM300 500h300l-2 -194l402 294l-402 298v-197h-298v-201z" />
+<glyph unicode="&#xe132;" d="M0 597q0 122 47.5 232.5t127.5 190.5t190.5 127.5t231.5 47.5q122 0 232.5 -47.5t190.5 -127.5t127.5 -190.5t47.5 -232.5q0 -162 -80 -299.5t-218 -217.5t-300 -80t-299.5 80t-217.5 217.5t-80 299.5zM200 600l400 -294v194h302v201h-300v197z" />
+<glyph unicode="&#xe133;" d="M5 597q0 122 47.5 232.5t127.5 190.5t190.5 127.5t232.5 47.5q121 0 231.5 -47.5t190.5 -127.5t127.5 -190.5t47.5 -232.5q0 -162 -80 -299.5t-217.5 -217.5t-299.5 -80t-300 80t-218 217.5t-80 299.5zM300 600h200v-300h200v300h200l-300 400z" />
+<glyph unicode="&#xe134;" d="M5 597q0 122 47.5 232.5t127.5 190.5t190.5 127.5t232.5 47.5q121 0 231.5 -47.5t190.5 -127.5t127.5 -190.5t47.5 -232.5q0 -162 -80 -299.5t-217.5 -217.5t-299.5 -80t-300 80t-218 217.5t-80 299.5zM300 600l300 -400l300 400h-200v300h-200v-300h-200z" />
+<glyph unicode="&#xe135;" d="M5 597q0 122 47.5 232.5t127.5 190.5t190.5 127.5t232.5 47.5q121 0 231.5 -47.5t190.5 -127.5t127.5 -190.5t47.5 -232.5q0 -162 -80 -299.5t-217.5 -217.5t-299.5 -80t-300 80t-218 217.5t-80 299.5zM254 780q-8 -34 5.5 -93t7.5 -87q0 -9 17 -44t16 -60q12 0 23 -5.5 t23 -15t20 -13.5q20 -10 108 -42q22 -8 53 -31.5t59.5 -38.5t57.5 -11q8 -18 -15 -55.5t-20 -57.5q12 -21 22.5 -34.5t28 -27t36.5 -17.5q0 -6 -3 -15.5t-3.5 -14.5t4.5 -17q101 -2 221 111q31 30 47 48t34 49t21 62q-14 9 -37.5 9.5t-35.5 7.5q-14 7 -49 15t-52 19 q-9 0 -39.5 -0.5t-46.5 -1.5t-39 -6.5t-39 -16.5q-50 -35 -66 -12q-4 2 -3.5 25.5t0.5 25.5q-6 13 -26.5 17t-24.5 7q2 22 -2 41t-16.5 28t-38.5 -20q-23 -25 -42 4q-19 28 -8 58q8 16 22 22q6 -1 26 -1.5t33.5 -4.5t19.5 -13q12 -19 32 -37.5t34 -27.5l14 -8q0 3 9.5 39.5 t5.5 57.5q-4 23 14.5 44.5t22.5 31.5q5 14 10 35t8.5 31t15.5 22.5t34 21.5q-6 18 10 37q8 0 23.5 -1.5t24.5 -1.5t20.5 4.5t20.5 15.5q-10 23 -30.5 42.5t-38 30t-49 26.5t-43.5 23q11 41 1 44q31 -13 58.5 -14.5t39.5 3.5l11 4q6 36 -17 53.5t-64 28.5t-56 23 q-19 -3 -37 0q-15 -12 -36.5 -21t-34.5 -12t-44 -8t-39 -6q-15 -3 -46 0t-45 -3q-20 -6 -51.5 -25.5t-34.5 -34.5q-3 -11 6.5 -22.5t8.5 -18.5q-3 -34 -27.5 -91t-29.5 -79zM518 915q3 12 16 30.5t16 25.5q10 -10 18.5 -10t14 6t14.5 14.5t16 12.5q0 -18 8 -42.5t16.5 -44 t9.5 -23.5q-6 1 -39 5t-53.5 10t-36.5 16z" />
+<glyph unicode="&#xe136;" d="M0 164.5q0 21.5 15 37.5l600 599q-33 101 6 201.5t135 154.5q164 92 306 -9l-259 -138l145 -232l251 126q13 -175 -151 -267q-123 -70 -253 -23l-596 -596q-15 -16 -36.5 -16t-36.5 16l-111 110q-15 15 -15 36.5z" />
+<glyph unicode="&#xe137;" horiz-adv-x="1220" d="M0 196v100q0 41 29.5 70.5t70.5 29.5h1000q41 0 70.5 -29.5t29.5 -70.5v-100q0 -41 -29.5 -70.5t-70.5 -29.5h-1000q-41 0 -70.5 29.5t-29.5 70.5zM0 596v100q0 41 29.5 70.5t70.5 29.5h1000q41 0 70.5 -29.5t29.5 -70.5v-100q0 -41 -29.5 -70.5t-70.5 -29.5h-1000 q-41 0 -70.5 29.5t-29.5 70.5zM0 996v100q0 41 29.5 70.5t70.5 29.5h1000q41 0 70.5 -29.5t29.5 -70.5v-100q0 -41 -29.5 -70.5t-70.5 -29.5h-1000q-41 0 -70.5 29.5t-29.5 70.5zM600 596h500v100h-500v-100zM800 196h300v100h-300v-100zM900 996h200v100h-200v-100z" />
+<glyph unicode="&#xe138;" d="M100 1100v100h1000v-100h-1000zM150 1000h900l-350 -500v-300l-200 -200v500z" />
+<glyph unicode="&#xe139;" d="M0 200v200h1200v-200q0 -41 -29.5 -70.5t-70.5 -29.5h-1000q-41 0 -70.5 29.5t-29.5 70.5zM0 500v400q0 41 29.5 70.5t70.5 29.5h300v100q0 41 29.5 70.5t70.5 29.5h200q41 0 70.5 -29.5t29.5 -70.5v-100h300q41 0 70.5 -29.5t29.5 -70.5v-400h-500v100h-200v-100h-500z M500 1000h200v100h-200v-100z" />
+<glyph unicode="&#xe140;" d="M0 0v400l129 -129l200 200l142 -142l-200 -200l129 -129h-400zM0 800l129 129l200 -200l142 142l-200 200l129 129h-400v-400zM729 329l142 142l200 -200l129 129v-400h-400l129 129zM729 871l200 200l-129 129h400v-400l-129 129l-200 -200z" />
+<glyph unicode="&#xe141;" d="M0 596q0 162 80 299t217 217t299 80t299 -80t217 -217t80 -299t-80 -299t-217 -217t-299 -80t-299 80t-217 217t-80 299zM182 596q0 -172 121.5 -293t292.5 -121t292.5 121t121.5 293q0 171 -121.5 292.5t-292.5 121.5t-292.5 -121.5t-121.5 -292.5zM291 655 q0 23 15.5 38.5t38.5 15.5t39 -16t16 -38q0 -23 -16 -39t-39 -16q-22 0 -38 16t-16 39zM400 850q0 22 16 38.5t39 16.5q22 0 38 -16t16 -39t-16 -39t-38 -16q-23 0 -39 16.5t-16 38.5zM513 609q0 32 21 56.5t52 29.5l122 126l1 1q-9 14 -9 28q0 22 16 38.5t39 16.5 q22 0 38 -16t16 -39t-16 -39t-38 -16q-16 0 -29 10l-55 -145q17 -22 17 -51q0 -36 -25.5 -61.5t-61.5 -25.5q-37 0 -62.5 25.5t-25.5 61.5zM800 655q0 22 16 38t39 16t38.5 -15.5t15.5 -38.5t-16 -39t-38 -16q-23 0 -39 16t-16 39z" />
+<glyph unicode="&#xe142;" d="M-40 375q-13 -95 35 -173q35 -57 94 -89t129 -32q63 0 119 28q33 16 65 40.5t52.5 45.5t59.5 64q40 44 57 61l394 394q35 35 47 84t-3 96q-27 87 -117 104q-20 2 -29 2q-46 0 -79.5 -17t-67.5 -51l-388 -396l-7 -7l69 -67l377 373q20 22 39 38q23 23 50 23q38 0 53 -36 q16 -39 -20 -75l-547 -547q-52 -52 -125 -52q-55 0 -100 33t-54 96q-5 35 2.5 66t31.5 63t42 50t56 54q24 21 44 41l348 348q52 52 82.5 79.5t84 54t107.5 26.5q25 0 48 -4q95 -17 154 -94.5t51 -175.5q-7 -101 -98 -192l-252 -249l-253 -256l7 -7l69 -60l517 511 q67 67 95 157t11 183q-16 87 -67 154t-130 103q-69 33 -152 33q-107 0 -197 -55q-40 -24 -111 -95l-512 -512q-68 -68 -81 -163z" />
+<glyph unicode="&#xe143;" d="M79 784q0 131 99 229.5t230 98.5q144 0 242 -129q103 129 245 129q130 0 227 -98.5t97 -229.5q0 -46 -17.5 -91t-61 -99t-77 -89.5t-104.5 -105.5q-197 -191 -293 -322l-17 -23l-16 23q-43 58 -100 122.5t-92 99.5t-101 100l-84.5 84.5t-68 74t-60 78t-33.5 70.5t-15 78z M250 784q0 -27 30.5 -70t61.5 -75.5t95 -94.5l22 -22q93 -90 190 -201q82 92 195 203l12 12q64 62 97.5 97t64.5 79t31 72q0 71 -48 119.5t-106 48.5q-73 0 -131 -83l-118 -171l-114 174q-51 80 -124 80q-59 0 -108.5 -49.5t-49.5 -118.5z" />
+<glyph unicode="&#xe144;" d="M57 353q0 -94 66 -160l141 -141q66 -66 159 -66q95 0 159 66l283 283q66 66 66 159t-66 159l-141 141q-12 12 -19 17l-105 -105l212 -212l-389 -389l-247 248l95 95l-18 18q-46 45 -75 101l-55 -55q-66 -66 -66 -159zM269 706q0 -93 66 -159l141 -141l19 -17l105 105 l-212 212l389 389l247 -247l-95 -96l18 -18q46 -46 77 -99l29 29q35 35 62.5 88t27.5 96q0 93 -66 159l-141 141q-66 66 -159 66q-95 0 -159 -66l-283 -283q-66 -64 -66 -159z" />
+<glyph unicode="&#xe145;" d="M200 100v953q0 21 30 46t81 48t129 38t163 15t162 -15t127 -38t79 -48t29 -46v-953q0 -41 -29.5 -70.5t-70.5 -29.5h-600q-41 0 -70.5 29.5t-29.5 70.5zM300 300h600v700h-600v-700zM496 150q0 -43 30.5 -73.5t73.5 -30.5t73.5 30.5t30.5 73.5t-30.5 73.5t-73.5 30.5 t-73.5 -30.5t-30.5 -73.5z" />
+<glyph unicode="&#xe146;" d="M0 0l303 380l207 208l-210 212h300l267 279l-35 36q-15 14 -15 35t15 35q14 15 35 15t35 -15l283 -282q15 -15 15 -36t-15 -35q-14 -15 -35 -15t-35 15l-36 35l-279 -267v-300l-212 210l-208 -207z" />
+<glyph unicode="&#xe148;" d="M295 433h139q5 -77 48.5 -126.5t117.5 -64.5v335l-27 7q-46 14 -79 26.5t-72 36t-62.5 52t-40 72.5t-16.5 99q0 92 44 159.5t109 101t144 40.5v78h100v-79q38 -4 72.5 -13.5t75.5 -31.5t71 -53.5t51.5 -84t24.5 -118.5h-159q-8 72 -35 109.5t-101 50.5v-307l64 -14 q34 -7 64 -16.5t70 -31.5t67.5 -52t47.5 -80.5t20 -112.5q0 -139 -89 -224t-244 -96v-77h-100v78q-152 17 -237 104q-40 40 -52.5 93.5t-15.5 139.5zM466 889q0 -29 8 -51t16.5 -34t29.5 -22.5t31 -13.5t38 -10q7 -2 11 -3v274q-61 -8 -97.5 -37.5t-36.5 -102.5zM700 237 q170 18 170 151q0 64 -44 99.5t-126 60.5v-311z" />
+<glyph unicode="&#xe149;" d="M100 600v100h166q-24 49 -44 104q-10 26 -14.5 55.5t-3 72.5t25 90t68.5 87q97 88 263 88q129 0 230 -89t101 -208h-153q0 52 -34 89.5t-74 51.5t-76 14q-37 0 -79 -14.5t-62 -35.5q-41 -44 -41 -101q0 -11 2.5 -24.5t5.5 -24t9.5 -26.5t10.5 -25t14 -27.5t14 -25.5 t15.5 -27t13.5 -24h242v-100h-197q8 -50 -2.5 -115t-31.5 -94q-41 -59 -99 -113q35 11 84 18t70 7q32 1 102 -16t104 -17q76 0 136 30l50 -147q-41 -25 -80.5 -36.5t-59 -13t-61.5 -1.5q-23 0 -128 33t-155 29q-39 -4 -82 -17t-66 -25l-24 -11l-55 145l16.5 11t15.5 10 t13.5 9.5t14.5 12t14.5 14t17.5 18.5q48 55 54 126.5t-30 142.5h-221z" />
+<glyph unicode="&#xe150;" d="M2 300l298 -300l298 300h-198v900h-200v-900h-198zM602 900l298 300l298 -300h-198v-900h-200v900h-198z" />
+<glyph unicode="&#xe151;" d="M2 300h198v900h200v-900h198l-298 -300zM700 0v200h100v-100h200v-100h-300zM700 400v100h300v-200h-99v-100h-100v100h99v100h-200zM700 700v500h300v-500h-100v100h-100v-100h-100zM801 900h100v200h-100v-200z" />
+<glyph unicode="&#xe152;" d="M2 300h198v900h200v-900h198l-298 -300zM700 0v500h300v-500h-100v100h-100v-100h-100zM700 700v200h100v-100h200v-100h-300zM700 1100v100h300v-200h-99v-100h-100v100h99v100h-200zM801 200h100v200h-100v-200z" />
+<glyph unicode="&#xe153;" d="M2 300l298 -300l298 300h-198v900h-200v-900h-198zM800 100v400h300v-500h-100v100h-200zM800 1100v100h200v-500h-100v400h-100zM901 200h100v200h-100v-200z" />
+<glyph unicode="&#xe154;" d="M2 300l298 -300l298 300h-198v900h-200v-900h-198zM800 400v100h200v-500h-100v400h-100zM800 800v400h300v-500h-100v100h-200zM901 900h100v200h-100v-200z" />
+<glyph unicode="&#xe155;" d="M2 300l298 -300l298 300h-198v900h-200v-900h-198zM700 100v200h500v-200h-500zM700 400v200h400v-200h-400zM700 700v200h300v-200h-300zM700 1000v200h200v-200h-200z" />
+<glyph unicode="&#xe156;" d="M2 300l298 -300l298 300h-198v900h-200v-900h-198zM700 100v200h200v-200h-200zM700 400v200h300v-200h-300zM700 700v200h400v-200h-400zM700 1000v200h500v-200h-500z" />
+<glyph unicode="&#xe157;" d="M0 400v300q0 165 117.5 282.5t282.5 117.5h300q162 0 281 -118.5t119 -281.5v-300q0 -165 -118.5 -282.5t-281.5 -117.5h-300q-165 0 -282.5 117.5t-117.5 282.5zM200 300q0 -41 29.5 -70.5t70.5 -29.5h500q41 0 70.5 29.5t29.5 70.5v500q0 41 -29.5 70.5t-70.5 29.5 h-500q-41 0 -70.5 -29.5t-29.5 -70.5v-500z" />
+<glyph unicode="&#xe158;" d="M0 400v300q0 163 119 281.5t281 118.5h300q165 0 282.5 -117.5t117.5 -282.5v-300q0 -165 -117.5 -282.5t-282.5 -117.5h-300q-163 0 -281.5 117.5t-118.5 282.5zM200 300q0 -41 29.5 -70.5t70.5 -29.5h500q41 0 70.5 29.5t29.5 70.5v500q0 41 -29.5 70.5t-70.5 29.5 h-500q-41 0 -70.5 -29.5t-29.5 -70.5v-500zM400 300l333 250l-333 250v-500z" />
+<glyph unicode="&#xe159;" d="M0 400v300q0 163 117.5 281.5t282.5 118.5h300q163 0 281.5 -119t118.5 -281v-300q0 -165 -117.5 -282.5t-282.5 -117.5h-300q-165 0 -282.5 117.5t-117.5 282.5zM200 300q0 -41 29.5 -70.5t70.5 -29.5h500q41 0 70.5 29.5t29.5 70.5v500q0 41 -29.5 70.5t-70.5 29.5 h-500q-41 0 -70.5 -29.5t-29.5 -70.5v-500zM300 700l250 -333l250 333h-500z" />
+<glyph unicode="&#xe160;" d="M0 400v300q0 165 117.5 282.5t282.5 117.5h300q165 0 282.5 -117.5t117.5 -282.5v-300q0 -162 -118.5 -281t-281.5 -119h-300q-165 0 -282.5 118.5t-117.5 281.5zM200 300q0 -41 29.5 -70.5t70.5 -29.5h500q41 0 70.5 29.5t29.5 70.5v500q0 41 -29.5 70.5t-70.5 29.5 h-500q-41 0 -70.5 -29.5t-29.5 -70.5v-500zM300 400h500l-250 333z" />
+<glyph unicode="&#xe161;" d="M0 400v300h300v200l400 -350l-400 -350v200h-300zM500 0v200h500q41 0 70.5 29.5t29.5 70.5v500q0 41 -29.5 70.5t-70.5 29.5h-500v200h400q165 0 282.5 -117.5t117.5 -282.5v-300q0 -165 -117.5 -282.5t-282.5 -117.5h-400z" />
+<glyph unicode="&#xe162;" d="M216 519q10 -19 32 -19h302q-155 -438 -160 -458q-5 -21 4 -32l9 -8l9 -1q13 0 26 16l538 630q15 19 6 36q-8 18 -32 16h-300q1 4 78 219.5t79 227.5q2 17 -6 27l-8 8h-9q-16 0 -25 -15q-4 -5 -98.5 -111.5t-228 -257t-209.5 -238.5q-17 -19 -7 -40z" />
+<glyph unicode="&#xe163;" d="M0 400q0 -165 117.5 -282.5t282.5 -117.5h300q47 0 100 15v185h-500q-41 0 -70.5 29.5t-29.5 70.5v500q0 41 29.5 70.5t70.5 29.5h500v185q-14 4 -114 7.5t-193 5.5l-93 2q-165 0 -282.5 -117.5t-117.5 -282.5v-300zM600 400v300h300v200l400 -350l-400 -350v200h-300z " />
+<glyph unicode="&#xe164;" d="M0 400q0 -165 117.5 -282.5t282.5 -117.5h300q163 0 281.5 117.5t118.5 282.5v98l-78 73l-122 -123v-148q0 -41 -29.5 -70.5t-70.5 -29.5h-500q-41 0 -70.5 29.5t-29.5 70.5v500q0 41 29.5 70.5t70.5 29.5h156l118 122l-74 78h-100q-165 0 -282.5 -117.5t-117.5 -282.5 v-300zM496 709l353 342l-149 149h500v-500l-149 149l-342 -353z" />
+<glyph unicode="&#xe165;" d="M4 600q0 162 80 299t217 217t299 80t299 -80t217 -217t80 -299t-80 -299t-217 -217t-299 -80t-299 80t-217 217t-80 299zM186 600q0 -171 121.5 -292.5t292.5 -121.5t292.5 121.5t121.5 292.5t-121.5 292.5t-292.5 121.5t-292.5 -121.5t-121.5 -292.5zM406 600 q0 80 57 137t137 57t137 -57t57 -137t-57 -137t-137 -57t-137 57t-57 137z" />
+<glyph unicode="&#xe166;" d="M0 0v275q0 11 7 18t18 7h1048q11 0 19 -7.5t8 -17.5v-275h-1100zM100 800l445 -500l450 500h-295v400h-300v-400h-300zM900 150h100v50h-100v-50z" />
+<glyph unicode="&#xe167;" d="M0 0v275q0 11 7 18t18 7h1048q11 0 19 -7.5t8 -17.5v-275h-1100zM100 700h300v-300h300v300h295l-445 500zM900 150h100v50h-100v-50z" />
+<glyph unicode="&#xe168;" d="M0 0v275q0 11 7 18t18 7h1048q11 0 19 -7.5t8 -17.5v-275h-1100zM100 705l305 -305l596 596l-154 155l-442 -442l-150 151zM900 150h100v50h-100v-50z" />
+<glyph unicode="&#xe169;" d="M0 0v275q0 11 7 18t18 7h1048q11 0 19 -7.5t8 -17.5v-275h-1100zM100 988l97 -98l212 213l-97 97zM200 401h700v699l-250 -239l-149 149l-212 -212l149 -149zM900 150h100v50h-100v-50z" />
+<glyph unicode="&#xe170;" d="M0 0v275q0 11 7 18t18 7h1048q11 0 19 -7.5t8 -17.5v-275h-1100zM200 612l212 -212l98 97l-213 212zM300 1200l239 -250l-149 -149l212 -212l149 148l248 -237v700h-699zM900 150h100v50h-100v-50z" />
+<glyph unicode="&#xe171;" d="M23 415l1177 784v-1079l-475 272l-310 -393v416h-392zM494 210l672 938l-672 -712v-226z" />
+<glyph unicode="&#xe172;" d="M0 150v1000q0 20 14.5 35t35.5 15h250v-300h500v300h100l200 -200v-850q0 -21 -15 -35.5t-35 -14.5h-150v400h-700v-400h-150q-21 0 -35.5 14.5t-14.5 35.5zM600 1000h100v200h-100v-200z" />
+<glyph unicode="&#xe173;" d="M0 150v1000q0 20 14.5 35t35.5 15h250v-300h500v300h100l200 -200v-218l-276 -275l-120 120l-126 -127h-378v-400h-150q-21 0 -35.5 14.5t-14.5 35.5zM581 306l123 123l120 -120l353 352l123 -123l-475 -476zM600 1000h100v200h-100v-200z" />
+<glyph unicode="&#xe174;" d="M0 150v1000q0 20 14.5 35t35.5 15h250v-300h500v300h100l200 -200v-269l-103 -103l-170 170l-298 -298h-329v-400h-150q-21 0 -35.5 14.5t-14.5 35.5zM600 1000h100v200h-100v-200zM700 133l170 170l-170 170l127 127l170 -170l170 170l127 -128l-170 -169l170 -170 l-127 -127l-170 170l-170 -170z" />
+<glyph unicode="&#xe175;" d="M0 150v1000q0 20 14.5 35t35.5 15h250v-300h500v300h100l200 -200v-300h-400v-200h-500v-400h-150q-21 0 -35.5 14.5t-14.5 35.5zM600 300l300 -300l300 300h-200v300h-200v-300h-200zM600 1000v200h100v-200h-100z" />
+<glyph unicode="&#xe176;" d="M0 150v1000q0 20 14.5 35t35.5 15h250v-300h500v300h100l200 -200v-402l-200 200l-298 -298h-402v-400h-150q-21 0 -35.5 14.5t-14.5 35.5zM600 300h200v-300h200v300h200l-300 300zM600 1000v200h100v-200h-100z" />
+<glyph unicode="&#xe177;" d="M0 250q0 -21 14.5 -35.5t35.5 -14.5h1100q21 0 35.5 14.5t14.5 35.5v550h-1200v-550zM0 900h1200v150q0 21 -14.5 35.5t-35.5 14.5h-1100q-21 0 -35.5 -14.5t-14.5 -35.5v-150zM100 300v200h400v-200h-400z" />
+<glyph unicode="&#xe178;" d="M0 400l300 298v-198h400v-200h-400v-198zM100 800v200h100v-200h-100zM300 800v200h100v-200h-100zM500 800v200h400v198l300 -298l-300 -298v198h-400zM800 300v200h100v-200h-100zM1000 300h100v200h-100v-200z" />
+<glyph unicode="&#xe179;" d="M100 700v400l50 100l50 -100v-300h100v300l50 100l50 -100v-300h100v300l50 100l50 -100v-400l-100 -203v-447q0 -21 -14.5 -35.5t-35.5 -14.5h-200q-21 0 -35.5 14.5t-14.5 35.5v447zM800 597q0 -29 10.5 -55.5t25 -43t29 -28.5t25.5 -18l10 -5v-397q0 -21 14.5 -35.5 t35.5 -14.5h200q21 0 35.5 14.5t14.5 35.5v1106q0 31 -18 40.5t-44 -7.5l-276 -117q-25 -16 -43.5 -50.5t-18.5 -65.5v-359z" />
+<glyph unicode="&#xe180;" d="M100 0h400v56q-75 0 -87.5 6t-12.5 44v394h500v-394q0 -38 -12.5 -44t-87.5 -6v-56h400v56q-4 0 -11 0.5t-24 3t-30 7t-24 15t-11 24.5v888q0 22 25 34.5t50 13.5l25 2v56h-400v-56q75 0 87.5 -6t12.5 -44v-394h-500v394q0 38 12.5 44t87.5 6v56h-400v-56q4 0 11 -0.5 t24 -3t30 -7t24 -15t11 -24.5v-888q0 -22 -25 -34.5t-50 -13.5l-25 -2v-56z" />
+<glyph unicode="&#xe181;" d="M0 300q0 -41 29.5 -70.5t70.5 -29.5h300q41 0 70.5 29.5t29.5 70.5v500q0 41 -29.5 70.5t-70.5 29.5h-300q-41 0 -70.5 -29.5t-29.5 -70.5v-500zM100 100h400l200 200h105l295 98v-298h-425l-100 -100h-375zM100 300v200h300v-200h-300zM100 600v200h300v-200h-300z M100 1000h400l200 -200v-98l295 98h105v200h-425l-100 100h-375zM700 402v163l400 133v-163z" />
+<glyph unicode="&#xe182;" d="M16.5 974.5q0.5 -21.5 16 -90t46.5 -140t104 -177.5t175 -208q103 -103 207.5 -176t180 -103.5t137 -47t92.5 -16.5l31 1l163 162q16 17 13 40.5t-22 37.5l-192 136q-19 14 -45 12t-42 -19l-119 -118q-143 103 -267 227q-126 126 -227 268l118 118q17 17 20 41.5 t-11 44.5l-139 194q-14 19 -36.5 22t-40.5 -14l-162 -162q-1 -11 -0.5 -32.5z" />
+<glyph unicode="&#xe183;" d="M0 50v212q0 20 10.5 45.5t24.5 39.5l365 303v50q0 4 1 10.5t12 22.5t30 28.5t60 23t97 10.5t97 -10t60 -23.5t30 -27.5t12 -24l1 -10v-50l365 -303q14 -14 24.5 -39.5t10.5 -45.5v-212q0 -21 -15 -35.5t-35 -14.5h-1100q-21 0 -35.5 14.5t-14.5 35.5zM0 712 q0 -21 14.5 -33.5t34.5 -8.5l202 33q20 4 34.5 21t14.5 38v146q141 24 300 24t300 -24v-146q0 -21 14.5 -38t34.5 -21l202 -33q20 -4 34.5 8.5t14.5 33.5v200q-6 8 -19 20.5t-63 45t-112 57t-171 45t-235 20.5q-92 0 -175 -10.5t-141.5 -27t-108.5 -36.5t-81.5 -40 t-53.5 -36.5t-31 -27.5l-9 -10v-200z" />
+<glyph unicode="&#xe184;" d="M100 0v100h1100v-100h-1100zM175 200h950l-125 150v250l100 100v400h-100v-200h-100v200h-200v-200h-100v200h-200v-200h-100v200h-100v-400l100 -100v-250z" />
+<glyph unicode="&#xe185;" d="M100 0h300v400q0 41 -29.5 70.5t-70.5 29.5h-100q-41 0 -70.5 -29.5t-29.5 -70.5v-400zM500 0v1000q0 41 29.5 70.5t70.5 29.5h100q41 0 70.5 -29.5t29.5 -70.5v-1000h-300zM900 0v700q0 41 29.5 70.5t70.5 29.5h100q41 0 70.5 -29.5t29.5 -70.5v-700h-300z" />
+<glyph unicode="&#xe186;" d="M-100 300v500q0 124 88 212t212 88h700q124 0 212 -88t88 -212v-500q0 -124 -88 -212t-212 -88h-700q-124 0 -212 88t-88 212zM100 200h900v700h-900v-700zM200 300h300v300h-200v100h200v100h-300v-300h200v-100h-200v-100zM600 300h200v100h100v300h-100v100h-200v-500 zM700 400v300h100v-300h-100z" />
+<glyph unicode="&#xe187;" d="M-100 300v500q0 124 88 212t212 88h700q124 0 212 -88t88 -212v-500q0 -124 -88 -212t-212 -88h-700q-124 0 -212 88t-88 212zM100 200h900v700h-900v-700zM200 300h100v200h100v-200h100v500h-100v-200h-100v200h-100v-500zM600 300h200v100h100v300h-100v100h-200v-500 zM700 400v300h100v-300h-100z" />
+<glyph unicode="&#xe188;" d="M-100 300v500q0 124 88 212t212 88h700q124 0 212 -88t88 -212v-500q0 -124 -88 -212t-212 -88h-700q-124 0 -212 88t-88 212zM100 200h900v700h-900v-700zM200 300h300v100h-200v300h200v100h-300v-500zM600 300h300v100h-200v300h200v100h-300v-500z" />
+<glyph unicode="&#xe189;" d="M-100 300v500q0 124 88 212t212 88h700q124 0 212 -88t88 -212v-500q0 -124 -88 -212t-212 -88h-700q-124 0 -212 88t-88 212zM100 200h900v700h-900v-700zM200 550l300 -150v300zM600 400l300 150l-300 150v-300z" />
+<glyph unicode="&#xe190;" d="M-100 300v500q0 124 88 212t212 88h700q124 0 212 -88t88 -212v-500q0 -124 -88 -212t-212 -88h-700q-124 0 -212 88t-88 212zM100 200h900v700h-900v-700zM200 300v500h700v-500h-700zM300 400h130q41 0 68 42t27 107t-28.5 108t-66.5 43h-130v-300zM575 549 q0 -65 27 -107t68 -42h130v300h-130q-38 0 -66.5 -43t-28.5 -108z" />
+<glyph unicode="&#xe191;" d="M-100 300v500q0 124 88 212t212 88h700q124 0 212 -88t88 -212v-500q0 -124 -88 -212t-212 -88h-700q-124 0 -212 88t-88 212zM100 200h900v700h-900v-700zM200 300h300v300h-200v100h200v100h-300v-300h200v-100h-200v-100zM601 300h100v100h-100v-100zM700 700h100 v-400h100v500h-200v-100z" />
+<glyph unicode="&#xe192;" d="M-100 300v500q0 124 88 212t212 88h700q124 0 212 -88t88 -212v-500q0 -124 -88 -212t-212 -88h-700q-124 0 -212 88t-88 212zM100 200h900v700h-900v-700zM200 300h300v400h-200v100h-100v-500zM301 400v200h100v-200h-100zM601 300h100v100h-100v-100zM700 700h100 v-400h100v500h-200v-100z" />
+<glyph unicode="&#xe193;" d="M-100 300v500q0 124 88 212t212 88h700q124 0 212 -88t88 -212v-500q0 -124 -88 -212t-212 -88h-700q-124 0 -212 88t-88 212zM100 200h900v700h-900v-700zM200 700v100h300v-300h-99v-100h-100v100h99v200h-200zM201 300v100h100v-100h-100zM601 300v100h100v-100h-100z M700 700v100h200v-500h-100v400h-100z" />
+<glyph unicode="&#xe194;" d="M4 600q0 162 80 299t217 217t299 80t299 -80t217 -217t80 -299t-80 -299t-217 -217t-299 -80t-299 80t-217 217t-80 299zM186 600q0 -171 121.5 -292.5t292.5 -121.5t292.5 121.5t121.5 292.5t-121.5 292.5t-292.5 121.5t-292.5 -121.5t-121.5 -292.5zM400 500v200 l100 100h300v-100h-300v-200h300v-100h-300z" />
+<glyph unicode="&#xe195;" d="M0 600q0 162 80 299t217 217t299 80t299 -80t217 -217t80 -299t-80 -299t-217 -217t-299 -80t-299 80t-217 217t-80 299zM182 600q0 -171 121.5 -292.5t292.5 -121.5t292.5 121.5t121.5 292.5t-121.5 292.5t-292.5 121.5t-292.5 -121.5t-121.5 -292.5zM400 400v400h300 l100 -100v-100h-100v100h-200v-100h200v-100h-200v-100h-100zM700 400v100h100v-100h-100z" />
+<glyph unicode="&#xe197;" d="M-14 494q0 -80 56.5 -137t135.5 -57h222v300h400v-300h128q120 0 205 86t85 208q0 120 -85 206.5t-205 86.5q-46 0 -90 -14q-44 97 -134.5 156.5t-200.5 59.5q-152 0 -260 -107.5t-108 -260.5q0 -25 2 -37q-66 -14 -108.5 -67.5t-42.5 -122.5zM300 200h200v300h200v-300 h200l-300 -300z" />
+<glyph unicode="&#xe198;" d="M-14 494q0 -80 56.5 -137t135.5 -57h8l414 414l403 -403q94 26 154.5 104t60.5 178q0 121 -85 207.5t-205 86.5q-46 0 -90 -14q-44 97 -134.5 156.5t-200.5 59.5q-152 0 -260 -107.5t-108 -260.5q0 -25 2 -37q-66 -14 -108.5 -67.5t-42.5 -122.5zM300 200l300 300 l300 -300h-200v-300h-200v300h-200z" />
+<glyph unicode="&#xe199;" d="M100 200h400v-155l-75 -45h350l-75 45v155h400l-270 300h170l-270 300h170l-300 333l-300 -333h170l-270 -300h170z" />
+<glyph unicode="&#xe200;" d="M121 700q0 -53 28.5 -97t75.5 -65q-4 -16 -4 -38q0 -74 52.5 -126.5t126.5 -52.5q56 0 100 30v-306l-75 -45h350l-75 45v306q46 -30 100 -30q74 0 126.5 52.5t52.5 126.5q0 24 -9 55q50 32 79.5 83t29.5 112q0 90 -61.5 155.5t-150.5 71.5q-26 89 -99.5 145.5 t-167.5 56.5q-116 0 -197.5 -81.5t-81.5 -197.5q0 -4 1 -12t1 -11q-14 2 -23 2q-74 0 -126.5 -52.5t-52.5 -126.5z" />
+</font>
+</defs></svg> \ No newline at end of file
diff --git a/tools/build/website/bootstrap/fonts/glyphicons-halflings-regular.ttf b/tools/build/website/bootstrap/fonts/glyphicons-halflings-regular.ttf
new file mode 100644
index 0000000000..a498ef4e7c
--- /dev/null
+++ b/tools/build/website/bootstrap/fonts/glyphicons-halflings-regular.ttf
Binary files differ
diff --git a/tools/build/website/bootstrap/fonts/glyphicons-halflings-regular.woff b/tools/build/website/bootstrap/fonts/glyphicons-halflings-regular.woff
new file mode 100644
index 0000000000..d83c539b82
--- /dev/null
+++ b/tools/build/website/bootstrap/fonts/glyphicons-halflings-regular.woff
Binary files differ
diff --git a/tools/build/website/bootstrap/js/bootstrap.js b/tools/build/website/bootstrap/js/bootstrap.js
new file mode 100644
index 0000000000..850e6e53b4
--- /dev/null
+++ b/tools/build/website/bootstrap/js/bootstrap.js
@@ -0,0 +1,2006 @@
+/*!
+ * Bootstrap v3.0.3 (http://getbootstrap.com)
+ * Copyright 2013 Twitter, Inc.
+ * Licensed under http://www.apache.org/licenses/LICENSE-2.0
+ */
+
+if (typeof jQuery === "undefined") { throw new Error("Bootstrap requires jQuery") }
+
+/* ========================================================================
+ * Bootstrap: transition.js v3.0.3
+ * http://getbootstrap.com/javascript/#transitions
+ * ========================================================================
+ * Copyright 2013 Twitter, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ * ======================================================================== */
+
+
++function ($) { "use strict";
+
+ // CSS TRANSITION SUPPORT (Shoutout: http://www.modernizr.com/)
+ // ============================================================
+
+ function transitionEnd() {
+ var el = document.createElement('bootstrap')
+
+ var transEndEventNames = {
+ 'WebkitTransition' : 'webkitTransitionEnd'
+ , 'MozTransition' : 'transitionend'
+ , 'OTransition' : 'oTransitionEnd otransitionend'
+ , 'transition' : 'transitionend'
+ }
+
+ for (var name in transEndEventNames) {
+ if (el.style[name] !== undefined) {
+ return { end: transEndEventNames[name] }
+ }
+ }
+ }
+
+ // http://blog.alexmaccaw.com/css-transitions
+ $.fn.emulateTransitionEnd = function (duration) {
+ var called = false, $el = this
+ $(this).one($.support.transition.end, function () { called = true })
+ var callback = function () { if (!called) $($el).trigger($.support.transition.end) }
+ setTimeout(callback, duration)
+ return this
+ }
+
+ $(function () {
+ $.support.transition = transitionEnd()
+ })
+
+}(jQuery);
+
+/* ========================================================================
+ * Bootstrap: alert.js v3.0.3
+ * http://getbootstrap.com/javascript/#alerts
+ * ========================================================================
+ * Copyright 2013 Twitter, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ * ======================================================================== */
+
+
++function ($) { "use strict";
+
+ // ALERT CLASS DEFINITION
+ // ======================
+
+ var dismiss = '[data-dismiss="alert"]'
+ var Alert = function (el) {
+ $(el).on('click', dismiss, this.close)
+ }
+
+ Alert.prototype.close = function (e) {
+ var $this = $(this)
+ var selector = $this.attr('data-target')
+
+ if (!selector) {
+ selector = $this.attr('href')
+ selector = selector && selector.replace(/.*(?=#[^\s]*$)/, '') // strip for ie7
+ }
+
+ var $parent = $(selector)
+
+ if (e) e.preventDefault()
+
+ if (!$parent.length) {
+ $parent = $this.hasClass('alert') ? $this : $this.parent()
+ }
+
+ $parent.trigger(e = $.Event('close.bs.alert'))
+
+ if (e.isDefaultPrevented()) return
+
+ $parent.removeClass('in')
+
+ function removeElement() {
+ $parent.trigger('closed.bs.alert').remove()
+ }
+
+ $.support.transition && $parent.hasClass('fade') ?
+ $parent
+ .one($.support.transition.end, removeElement)
+ .emulateTransitionEnd(150) :
+ removeElement()
+ }
+
+
+ // ALERT PLUGIN DEFINITION
+ // =======================
+
+ var old = $.fn.alert
+
+ $.fn.alert = function (option) {
+ return this.each(function () {
+ var $this = $(this)
+ var data = $this.data('bs.alert')
+
+ if (!data) $this.data('bs.alert', (data = new Alert(this)))
+ if (typeof option == 'string') data[option].call($this)
+ })
+ }
+
+ $.fn.alert.Constructor = Alert
+
+
+ // ALERT NO CONFLICT
+ // =================
+
+ $.fn.alert.noConflict = function () {
+ $.fn.alert = old
+ return this
+ }
+
+
+ // ALERT DATA-API
+ // ==============
+
+ $(document).on('click.bs.alert.data-api', dismiss, Alert.prototype.close)
+
+}(jQuery);
+
+/* ========================================================================
+ * Bootstrap: button.js v3.0.3
+ * http://getbootstrap.com/javascript/#buttons
+ * ========================================================================
+ * Copyright 2013 Twitter, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ * ======================================================================== */
+
+
++function ($) { "use strict";
+
+ // BUTTON PUBLIC CLASS DEFINITION
+ // ==============================
+
+ var Button = function (element, options) {
+ this.$element = $(element)
+ this.options = $.extend({}, Button.DEFAULTS, options)
+ }
+
+ Button.DEFAULTS = {
+ loadingText: 'loading...'
+ }
+
+ Button.prototype.setState = function (state) {
+ var d = 'disabled'
+ var $el = this.$element
+ var val = $el.is('input') ? 'val' : 'html'
+ var data = $el.data()
+
+ state = state + 'Text'
+
+ if (!data.resetText) $el.data('resetText', $el[val]())
+
+ $el[val](data[state] || this.options[state])
+
+ // push to event loop to allow forms to submit
+ setTimeout(function () {
+ state == 'loadingText' ?
+ $el.addClass(d).attr(d, d) :
+ $el.removeClass(d).removeAttr(d);
+ }, 0)
+ }
+
+ Button.prototype.toggle = function () {
+ var $parent = this.$element.closest('[data-toggle="buttons"]')
+ var changed = true
+
+ if ($parent.length) {
+ var $input = this.$element.find('input')
+ if ($input.prop('type') === 'radio') {
+ // see if clicking on current one
+ if ($input.prop('checked') && this.$element.hasClass('active'))
+ changed = false
+ else
+ $parent.find('.active').removeClass('active')
+ }
+ if (changed) $input.prop('checked', !this.$element.hasClass('active')).trigger('change')
+ }
+
+ if (changed) this.$element.toggleClass('active')
+ }
+
+
+ // BUTTON PLUGIN DEFINITION
+ // ========================
+
+ var old = $.fn.button
+
+ $.fn.button = function (option) {
+ return this.each(function () {
+ var $this = $(this)
+ var data = $this.data('bs.button')
+ var options = typeof option == 'object' && option
+
+ if (!data) $this.data('bs.button', (data = new Button(this, options)))
+
+ if (option == 'toggle') data.toggle()
+ else if (option) data.setState(option)
+ })
+ }
+
+ $.fn.button.Constructor = Button
+
+
+ // BUTTON NO CONFLICT
+ // ==================
+
+ $.fn.button.noConflict = function () {
+ $.fn.button = old
+ return this
+ }
+
+
+ // BUTTON DATA-API
+ // ===============
+
+ $(document).on('click.bs.button.data-api', '[data-toggle^=button]', function (e) {
+ var $btn = $(e.target)
+ if (!$btn.hasClass('btn')) $btn = $btn.closest('.btn')
+ $btn.button('toggle')
+ e.preventDefault()
+ })
+
+}(jQuery);
+
+/* ========================================================================
+ * Bootstrap: carousel.js v3.0.3
+ * http://getbootstrap.com/javascript/#carousel
+ * ========================================================================
+ * Copyright 2013 Twitter, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ * ======================================================================== */
+
+
++function ($) { "use strict";
+
+ // CAROUSEL CLASS DEFINITION
+ // =========================
+
+ var Carousel = function (element, options) {
+ this.$element = $(element)
+ this.$indicators = this.$element.find('.carousel-indicators')
+ this.options = options
+ this.paused =
+ this.sliding =
+ this.interval =
+ this.$active =
+ this.$items = null
+
+ this.options.pause == 'hover' && this.$element
+ .on('mouseenter', $.proxy(this.pause, this))
+ .on('mouseleave', $.proxy(this.cycle, this))
+ }
+
+ Carousel.DEFAULTS = {
+ interval: 5000
+ , pause: 'hover'
+ , wrap: true
+ }
+
+ Carousel.prototype.cycle = function (e) {
+ e || (this.paused = false)
+
+ this.interval && clearInterval(this.interval)
+
+ this.options.interval
+ && !this.paused
+ && (this.interval = setInterval($.proxy(this.next, this), this.options.interval))
+
+ return this
+ }
+
+ Carousel.prototype.getActiveIndex = function () {
+ this.$active = this.$element.find('.item.active')
+ this.$items = this.$active.parent().children()
+
+ return this.$items.index(this.$active)
+ }
+
+ Carousel.prototype.to = function (pos) {
+ var that = this
+ var activeIndex = this.getActiveIndex()
+
+ if (pos > (this.$items.length - 1) || pos < 0) return
+
+ if (this.sliding) return this.$element.one('slid.bs.carousel', function () { that.to(pos) })
+ if (activeIndex == pos) return this.pause().cycle()
+
+ return this.slide(pos > activeIndex ? 'next' : 'prev', $(this.$items[pos]))
+ }
+
+ Carousel.prototype.pause = function (e) {
+ e || (this.paused = true)
+
+ if (this.$element.find('.next, .prev').length && $.support.transition.end) {
+ this.$element.trigger($.support.transition.end)
+ this.cycle(true)
+ }
+
+ this.interval = clearInterval(this.interval)
+
+ return this
+ }
+
+ Carousel.prototype.next = function () {
+ if (this.sliding) return
+ return this.slide('next')
+ }
+
+ Carousel.prototype.prev = function () {
+ if (this.sliding) return
+ return this.slide('prev')
+ }
+
+ Carousel.prototype.slide = function (type, next) {
+ var $active = this.$element.find('.item.active')
+ var $next = next || $active[type]()
+ var isCycling = this.interval
+ var direction = type == 'next' ? 'left' : 'right'
+ var fallback = type == 'next' ? 'first' : 'last'
+ var that = this
+
+ if (!$next.length) {
+ if (!this.options.wrap) return
+ $next = this.$element.find('.item')[fallback]()
+ }
+
+ this.sliding = true
+
+ isCycling && this.pause()
+
+ var e = $.Event('slide.bs.carousel', { relatedTarget: $next[0], direction: direction })
+
+ if ($next.hasClass('active')) return
+
+ if (this.$indicators.length) {
+ this.$indicators.find('.active').removeClass('active')
+ this.$element.one('slid.bs.carousel', function () {
+ var $nextIndicator = $(that.$indicators.children()[that.getActiveIndex()])
+ $nextIndicator && $nextIndicator.addClass('active')
+ })
+ }
+
+ if ($.support.transition && this.$element.hasClass('slide')) {
+ this.$element.trigger(e)
+ if (e.isDefaultPrevented()) return
+ $next.addClass(type)
+ $next[0].offsetWidth // force reflow
+ $active.addClass(direction)
+ $next.addClass(direction)
+ $active
+ .one($.support.transition.end, function () {
+ $next.removeClass([type, direction].join(' ')).addClass('active')
+ $active.removeClass(['active', direction].join(' '))
+ that.sliding = false
+ setTimeout(function () { that.$element.trigger('slid.bs.carousel') }, 0)
+ })
+ .emulateTransitionEnd(600)
+ } else {
+ this.$element.trigger(e)
+ if (e.isDefaultPrevented()) return
+ $active.removeClass('active')
+ $next.addClass('active')
+ this.sliding = false
+ this.$element.trigger('slid.bs.carousel')
+ }
+
+ isCycling && this.cycle()
+
+ return this
+ }
+
+
+ // CAROUSEL PLUGIN DEFINITION
+ // ==========================
+
+ var old = $.fn.carousel
+
+ $.fn.carousel = function (option) {
+ return this.each(function () {
+ var $this = $(this)
+ var data = $this.data('bs.carousel')
+ var options = $.extend({}, Carousel.DEFAULTS, $this.data(), typeof option == 'object' && option)
+ var action = typeof option == 'string' ? option : options.slide
+
+ if (!data) $this.data('bs.carousel', (data = new Carousel(this, options)))
+ if (typeof option == 'number') data.to(option)
+ else if (action) data[action]()
+ else if (options.interval) data.pause().cycle()
+ })
+ }
+
+ $.fn.carousel.Constructor = Carousel
+
+
+ // CAROUSEL NO CONFLICT
+ // ====================
+
+ $.fn.carousel.noConflict = function () {
+ $.fn.carousel = old
+ return this
+ }
+
+
+ // CAROUSEL DATA-API
+ // =================
+
+ $(document).on('click.bs.carousel.data-api', '[data-slide], [data-slide-to]', function (e) {
+ var $this = $(this), href
+ var $target = $($this.attr('data-target') || (href = $this.attr('href')) && href.replace(/.*(?=#[^\s]+$)/, '')) //strip for ie7
+ var options = $.extend({}, $target.data(), $this.data())
+ var slideIndex = $this.attr('data-slide-to')
+ if (slideIndex) options.interval = false
+
+ $target.carousel(options)
+
+ if (slideIndex = $this.attr('data-slide-to')) {
+ $target.data('bs.carousel').to(slideIndex)
+ }
+
+ e.preventDefault()
+ })
+
+ $(window).on('load', function () {
+ $('[data-ride="carousel"]').each(function () {
+ var $carousel = $(this)
+ $carousel.carousel($carousel.data())
+ })
+ })
+
+}(jQuery);
+
+/* ========================================================================
+ * Bootstrap: collapse.js v3.0.3
+ * http://getbootstrap.com/javascript/#collapse
+ * ========================================================================
+ * Copyright 2013 Twitter, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ * ======================================================================== */
+
+
++function ($) { "use strict";
+
+ // COLLAPSE PUBLIC CLASS DEFINITION
+ // ================================
+
+ var Collapse = function (element, options) {
+ this.$element = $(element)
+ this.options = $.extend({}, Collapse.DEFAULTS, options)
+ this.transitioning = null
+
+ if (this.options.parent) this.$parent = $(this.options.parent)
+ if (this.options.toggle) this.toggle()
+ }
+
+ Collapse.DEFAULTS = {
+ toggle: true
+ }
+
+ Collapse.prototype.dimension = function () {
+ var hasWidth = this.$element.hasClass('width')
+ return hasWidth ? 'width' : 'height'
+ }
+
+ Collapse.prototype.show = function () {
+ if (this.transitioning || this.$element.hasClass('in')) return
+
+ var startEvent = $.Event('show.bs.collapse')
+ this.$element.trigger(startEvent)
+ if (startEvent.isDefaultPrevented()) return
+
+ var actives = this.$parent && this.$parent.find('> .panel > .in')
+
+ if (actives && actives.length) {
+ var hasData = actives.data('bs.collapse')
+ if (hasData && hasData.transitioning) return
+ actives.collapse('hide')
+ hasData || actives.data('bs.collapse', null)
+ }
+
+ var dimension = this.dimension()
+
+ this.$element
+ .removeClass('collapse')
+ .addClass('collapsing')
+ [dimension](0)
+
+ this.transitioning = 1
+
+ var complete = function () {
+ this.$element
+ .removeClass('collapsing')
+ .addClass('in')
+ [dimension]('auto')
+ this.transitioning = 0
+ this.$element.trigger('shown.bs.collapse')
+ }
+
+ if (!$.support.transition) return complete.call(this)
+
+ var scrollSize = $.camelCase(['scroll', dimension].join('-'))
+
+ this.$element
+ .one($.support.transition.end, $.proxy(complete, this))
+ .emulateTransitionEnd(350)
+ [dimension](this.$element[0][scrollSize])
+ }
+
+ Collapse.prototype.hide = function () {
+ if (this.transitioning || !this.$element.hasClass('in')) return
+
+ var startEvent = $.Event('hide.bs.collapse')
+ this.$element.trigger(startEvent)
+ if (startEvent.isDefaultPrevented()) return
+
+ var dimension = this.dimension()
+
+ this.$element
+ [dimension](this.$element[dimension]())
+ [0].offsetHeight
+
+ this.$element
+ .addClass('collapsing')
+ .removeClass('collapse')
+ .removeClass('in')
+
+ this.transitioning = 1
+
+ var complete = function () {
+ this.transitioning = 0
+ this.$element
+ .trigger('hidden.bs.collapse')
+ .removeClass('collapsing')
+ .addClass('collapse')
+ }
+
+ if (!$.support.transition) return complete.call(this)
+
+ this.$element
+ [dimension](0)
+ .one($.support.transition.end, $.proxy(complete, this))
+ .emulateTransitionEnd(350)
+ }
+
+ Collapse.prototype.toggle = function () {
+ this[this.$element.hasClass('in') ? 'hide' : 'show']()
+ }
+
+
+ // COLLAPSE PLUGIN DEFINITION
+ // ==========================
+
+ var old = $.fn.collapse
+
+ $.fn.collapse = function (option) {
+ return this.each(function () {
+ var $this = $(this)
+ var data = $this.data('bs.collapse')
+ var options = $.extend({}, Collapse.DEFAULTS, $this.data(), typeof option == 'object' && option)
+
+ if (!data) $this.data('bs.collapse', (data = new Collapse(this, options)))
+ if (typeof option == 'string') data[option]()
+ })
+ }
+
+ $.fn.collapse.Constructor = Collapse
+
+
+ // COLLAPSE NO CONFLICT
+ // ====================
+
+ $.fn.collapse.noConflict = function () {
+ $.fn.collapse = old
+ return this
+ }
+
+
+ // COLLAPSE DATA-API
+ // =================
+
+ $(document).on('click.bs.collapse.data-api', '[data-toggle=collapse]', function (e) {
+ var $this = $(this), href
+ var target = $this.attr('data-target')
+ || e.preventDefault()
+ || (href = $this.attr('href')) && href.replace(/.*(?=#[^\s]+$)/, '') //strip for ie7
+ var $target = $(target)
+ var data = $target.data('bs.collapse')
+ var option = data ? 'toggle' : $this.data()
+ var parent = $this.attr('data-parent')
+ var $parent = parent && $(parent)
+
+ if (!data || !data.transitioning) {
+ if ($parent) $parent.find('[data-toggle=collapse][data-parent="' + parent + '"]').not($this).addClass('collapsed')
+ $this[$target.hasClass('in') ? 'addClass' : 'removeClass']('collapsed')
+ }
+
+ $target.collapse(option)
+ })
+
+}(jQuery);
+
+/* ========================================================================
+ * Bootstrap: dropdown.js v3.0.3
+ * http://getbootstrap.com/javascript/#dropdowns
+ * ========================================================================
+ * Copyright 2013 Twitter, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ * ======================================================================== */
+
+
++function ($) { "use strict";
+
+ // DROPDOWN CLASS DEFINITION
+ // =========================
+
+ var backdrop = '.dropdown-backdrop'
+ var toggle = '[data-toggle=dropdown]'
+ var Dropdown = function (element) {
+ $(element).on('click.bs.dropdown', this.toggle)
+ }
+
+ Dropdown.prototype.toggle = function (e) {
+ var $this = $(this)
+
+ if ($this.is('.disabled, :disabled')) return
+
+ var $parent = getParent($this)
+ var isActive = $parent.hasClass('open')
+
+ clearMenus()
+
+ if (!isActive) {
+ if ('ontouchstart' in document.documentElement && !$parent.closest('.navbar-nav').length) {
+ // if mobile we use a backdrop because click events don't delegate
+ $('<div class="dropdown-backdrop"/>').insertAfter($(this)).on('click', clearMenus)
+ }
+
+ $parent.trigger(e = $.Event('show.bs.dropdown'))
+
+ if (e.isDefaultPrevented()) return
+
+ $parent
+ .toggleClass('open')
+ .trigger('shown.bs.dropdown')
+
+ $this.focus()
+ }
+
+ return false
+ }
+
+ Dropdown.prototype.keydown = function (e) {
+ if (!/(38|40|27)/.test(e.keyCode)) return
+
+ var $this = $(this)
+
+ e.preventDefault()
+ e.stopPropagation()
+
+ if ($this.is('.disabled, :disabled')) return
+
+ var $parent = getParent($this)
+ var isActive = $parent.hasClass('open')
+
+ if (!isActive || (isActive && e.keyCode == 27)) {
+ if (e.which == 27) $parent.find(toggle).focus()
+ return $this.click()
+ }
+
+ var $items = $('[role=menu] li:not(.divider):visible a', $parent)
+
+ if (!$items.length) return
+
+ var index = $items.index($items.filter(':focus'))
+
+ if (e.keyCode == 38 && index > 0) index-- // up
+ if (e.keyCode == 40 && index < $items.length - 1) index++ // down
+ if (!~index) index=0
+
+ $items.eq(index).focus()
+ }
+
+ function clearMenus() {
+ $(backdrop).remove()
+ $(toggle).each(function (e) {
+ var $parent = getParent($(this))
+ if (!$parent.hasClass('open')) return
+ $parent.trigger(e = $.Event('hide.bs.dropdown'))
+ if (e.isDefaultPrevented()) return
+ $parent.removeClass('open').trigger('hidden.bs.dropdown')
+ })
+ }
+
+ function getParent($this) {
+ var selector = $this.attr('data-target')
+
+ if (!selector) {
+ selector = $this.attr('href')
+ selector = selector && /#/.test(selector) && selector.replace(/.*(?=#[^\s]*$)/, '') //strip for ie7
+ }
+
+ var $parent = selector && $(selector)
+
+ return $parent && $parent.length ? $parent : $this.parent()
+ }
+
+
+ // DROPDOWN PLUGIN DEFINITION
+ // ==========================
+
+ var old = $.fn.dropdown
+
+ $.fn.dropdown = function (option) {
+ return this.each(function () {
+ var $this = $(this)
+ var data = $this.data('bs.dropdown')
+
+ if (!data) $this.data('bs.dropdown', (data = new Dropdown(this)))
+ if (typeof option == 'string') data[option].call($this)
+ })
+ }
+
+ $.fn.dropdown.Constructor = Dropdown
+
+
+ // DROPDOWN NO CONFLICT
+ // ====================
+
+ $.fn.dropdown.noConflict = function () {
+ $.fn.dropdown = old
+ return this
+ }
+
+
+ // APPLY TO STANDARD DROPDOWN ELEMENTS
+ // ===================================
+
+ $(document)
+ .on('click.bs.dropdown.data-api', clearMenus)
+ .on('click.bs.dropdown.data-api', '.dropdown form', function (e) { e.stopPropagation() })
+ .on('click.bs.dropdown.data-api' , toggle, Dropdown.prototype.toggle)
+ .on('keydown.bs.dropdown.data-api', toggle + ', [role=menu]' , Dropdown.prototype.keydown)
+
+}(jQuery);
+
+/* ========================================================================
+ * Bootstrap: modal.js v3.0.3
+ * http://getbootstrap.com/javascript/#modals
+ * ========================================================================
+ * Copyright 2013 Twitter, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ * ======================================================================== */
+
+
++function ($) { "use strict";
+
+ // MODAL CLASS DEFINITION
+ // ======================
+
+ var Modal = function (element, options) {
+ this.options = options
+ this.$element = $(element)
+ this.$backdrop =
+ this.isShown = null
+
+ if (this.options.remote) this.$element.load(this.options.remote)
+ }
+
+ Modal.DEFAULTS = {
+ backdrop: true
+ , keyboard: true
+ , show: true
+ }
+
+ Modal.prototype.toggle = function (_relatedTarget) {
+ return this[!this.isShown ? 'show' : 'hide'](_relatedTarget)
+ }
+
+ Modal.prototype.show = function (_relatedTarget) {
+ var that = this
+ var e = $.Event('show.bs.modal', { relatedTarget: _relatedTarget })
+
+ this.$element.trigger(e)
+
+ if (this.isShown || e.isDefaultPrevented()) return
+
+ this.isShown = true
+
+ this.escape()
+
+ this.$element.on('click.dismiss.modal', '[data-dismiss="modal"]', $.proxy(this.hide, this))
+
+ this.backdrop(function () {
+ var transition = $.support.transition && that.$element.hasClass('fade')
+
+ if (!that.$element.parent().length) {
+ that.$element.appendTo(document.body) // don't move modals dom position
+ }
+
+ that.$element.show()
+
+ if (transition) {
+ that.$element[0].offsetWidth // force reflow
+ }
+
+ that.$element
+ .addClass('in')
+ .attr('aria-hidden', false)
+
+ that.enforceFocus()
+
+ var e = $.Event('shown.bs.modal', { relatedTarget: _relatedTarget })
+
+ transition ?
+ that.$element.find('.modal-dialog') // wait for modal to slide in
+ .one($.support.transition.end, function () {
+ that.$element.focus().trigger(e)
+ })
+ .emulateTransitionEnd(300) :
+ that.$element.focus().trigger(e)
+ })
+ }
+
+ Modal.prototype.hide = function (e) {
+ if (e) e.preventDefault()
+
+ e = $.Event('hide.bs.modal')
+
+ this.$element.trigger(e)
+
+ if (!this.isShown || e.isDefaultPrevented()) return
+
+ this.isShown = false
+
+ this.escape()
+
+ $(document).off('focusin.bs.modal')
+
+ this.$element
+ .removeClass('in')
+ .attr('aria-hidden', true)
+ .off('click.dismiss.modal')
+
+ $.support.transition && this.$element.hasClass('fade') ?
+ this.$element
+ .one($.support.transition.end, $.proxy(this.hideModal, this))
+ .emulateTransitionEnd(300) :
+ this.hideModal()
+ }
+
+ Modal.prototype.enforceFocus = function () {
+ $(document)
+ .off('focusin.bs.modal') // guard against infinite focus loop
+ .on('focusin.bs.modal', $.proxy(function (e) {
+ if (this.$element[0] !== e.target && !this.$element.has(e.target).length) {
+ this.$element.focus()
+ }
+ }, this))
+ }
+
+ Modal.prototype.escape = function () {
+ if (this.isShown && this.options.keyboard) {
+ this.$element.on('keyup.dismiss.bs.modal', $.proxy(function (e) {
+ e.which == 27 && this.hide()
+ }, this))
+ } else if (!this.isShown) {
+ this.$element.off('keyup.dismiss.bs.modal')
+ }
+ }
+
+ Modal.prototype.hideModal = function () {
+ var that = this
+ this.$element.hide()
+ this.backdrop(function () {
+ that.removeBackdrop()
+ that.$element.trigger('hidden.bs.modal')
+ })
+ }
+
+ Modal.prototype.removeBackdrop = function () {
+ this.$backdrop && this.$backdrop.remove()
+ this.$backdrop = null
+ }
+
+ Modal.prototype.backdrop = function (callback) {
+ var that = this
+ var animate = this.$element.hasClass('fade') ? 'fade' : ''
+
+ if (this.isShown && this.options.backdrop) {
+ var doAnimate = $.support.transition && animate
+
+ this.$backdrop = $('<div class="modal-backdrop ' + animate + '" />')
+ .appendTo(document.body)
+
+ this.$element.on('click.dismiss.modal', $.proxy(function (e) {
+ if (e.target !== e.currentTarget) return
+ this.options.backdrop == 'static'
+ ? this.$element[0].focus.call(this.$element[0])
+ : this.hide.call(this)
+ }, this))
+
+ if (doAnimate) this.$backdrop[0].offsetWidth // force reflow
+
+ this.$backdrop.addClass('in')
+
+ if (!callback) return
+
+ doAnimate ?
+ this.$backdrop
+ .one($.support.transition.end, callback)
+ .emulateTransitionEnd(150) :
+ callback()
+
+ } else if (!this.isShown && this.$backdrop) {
+ this.$backdrop.removeClass('in')
+
+ $.support.transition && this.$element.hasClass('fade')?
+ this.$backdrop
+ .one($.support.transition.end, callback)
+ .emulateTransitionEnd(150) :
+ callback()
+
+ } else if (callback) {
+ callback()
+ }
+ }
+
+
+ // MODAL PLUGIN DEFINITION
+ // =======================
+
+ var old = $.fn.modal
+
+ $.fn.modal = function (option, _relatedTarget) {
+ return this.each(function () {
+ var $this = $(this)
+ var data = $this.data('bs.modal')
+ var options = $.extend({}, Modal.DEFAULTS, $this.data(), typeof option == 'object' && option)
+
+ if (!data) $this.data('bs.modal', (data = new Modal(this, options)))
+ if (typeof option == 'string') data[option](_relatedTarget)
+ else if (options.show) data.show(_relatedTarget)
+ })
+ }
+
+ $.fn.modal.Constructor = Modal
+
+
+ // MODAL NO CONFLICT
+ // =================
+
+ $.fn.modal.noConflict = function () {
+ $.fn.modal = old
+ return this
+ }
+
+
+ // MODAL DATA-API
+ // ==============
+
+ $(document).on('click.bs.modal.data-api', '[data-toggle="modal"]', function (e) {
+ var $this = $(this)
+ var href = $this.attr('href')
+ var $target = $($this.attr('data-target') || (href && href.replace(/.*(?=#[^\s]+$)/, ''))) //strip for ie7
+ var option = $target.data('modal') ? 'toggle' : $.extend({ remote: !/#/.test(href) && href }, $target.data(), $this.data())
+
+ e.preventDefault()
+
+ $target
+ .modal(option, this)
+ .one('hide', function () {
+ $this.is(':visible') && $this.focus()
+ })
+ })
+
+ $(document)
+ .on('show.bs.modal', '.modal', function () { $(document.body).addClass('modal-open') })
+ .on('hidden.bs.modal', '.modal', function () { $(document.body).removeClass('modal-open') })
+
+}(jQuery);
+
+/* ========================================================================
+ * Bootstrap: tooltip.js v3.0.3
+ * http://getbootstrap.com/javascript/#tooltip
+ * Inspired by the original jQuery.tipsy by Jason Frame
+ * ========================================================================
+ * Copyright 2013 Twitter, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ * ======================================================================== */
+
+
++function ($) { "use strict";
+
+ // TOOLTIP PUBLIC CLASS DEFINITION
+ // ===============================
+
+ var Tooltip = function (element, options) {
+ this.type =
+ this.options =
+ this.enabled =
+ this.timeout =
+ this.hoverState =
+ this.$element = null
+
+ this.init('tooltip', element, options)
+ }
+
+ Tooltip.DEFAULTS = {
+ animation: true
+ , placement: 'top'
+ , selector: false
+ , template: '<div class="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>'
+ , trigger: 'hover focus'
+ , title: ''
+ , delay: 0
+ , html: false
+ , container: false
+ }
+
+ Tooltip.prototype.init = function (type, element, options) {
+ this.enabled = true
+ this.type = type
+ this.$element = $(element)
+ this.options = this.getOptions(options)
+
+ var triggers = this.options.trigger.split(' ')
+
+ for (var i = triggers.length; i--;) {
+ var trigger = triggers[i]
+
+ if (trigger == 'click') {
+ this.$element.on('click.' + this.type, this.options.selector, $.proxy(this.toggle, this))
+ } else if (trigger != 'manual') {
+ var eventIn = trigger == 'hover' ? 'mouseenter' : 'focus'
+ var eventOut = trigger == 'hover' ? 'mouseleave' : 'blur'
+
+ this.$element.on(eventIn + '.' + this.type, this.options.selector, $.proxy(this.enter, this))
+ this.$element.on(eventOut + '.' + this.type, this.options.selector, $.proxy(this.leave, this))
+ }
+ }
+
+ this.options.selector ?
+ (this._options = $.extend({}, this.options, { trigger: 'manual', selector: '' })) :
+ this.fixTitle()
+ }
+
+ Tooltip.prototype.getDefaults = function () {
+ return Tooltip.DEFAULTS
+ }
+
+ Tooltip.prototype.getOptions = function (options) {
+ options = $.extend({}, this.getDefaults(), this.$element.data(), options)
+
+ if (options.delay && typeof options.delay == 'number') {
+ options.delay = {
+ show: options.delay
+ , hide: options.delay
+ }
+ }
+
+ return options
+ }
+
+ Tooltip.prototype.getDelegateOptions = function () {
+ var options = {}
+ var defaults = this.getDefaults()
+
+ this._options && $.each(this._options, function (key, value) {
+ if (defaults[key] != value) options[key] = value
+ })
+
+ return options
+ }
+
+ Tooltip.prototype.enter = function (obj) {
+ var self = obj instanceof this.constructor ?
+ obj : $(obj.currentTarget)[this.type](this.getDelegateOptions()).data('bs.' + this.type)
+
+ clearTimeout(self.timeout)
+
+ self.hoverState = 'in'
+
+ if (!self.options.delay || !self.options.delay.show) return self.show()
+
+ self.timeout = setTimeout(function () {
+ if (self.hoverState == 'in') self.show()
+ }, self.options.delay.show)
+ }
+
+ Tooltip.prototype.leave = function (obj) {
+ var self = obj instanceof this.constructor ?
+ obj : $(obj.currentTarget)[this.type](this.getDelegateOptions()).data('bs.' + this.type)
+
+ clearTimeout(self.timeout)
+
+ self.hoverState = 'out'
+
+ if (!self.options.delay || !self.options.delay.hide) return self.hide()
+
+ self.timeout = setTimeout(function () {
+ if (self.hoverState == 'out') self.hide()
+ }, self.options.delay.hide)
+ }
+
+ Tooltip.prototype.show = function () {
+ var e = $.Event('show.bs.'+ this.type)
+
+ if (this.hasContent() && this.enabled) {
+ this.$element.trigger(e)
+
+ if (e.isDefaultPrevented()) return
+
+ var $tip = this.tip()
+
+ this.setContent()
+
+ if (this.options.animation) $tip.addClass('fade')
+
+ var placement = typeof this.options.placement == 'function' ?
+ this.options.placement.call(this, $tip[0], this.$element[0]) :
+ this.options.placement
+
+ var autoToken = /\s?auto?\s?/i
+ var autoPlace = autoToken.test(placement)
+ if (autoPlace) placement = placement.replace(autoToken, '') || 'top'
+
+ $tip
+ .detach()
+ .css({ top: 0, left: 0, display: 'block' })
+ .addClass(placement)
+
+ this.options.container ? $tip.appendTo(this.options.container) : $tip.insertAfter(this.$element)
+
+ var pos = this.getPosition()
+ var actualWidth = $tip[0].offsetWidth
+ var actualHeight = $tip[0].offsetHeight
+
+ if (autoPlace) {
+ var $parent = this.$element.parent()
+
+ var orgPlacement = placement
+ var docScroll = document.documentElement.scrollTop || document.body.scrollTop
+ var parentWidth = this.options.container == 'body' ? window.innerWidth : $parent.outerWidth()
+ var parentHeight = this.options.container == 'body' ? window.innerHeight : $parent.outerHeight()
+ var parentLeft = this.options.container == 'body' ? 0 : $parent.offset().left
+
+ placement = placement == 'bottom' && pos.top + pos.height + actualHeight - docScroll > parentHeight ? 'top' :
+ placement == 'top' && pos.top - docScroll - actualHeight < 0 ? 'bottom' :
+ placement == 'right' && pos.right + actualWidth > parentWidth ? 'left' :
+ placement == 'left' && pos.left - actualWidth < parentLeft ? 'right' :
+ placement
+
+ $tip
+ .removeClass(orgPlacement)
+ .addClass(placement)
+ }
+
+ var calculatedOffset = this.getCalculatedOffset(placement, pos, actualWidth, actualHeight)
+
+ this.applyPlacement(calculatedOffset, placement)
+ this.$element.trigger('shown.bs.' + this.type)
+ }
+ }
+
+ Tooltip.prototype.applyPlacement = function(offset, placement) {
+ var replace
+ var $tip = this.tip()
+ var width = $tip[0].offsetWidth
+ var height = $tip[0].offsetHeight
+
+ // manually read margins because getBoundingClientRect includes difference
+ var marginTop = parseInt($tip.css('margin-top'), 10)
+ var marginLeft = parseInt($tip.css('margin-left'), 10)
+
+ // we must check for NaN for ie 8/9
+ if (isNaN(marginTop)) marginTop = 0
+ if (isNaN(marginLeft)) marginLeft = 0
+
+ offset.top = offset.top + marginTop
+ offset.left = offset.left + marginLeft
+
+ $tip
+ .offset(offset)
+ .addClass('in')
+
+ // check to see if placing tip in new offset caused the tip to resize itself
+ var actualWidth = $tip[0].offsetWidth
+ var actualHeight = $tip[0].offsetHeight
+
+ if (placement == 'top' && actualHeight != height) {
+ replace = true
+ offset.top = offset.top + height - actualHeight
+ }
+
+ if (/bottom|top/.test(placement)) {
+ var delta = 0
+
+ if (offset.left < 0) {
+ delta = offset.left * -2
+ offset.left = 0
+
+ $tip.offset(offset)
+
+ actualWidth = $tip[0].offsetWidth
+ actualHeight = $tip[0].offsetHeight
+ }
+
+ this.replaceArrow(delta - width + actualWidth, actualWidth, 'left')
+ } else {
+ this.replaceArrow(actualHeight - height, actualHeight, 'top')
+ }
+
+ if (replace) $tip.offset(offset)
+ }
+
+ Tooltip.prototype.replaceArrow = function(delta, dimension, position) {
+ this.arrow().css(position, delta ? (50 * (1 - delta / dimension) + "%") : '')
+ }
+
+ Tooltip.prototype.setContent = function () {
+ var $tip = this.tip()
+ var title = this.getTitle()
+
+ $tip.find('.tooltip-inner')[this.options.html ? 'html' : 'text'](title)
+ $tip.removeClass('fade in top bottom left right')
+ }
+
+ Tooltip.prototype.hide = function () {
+ var that = this
+ var $tip = this.tip()
+ var e = $.Event('hide.bs.' + this.type)
+
+ function complete() {
+ if (that.hoverState != 'in') $tip.detach()
+ }
+
+ this.$element.trigger(e)
+
+ if (e.isDefaultPrevented()) return
+
+ $tip.removeClass('in')
+
+ $.support.transition && this.$tip.hasClass('fade') ?
+ $tip
+ .one($.support.transition.end, complete)
+ .emulateTransitionEnd(150) :
+ complete()
+
+ this.$element.trigger('hidden.bs.' + this.type)
+
+ return this
+ }
+
+ Tooltip.prototype.fixTitle = function () {
+ var $e = this.$element
+ if ($e.attr('title') || typeof($e.attr('data-original-title')) != 'string') {
+ $e.attr('data-original-title', $e.attr('title') || '').attr('title', '')
+ }
+ }
+
+ Tooltip.prototype.hasContent = function () {
+ return this.getTitle()
+ }
+
+ Tooltip.prototype.getPosition = function () {
+ var el = this.$element[0]
+ return $.extend({}, (typeof el.getBoundingClientRect == 'function') ? el.getBoundingClientRect() : {
+ width: el.offsetWidth
+ , height: el.offsetHeight
+ }, this.$element.offset())
+ }
+
+ Tooltip.prototype.getCalculatedOffset = function (placement, pos, actualWidth, actualHeight) {
+ return placement == 'bottom' ? { top: pos.top + pos.height, left: pos.left + pos.width / 2 - actualWidth / 2 } :
+ placement == 'top' ? { top: pos.top - actualHeight, left: pos.left + pos.width / 2 - actualWidth / 2 } :
+ placement == 'left' ? { top: pos.top + pos.height / 2 - actualHeight / 2, left: pos.left - actualWidth } :
+ /* placement == 'right' */ { top: pos.top + pos.height / 2 - actualHeight / 2, left: pos.left + pos.width }
+ }
+
+ Tooltip.prototype.getTitle = function () {
+ var title
+ var $e = this.$element
+ var o = this.options
+
+ title = $e.attr('data-original-title')
+ || (typeof o.title == 'function' ? o.title.call($e[0]) : o.title)
+
+ return title
+ }
+
+ Tooltip.prototype.tip = function () {
+ return this.$tip = this.$tip || $(this.options.template)
+ }
+
+ Tooltip.prototype.arrow = function () {
+ return this.$arrow = this.$arrow || this.tip().find('.tooltip-arrow')
+ }
+
+ Tooltip.prototype.validate = function () {
+ if (!this.$element[0].parentNode) {
+ this.hide()
+ this.$element = null
+ this.options = null
+ }
+ }
+
+ Tooltip.prototype.enable = function () {
+ this.enabled = true
+ }
+
+ Tooltip.prototype.disable = function () {
+ this.enabled = false
+ }
+
+ Tooltip.prototype.toggleEnabled = function () {
+ this.enabled = !this.enabled
+ }
+
+ Tooltip.prototype.toggle = function (e) {
+ var self = e ? $(e.currentTarget)[this.type](this.getDelegateOptions()).data('bs.' + this.type) : this
+ self.tip().hasClass('in') ? self.leave(self) : self.enter(self)
+ }
+
+ Tooltip.prototype.destroy = function () {
+ this.hide().$element.off('.' + this.type).removeData('bs.' + this.type)
+ }
+
+
+ // TOOLTIP PLUGIN DEFINITION
+ // =========================
+
+ var old = $.fn.tooltip
+
+ $.fn.tooltip = function (option) {
+ return this.each(function () {
+ var $this = $(this)
+ var data = $this.data('bs.tooltip')
+ var options = typeof option == 'object' && option
+
+ if (!data) $this.data('bs.tooltip', (data = new Tooltip(this, options)))
+ if (typeof option == 'string') data[option]()
+ })
+ }
+
+ $.fn.tooltip.Constructor = Tooltip
+
+
+ // TOOLTIP NO CONFLICT
+ // ===================
+
+ $.fn.tooltip.noConflict = function () {
+ $.fn.tooltip = old
+ return this
+ }
+
+}(jQuery);
+
+/* ========================================================================
+ * Bootstrap: popover.js v3.0.3
+ * http://getbootstrap.com/javascript/#popovers
+ * ========================================================================
+ * Copyright 2013 Twitter, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ * ======================================================================== */
+
+
++function ($) { "use strict";
+
+ // POPOVER PUBLIC CLASS DEFINITION
+ // ===============================
+
+ var Popover = function (element, options) {
+ this.init('popover', element, options)
+ }
+
+ if (!$.fn.tooltip) throw new Error('Popover requires tooltip.js')
+
+ Popover.DEFAULTS = $.extend({} , $.fn.tooltip.Constructor.DEFAULTS, {
+ placement: 'right'
+ , trigger: 'click'
+ , content: ''
+ , template: '<div class="popover"><div class="arrow"></div><h3 class="popover-title"></h3><div class="popover-content"></div></div>'
+ })
+
+
+ // NOTE: POPOVER EXTENDS tooltip.js
+ // ================================
+
+ Popover.prototype = $.extend({}, $.fn.tooltip.Constructor.prototype)
+
+ Popover.prototype.constructor = Popover
+
+ Popover.prototype.getDefaults = function () {
+ return Popover.DEFAULTS
+ }
+
+ Popover.prototype.setContent = function () {
+ var $tip = this.tip()
+ var title = this.getTitle()
+ var content = this.getContent()
+
+ $tip.find('.popover-title')[this.options.html ? 'html' : 'text'](title)
+ $tip.find('.popover-content')[this.options.html ? 'html' : 'text'](content)
+
+ $tip.removeClass('fade top bottom left right in')
+
+ // IE8 doesn't accept hiding via the `:empty` pseudo selector, we have to do
+ // this manually by checking the contents.
+ if (!$tip.find('.popover-title').html()) $tip.find('.popover-title').hide()
+ }
+
+ Popover.prototype.hasContent = function () {
+ return this.getTitle() || this.getContent()
+ }
+
+ Popover.prototype.getContent = function () {
+ var $e = this.$element
+ var o = this.options
+
+ return $e.attr('data-content')
+ || (typeof o.content == 'function' ?
+ o.content.call($e[0]) :
+ o.content)
+ }
+
+ Popover.prototype.arrow = function () {
+ return this.$arrow = this.$arrow || this.tip().find('.arrow')
+ }
+
+ Popover.prototype.tip = function () {
+ if (!this.$tip) this.$tip = $(this.options.template)
+ return this.$tip
+ }
+
+
+ // POPOVER PLUGIN DEFINITION
+ // =========================
+
+ var old = $.fn.popover
+
+ $.fn.popover = function (option) {
+ return this.each(function () {
+ var $this = $(this)
+ var data = $this.data('bs.popover')
+ var options = typeof option == 'object' && option
+
+ if (!data) $this.data('bs.popover', (data = new Popover(this, options)))
+ if (typeof option == 'string') data[option]()
+ })
+ }
+
+ $.fn.popover.Constructor = Popover
+
+
+ // POPOVER NO CONFLICT
+ // ===================
+
+ $.fn.popover.noConflict = function () {
+ $.fn.popover = old
+ return this
+ }
+
+}(jQuery);
+
+/* ========================================================================
+ * Bootstrap: scrollspy.js v3.0.3
+ * http://getbootstrap.com/javascript/#scrollspy
+ * ========================================================================
+ * Copyright 2013 Twitter, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ * ======================================================================== */
+
+
++function ($) { "use strict";
+
+ // SCROLLSPY CLASS DEFINITION
+ // ==========================
+
+ function ScrollSpy(element, options) {
+ var href
+ var process = $.proxy(this.process, this)
+
+ this.$element = $(element).is('body') ? $(window) : $(element)
+ this.$body = $('body')
+ this.$scrollElement = this.$element.on('scroll.bs.scroll-spy.data-api', process)
+ this.options = $.extend({}, ScrollSpy.DEFAULTS, options)
+ this.selector = (this.options.target
+ || ((href = $(element).attr('href')) && href.replace(/.*(?=#[^\s]+$)/, '')) //strip for ie7
+ || '') + ' .nav li > a'
+ this.offsets = $([])
+ this.targets = $([])
+ this.activeTarget = null
+
+ this.refresh()
+ this.process()
+ }
+
+ ScrollSpy.DEFAULTS = {
+ offset: 10
+ }
+
+ ScrollSpy.prototype.refresh = function () {
+ var offsetMethod = this.$element[0] == window ? 'offset' : 'position'
+
+ this.offsets = $([])
+ this.targets = $([])
+
+ var self = this
+ var $targets = this.$body
+ .find(this.selector)
+ .map(function () {
+ var $el = $(this)
+ var href = $el.data('target') || $el.attr('href')
+ var $href = /^#\w/.test(href) && $(href)
+
+ return ($href
+ && $href.length
+ && [[ $href[offsetMethod]().top + (!$.isWindow(self.$scrollElement.get(0)) && self.$scrollElement.scrollTop()), href ]]) || null
+ })
+ .sort(function (a, b) { return a[0] - b[0] })
+ .each(function () {
+ self.offsets.push(this[0])
+ self.targets.push(this[1])
+ })
+ }
+
+ ScrollSpy.prototype.process = function () {
+ var scrollTop = this.$scrollElement.scrollTop() + this.options.offset
+ var scrollHeight = this.$scrollElement[0].scrollHeight || this.$body[0].scrollHeight
+ var maxScroll = scrollHeight - this.$scrollElement.height()
+ var offsets = this.offsets
+ var targets = this.targets
+ var activeTarget = this.activeTarget
+ var i
+
+ if (scrollTop >= maxScroll) {
+ return activeTarget != (i = targets.last()[0]) && this.activate(i)
+ }
+
+ for (i = offsets.length; i--;) {
+ activeTarget != targets[i]
+ && scrollTop >= offsets[i]
+ && (!offsets[i + 1] || scrollTop <= offsets[i + 1])
+ && this.activate( targets[i] )
+ }
+ }
+
+ ScrollSpy.prototype.activate = function (target) {
+ this.activeTarget = target
+
+ $(this.selector)
+ .parents('.active')
+ .removeClass('active')
+
+ var selector = this.selector
+ + '[data-target="' + target + '"],'
+ + this.selector + '[href="' + target + '"]'
+
+ var active = $(selector)
+ .parents('li')
+ .addClass('active')
+
+ if (active.parent('.dropdown-menu').length) {
+ active = active
+ .closest('li.dropdown')
+ .addClass('active')
+ }
+
+ active.trigger('activate.bs.scrollspy')
+ }
+
+
+ // SCROLLSPY PLUGIN DEFINITION
+ // ===========================
+
+ var old = $.fn.scrollspy
+
+ $.fn.scrollspy = function (option) {
+ return this.each(function () {
+ var $this = $(this)
+ var data = $this.data('bs.scrollspy')
+ var options = typeof option == 'object' && option
+
+ if (!data) $this.data('bs.scrollspy', (data = new ScrollSpy(this, options)))
+ if (typeof option == 'string') data[option]()
+ })
+ }
+
+ $.fn.scrollspy.Constructor = ScrollSpy
+
+
+ // SCROLLSPY NO CONFLICT
+ // =====================
+
+ $.fn.scrollspy.noConflict = function () {
+ $.fn.scrollspy = old
+ return this
+ }
+
+
+ // SCROLLSPY DATA-API
+ // ==================
+
+ $(window).on('load', function () {
+ $('[data-spy="scroll"]').each(function () {
+ var $spy = $(this)
+ $spy.scrollspy($spy.data())
+ })
+ })
+
+}(jQuery);
+
+/* ========================================================================
+ * Bootstrap: tab.js v3.0.3
+ * http://getbootstrap.com/javascript/#tabs
+ * ========================================================================
+ * Copyright 2013 Twitter, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ * ======================================================================== */
+
+
++function ($) { "use strict";
+
+ // TAB CLASS DEFINITION
+ // ====================
+
+ var Tab = function (element) {
+ this.element = $(element)
+ }
+
+ Tab.prototype.show = function () {
+ var $this = this.element
+ var $ul = $this.closest('ul:not(.dropdown-menu)')
+ var selector = $this.data('target')
+
+ if (!selector) {
+ selector = $this.attr('href')
+ selector = selector && selector.replace(/.*(?=#[^\s]*$)/, '') //strip for ie7
+ }
+
+ if ($this.parent('li').hasClass('active')) return
+
+ var previous = $ul.find('.active:last a')[0]
+ var e = $.Event('show.bs.tab', {
+ relatedTarget: previous
+ })
+
+ $this.trigger(e)
+
+ if (e.isDefaultPrevented()) return
+
+ var $target = $(selector)
+
+ this.activate($this.parent('li'), $ul)
+ this.activate($target, $target.parent(), function () {
+ $this.trigger({
+ type: 'shown.bs.tab'
+ , relatedTarget: previous
+ })
+ })
+ }
+
+ Tab.prototype.activate = function (element, container, callback) {
+ var $active = container.find('> .active')
+ var transition = callback
+ && $.support.transition
+ && $active.hasClass('fade')
+
+ function next() {
+ $active
+ .removeClass('active')
+ .find('> .dropdown-menu > .active')
+ .removeClass('active')
+
+ element.addClass('active')
+
+ if (transition) {
+ element[0].offsetWidth // reflow for transition
+ element.addClass('in')
+ } else {
+ element.removeClass('fade')
+ }
+
+ if (element.parent('.dropdown-menu')) {
+ element.closest('li.dropdown').addClass('active')
+ }
+
+ callback && callback()
+ }
+
+ transition ?
+ $active
+ .one($.support.transition.end, next)
+ .emulateTransitionEnd(150) :
+ next()
+
+ $active.removeClass('in')
+ }
+
+
+ // TAB PLUGIN DEFINITION
+ // =====================
+
+ var old = $.fn.tab
+
+ $.fn.tab = function ( option ) {
+ return this.each(function () {
+ var $this = $(this)
+ var data = $this.data('bs.tab')
+
+ if (!data) $this.data('bs.tab', (data = new Tab(this)))
+ if (typeof option == 'string') data[option]()
+ })
+ }
+
+ $.fn.tab.Constructor = Tab
+
+
+ // TAB NO CONFLICT
+ // ===============
+
+ $.fn.tab.noConflict = function () {
+ $.fn.tab = old
+ return this
+ }
+
+
+ // TAB DATA-API
+ // ============
+
+ $(document).on('click.bs.tab.data-api', '[data-toggle="tab"], [data-toggle="pill"]', function (e) {
+ e.preventDefault()
+ $(this).tab('show')
+ })
+
+}(jQuery);
+
+/* ========================================================================
+ * Bootstrap: affix.js v3.0.3
+ * http://getbootstrap.com/javascript/#affix
+ * ========================================================================
+ * Copyright 2013 Twitter, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ * ======================================================================== */
+
+
++function ($) { "use strict";
+
+ // AFFIX CLASS DEFINITION
+ // ======================
+
+ var Affix = function (element, options) {
+ this.options = $.extend({}, Affix.DEFAULTS, options)
+ this.$window = $(window)
+ .on('scroll.bs.affix.data-api', $.proxy(this.checkPosition, this))
+ .on('click.bs.affix.data-api', $.proxy(this.checkPositionWithEventLoop, this))
+
+ this.$element = $(element)
+ this.affixed =
+ this.unpin = null
+
+ this.checkPosition()
+ }
+
+ Affix.RESET = 'affix affix-top affix-bottom'
+
+ Affix.DEFAULTS = {
+ offset: 0
+ }
+
+ Affix.prototype.checkPositionWithEventLoop = function () {
+ setTimeout($.proxy(this.checkPosition, this), 1)
+ }
+
+ Affix.prototype.checkPosition = function () {
+ if (!this.$element.is(':visible')) return
+
+ var scrollHeight = $(document).height()
+ var scrollTop = this.$window.scrollTop()
+ var position = this.$element.offset()
+ var offset = this.options.offset
+ var offsetTop = offset.top
+ var offsetBottom = offset.bottom
+
+ if (typeof offset != 'object') offsetBottom = offsetTop = offset
+ if (typeof offsetTop == 'function') offsetTop = offset.top()
+ if (typeof offsetBottom == 'function') offsetBottom = offset.bottom()
+
+ var affix = this.unpin != null && (scrollTop + this.unpin <= position.top) ? false :
+ offsetBottom != null && (position.top + this.$element.height() >= scrollHeight - offsetBottom) ? 'bottom' :
+ offsetTop != null && (scrollTop <= offsetTop) ? 'top' : false
+
+ if (this.affixed === affix) return
+ if (this.unpin) this.$element.css('top', '')
+
+ this.affixed = affix
+ this.unpin = affix == 'bottom' ? position.top - scrollTop : null
+
+ this.$element.removeClass(Affix.RESET).addClass('affix' + (affix ? '-' + affix : ''))
+
+ if (affix == 'bottom') {
+ this.$element.offset({ top: document.body.offsetHeight - offsetBottom - this.$element.height() })
+ }
+ }
+
+
+ // AFFIX PLUGIN DEFINITION
+ // =======================
+
+ var old = $.fn.affix
+
+ $.fn.affix = function (option) {
+ return this.each(function () {
+ var $this = $(this)
+ var data = $this.data('bs.affix')
+ var options = typeof option == 'object' && option
+
+ if (!data) $this.data('bs.affix', (data = new Affix(this, options)))
+ if (typeof option == 'string') data[option]()
+ })
+ }
+
+ $.fn.affix.Constructor = Affix
+
+
+ // AFFIX NO CONFLICT
+ // =================
+
+ $.fn.affix.noConflict = function () {
+ $.fn.affix = old
+ return this
+ }
+
+
+ // AFFIX DATA-API
+ // ==============
+
+ $(window).on('load', function () {
+ $('[data-spy="affix"]').each(function () {
+ var $spy = $(this)
+ var data = $spy.data()
+
+ data.offset = data.offset || {}
+
+ if (data.offsetBottom) data.offset.bottom = data.offsetBottom
+ if (data.offsetTop) data.offset.top = data.offsetTop
+
+ $spy.affix(data)
+ })
+ })
+
+}(jQuery);
diff --git a/tools/build/website/bootstrap/js/bootstrap.min.js b/tools/build/website/bootstrap/js/bootstrap.min.js
new file mode 100644
index 0000000000..1a6258efcb
--- /dev/null
+++ b/tools/build/website/bootstrap/js/bootstrap.min.js
@@ -0,0 +1,7 @@
+/*!
+ * Bootstrap v3.0.3 (http://getbootstrap.com)
+ * Copyright 2013 Twitter, Inc.
+ * Licensed under http://www.apache.org/licenses/LICENSE-2.0
+ */
+
+if("undefined"==typeof jQuery)throw new Error("Bootstrap requires jQuery");+function(a){"use strict";function b(){var a=document.createElement("bootstrap"),b={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"};for(var c in b)if(void 0!==a.style[c])return{end:b[c]}}a.fn.emulateTransitionEnd=function(b){var c=!1,d=this;a(this).one(a.support.transition.end,function(){c=!0});var e=function(){c||a(d).trigger(a.support.transition.end)};return setTimeout(e,b),this},a(function(){a.support.transition=b()})}(jQuery),+function(a){"use strict";var b='[data-dismiss="alert"]',c=function(c){a(c).on("click",b,this.close)};c.prototype.close=function(b){function c(){f.trigger("closed.bs.alert").remove()}var d=a(this),e=d.attr("data-target");e||(e=d.attr("href"),e=e&&e.replace(/.*(?=#[^\s]*$)/,""));var f=a(e);b&&b.preventDefault(),f.length||(f=d.hasClass("alert")?d:d.parent()),f.trigger(b=a.Event("close.bs.alert")),b.isDefaultPrevented()||(f.removeClass("in"),a.support.transition&&f.hasClass("fade")?f.one(a.support.transition.end,c).emulateTransitionEnd(150):c())};var d=a.fn.alert;a.fn.alert=function(b){return this.each(function(){var d=a(this),e=d.data("bs.alert");e||d.data("bs.alert",e=new c(this)),"string"==typeof b&&e[b].call(d)})},a.fn.alert.Constructor=c,a.fn.alert.noConflict=function(){return a.fn.alert=d,this},a(document).on("click.bs.alert.data-api",b,c.prototype.close)}(jQuery),+function(a){"use strict";var b=function(c,d){this.$element=a(c),this.options=a.extend({},b.DEFAULTS,d)};b.DEFAULTS={loadingText:"loading..."},b.prototype.setState=function(a){var b="disabled",c=this.$element,d=c.is("input")?"val":"html",e=c.data();a+="Text",e.resetText||c.data("resetText",c[d]()),c[d](e[a]||this.options[a]),setTimeout(function(){"loadingText"==a?c.addClass(b).attr(b,b):c.removeClass(b).removeAttr(b)},0)},b.prototype.toggle=function(){var a=this.$element.closest('[data-toggle="buttons"]'),b=!0;if(a.length){var c=this.$element.find("input");"radio"===c.prop("type")&&(c.prop("checked")&&this.$element.hasClass("active")?b=!1:a.find(".active").removeClass("active")),b&&c.prop("checked",!this.$element.hasClass("active")).trigger("change")}b&&this.$element.toggleClass("active")};var c=a.fn.button;a.fn.button=function(c){return this.each(function(){var d=a(this),e=d.data("bs.button"),f="object"==typeof c&&c;e||d.data("bs.button",e=new b(this,f)),"toggle"==c?e.toggle():c&&e.setState(c)})},a.fn.button.Constructor=b,a.fn.button.noConflict=function(){return a.fn.button=c,this},a(document).on("click.bs.button.data-api","[data-toggle^=button]",function(b){var c=a(b.target);c.hasClass("btn")||(c=c.closest(".btn")),c.button("toggle"),b.preventDefault()})}(jQuery),+function(a){"use strict";var b=function(b,c){this.$element=a(b),this.$indicators=this.$element.find(".carousel-indicators"),this.options=c,this.paused=this.sliding=this.interval=this.$active=this.$items=null,"hover"==this.options.pause&&this.$element.on("mouseenter",a.proxy(this.pause,this)).on("mouseleave",a.proxy(this.cycle,this))};b.DEFAULTS={interval:5e3,pause:"hover",wrap:!0},b.prototype.cycle=function(b){return b||(this.paused=!1),this.interval&&clearInterval(this.interval),this.options.interval&&!this.paused&&(this.interval=setInterval(a.proxy(this.next,this),this.options.interval)),this},b.prototype.getActiveIndex=function(){return this.$active=this.$element.find(".item.active"),this.$items=this.$active.parent().children(),this.$items.index(this.$active)},b.prototype.to=function(b){var c=this,d=this.getActiveIndex();return b>this.$items.length-1||0>b?void 0:this.sliding?this.$element.one("slid.bs.carousel",function(){c.to(b)}):d==b?this.pause().cycle():this.slide(b>d?"next":"prev",a(this.$items[b]))},b.prototype.pause=function(b){return b||(this.paused=!0),this.$element.find(".next, .prev").length&&a.support.transition.end&&(this.$element.trigger(a.support.transition.end),this.cycle(!0)),this.interval=clearInterval(this.interval),this},b.prototype.next=function(){return this.sliding?void 0:this.slide("next")},b.prototype.prev=function(){return this.sliding?void 0:this.slide("prev")},b.prototype.slide=function(b,c){var d=this.$element.find(".item.active"),e=c||d[b](),f=this.interval,g="next"==b?"left":"right",h="next"==b?"first":"last",i=this;if(!e.length){if(!this.options.wrap)return;e=this.$element.find(".item")[h]()}this.sliding=!0,f&&this.pause();var j=a.Event("slide.bs.carousel",{relatedTarget:e[0],direction:g});if(!e.hasClass("active")){if(this.$indicators.length&&(this.$indicators.find(".active").removeClass("active"),this.$element.one("slid.bs.carousel",function(){var b=a(i.$indicators.children()[i.getActiveIndex()]);b&&b.addClass("active")})),a.support.transition&&this.$element.hasClass("slide")){if(this.$element.trigger(j),j.isDefaultPrevented())return;e.addClass(b),e[0].offsetWidth,d.addClass(g),e.addClass(g),d.one(a.support.transition.end,function(){e.removeClass([b,g].join(" ")).addClass("active"),d.removeClass(["active",g].join(" ")),i.sliding=!1,setTimeout(function(){i.$element.trigger("slid.bs.carousel")},0)}).emulateTransitionEnd(600)}else{if(this.$element.trigger(j),j.isDefaultPrevented())return;d.removeClass("active"),e.addClass("active"),this.sliding=!1,this.$element.trigger("slid.bs.carousel")}return f&&this.cycle(),this}};var c=a.fn.carousel;a.fn.carousel=function(c){return this.each(function(){var d=a(this),e=d.data("bs.carousel"),f=a.extend({},b.DEFAULTS,d.data(),"object"==typeof c&&c),g="string"==typeof c?c:f.slide;e||d.data("bs.carousel",e=new b(this,f)),"number"==typeof c?e.to(c):g?e[g]():f.interval&&e.pause().cycle()})},a.fn.carousel.Constructor=b,a.fn.carousel.noConflict=function(){return a.fn.carousel=c,this},a(document).on("click.bs.carousel.data-api","[data-slide], [data-slide-to]",function(b){var c,d=a(this),e=a(d.attr("data-target")||(c=d.attr("href"))&&c.replace(/.*(?=#[^\s]+$)/,"")),f=a.extend({},e.data(),d.data()),g=d.attr("data-slide-to");g&&(f.interval=!1),e.carousel(f),(g=d.attr("data-slide-to"))&&e.data("bs.carousel").to(g),b.preventDefault()}),a(window).on("load",function(){a('[data-ride="carousel"]').each(function(){var b=a(this);b.carousel(b.data())})})}(jQuery),+function(a){"use strict";var b=function(c,d){this.$element=a(c),this.options=a.extend({},b.DEFAULTS,d),this.transitioning=null,this.options.parent&&(this.$parent=a(this.options.parent)),this.options.toggle&&this.toggle()};b.DEFAULTS={toggle:!0},b.prototype.dimension=function(){var a=this.$element.hasClass("width");return a?"width":"height"},b.prototype.show=function(){if(!this.transitioning&&!this.$element.hasClass("in")){var b=a.Event("show.bs.collapse");if(this.$element.trigger(b),!b.isDefaultPrevented()){var c=this.$parent&&this.$parent.find("> .panel > .in");if(c&&c.length){var d=c.data("bs.collapse");if(d&&d.transitioning)return;c.collapse("hide"),d||c.data("bs.collapse",null)}var e=this.dimension();this.$element.removeClass("collapse").addClass("collapsing")[e](0),this.transitioning=1;var f=function(){this.$element.removeClass("collapsing").addClass("in")[e]("auto"),this.transitioning=0,this.$element.trigger("shown.bs.collapse")};if(!a.support.transition)return f.call(this);var g=a.camelCase(["scroll",e].join("-"));this.$element.one(a.support.transition.end,a.proxy(f,this)).emulateTransitionEnd(350)[e](this.$element[0][g])}}},b.prototype.hide=function(){if(!this.transitioning&&this.$element.hasClass("in")){var b=a.Event("hide.bs.collapse");if(this.$element.trigger(b),!b.isDefaultPrevented()){var c=this.dimension();this.$element[c](this.$element[c]())[0].offsetHeight,this.$element.addClass("collapsing").removeClass("collapse").removeClass("in"),this.transitioning=1;var d=function(){this.transitioning=0,this.$element.trigger("hidden.bs.collapse").removeClass("collapsing").addClass("collapse")};return a.support.transition?(this.$element[c](0).one(a.support.transition.end,a.proxy(d,this)).emulateTransitionEnd(350),void 0):d.call(this)}}},b.prototype.toggle=function(){this[this.$element.hasClass("in")?"hide":"show"]()};var c=a.fn.collapse;a.fn.collapse=function(c){return this.each(function(){var d=a(this),e=d.data("bs.collapse"),f=a.extend({},b.DEFAULTS,d.data(),"object"==typeof c&&c);e||d.data("bs.collapse",e=new b(this,f)),"string"==typeof c&&e[c]()})},a.fn.collapse.Constructor=b,a.fn.collapse.noConflict=function(){return a.fn.collapse=c,this},a(document).on("click.bs.collapse.data-api","[data-toggle=collapse]",function(b){var c,d=a(this),e=d.attr("data-target")||b.preventDefault()||(c=d.attr("href"))&&c.replace(/.*(?=#[^\s]+$)/,""),f=a(e),g=f.data("bs.collapse"),h=g?"toggle":d.data(),i=d.attr("data-parent"),j=i&&a(i);g&&g.transitioning||(j&&j.find('[data-toggle=collapse][data-parent="'+i+'"]').not(d).addClass("collapsed"),d[f.hasClass("in")?"addClass":"removeClass"]("collapsed")),f.collapse(h)})}(jQuery),+function(a){"use strict";function b(){a(d).remove(),a(e).each(function(b){var d=c(a(this));d.hasClass("open")&&(d.trigger(b=a.Event("hide.bs.dropdown")),b.isDefaultPrevented()||d.removeClass("open").trigger("hidden.bs.dropdown"))})}function c(b){var c=b.attr("data-target");c||(c=b.attr("href"),c=c&&/#/.test(c)&&c.replace(/.*(?=#[^\s]*$)/,""));var d=c&&a(c);return d&&d.length?d:b.parent()}var d=".dropdown-backdrop",e="[data-toggle=dropdown]",f=function(b){a(b).on("click.bs.dropdown",this.toggle)};f.prototype.toggle=function(d){var e=a(this);if(!e.is(".disabled, :disabled")){var f=c(e),g=f.hasClass("open");if(b(),!g){if("ontouchstart"in document.documentElement&&!f.closest(".navbar-nav").length&&a('<div class="dropdown-backdrop"/>').insertAfter(a(this)).on("click",b),f.trigger(d=a.Event("show.bs.dropdown")),d.isDefaultPrevented())return;f.toggleClass("open").trigger("shown.bs.dropdown"),e.focus()}return!1}},f.prototype.keydown=function(b){if(/(38|40|27)/.test(b.keyCode)){var d=a(this);if(b.preventDefault(),b.stopPropagation(),!d.is(".disabled, :disabled")){var f=c(d),g=f.hasClass("open");if(!g||g&&27==b.keyCode)return 27==b.which&&f.find(e).focus(),d.click();var h=a("[role=menu] li:not(.divider):visible a",f);if(h.length){var i=h.index(h.filter(":focus"));38==b.keyCode&&i>0&&i--,40==b.keyCode&&i<h.length-1&&i++,~i||(i=0),h.eq(i).focus()}}}};var g=a.fn.dropdown;a.fn.dropdown=function(b){return this.each(function(){var c=a(this),d=c.data("bs.dropdown");d||c.data("bs.dropdown",d=new f(this)),"string"==typeof b&&d[b].call(c)})},a.fn.dropdown.Constructor=f,a.fn.dropdown.noConflict=function(){return a.fn.dropdown=g,this},a(document).on("click.bs.dropdown.data-api",b).on("click.bs.dropdown.data-api",".dropdown form",function(a){a.stopPropagation()}).on("click.bs.dropdown.data-api",e,f.prototype.toggle).on("keydown.bs.dropdown.data-api",e+", [role=menu]",f.prototype.keydown)}(jQuery),+function(a){"use strict";var b=function(b,c){this.options=c,this.$element=a(b),this.$backdrop=this.isShown=null,this.options.remote&&this.$element.load(this.options.remote)};b.DEFAULTS={backdrop:!0,keyboard:!0,show:!0},b.prototype.toggle=function(a){return this[this.isShown?"hide":"show"](a)},b.prototype.show=function(b){var c=this,d=a.Event("show.bs.modal",{relatedTarget:b});this.$element.trigger(d),this.isShown||d.isDefaultPrevented()||(this.isShown=!0,this.escape(),this.$element.on("click.dismiss.modal",'[data-dismiss="modal"]',a.proxy(this.hide,this)),this.backdrop(function(){var d=a.support.transition&&c.$element.hasClass("fade");c.$element.parent().length||c.$element.appendTo(document.body),c.$element.show(),d&&c.$element[0].offsetWidth,c.$element.addClass("in").attr("aria-hidden",!1),c.enforceFocus();var e=a.Event("shown.bs.modal",{relatedTarget:b});d?c.$element.find(".modal-dialog").one(a.support.transition.end,function(){c.$element.focus().trigger(e)}).emulateTransitionEnd(300):c.$element.focus().trigger(e)}))},b.prototype.hide=function(b){b&&b.preventDefault(),b=a.Event("hide.bs.modal"),this.$element.trigger(b),this.isShown&&!b.isDefaultPrevented()&&(this.isShown=!1,this.escape(),a(document).off("focusin.bs.modal"),this.$element.removeClass("in").attr("aria-hidden",!0).off("click.dismiss.modal"),a.support.transition&&this.$element.hasClass("fade")?this.$element.one(a.support.transition.end,a.proxy(this.hideModal,this)).emulateTransitionEnd(300):this.hideModal())},b.prototype.enforceFocus=function(){a(document).off("focusin.bs.modal").on("focusin.bs.modal",a.proxy(function(a){this.$element[0]===a.target||this.$element.has(a.target).length||this.$element.focus()},this))},b.prototype.escape=function(){this.isShown&&this.options.keyboard?this.$element.on("keyup.dismiss.bs.modal",a.proxy(function(a){27==a.which&&this.hide()},this)):this.isShown||this.$element.off("keyup.dismiss.bs.modal")},b.prototype.hideModal=function(){var a=this;this.$element.hide(),this.backdrop(function(){a.removeBackdrop(),a.$element.trigger("hidden.bs.modal")})},b.prototype.removeBackdrop=function(){this.$backdrop&&this.$backdrop.remove(),this.$backdrop=null},b.prototype.backdrop=function(b){var c=this.$element.hasClass("fade")?"fade":"";if(this.isShown&&this.options.backdrop){var d=a.support.transition&&c;if(this.$backdrop=a('<div class="modal-backdrop '+c+'" />').appendTo(document.body),this.$element.on("click.dismiss.modal",a.proxy(function(a){a.target===a.currentTarget&&("static"==this.options.backdrop?this.$element[0].focus.call(this.$element[0]):this.hide.call(this))},this)),d&&this.$backdrop[0].offsetWidth,this.$backdrop.addClass("in"),!b)return;d?this.$backdrop.one(a.support.transition.end,b).emulateTransitionEnd(150):b()}else!this.isShown&&this.$backdrop?(this.$backdrop.removeClass("in"),a.support.transition&&this.$element.hasClass("fade")?this.$backdrop.one(a.support.transition.end,b).emulateTransitionEnd(150):b()):b&&b()};var c=a.fn.modal;a.fn.modal=function(c,d){return this.each(function(){var e=a(this),f=e.data("bs.modal"),g=a.extend({},b.DEFAULTS,e.data(),"object"==typeof c&&c);f||e.data("bs.modal",f=new b(this,g)),"string"==typeof c?f[c](d):g.show&&f.show(d)})},a.fn.modal.Constructor=b,a.fn.modal.noConflict=function(){return a.fn.modal=c,this},a(document).on("click.bs.modal.data-api",'[data-toggle="modal"]',function(b){var c=a(this),d=c.attr("href"),e=a(c.attr("data-target")||d&&d.replace(/.*(?=#[^\s]+$)/,"")),f=e.data("modal")?"toggle":a.extend({remote:!/#/.test(d)&&d},e.data(),c.data());b.preventDefault(),e.modal(f,this).one("hide",function(){c.is(":visible")&&c.focus()})}),a(document).on("show.bs.modal",".modal",function(){a(document.body).addClass("modal-open")}).on("hidden.bs.modal",".modal",function(){a(document.body).removeClass("modal-open")})}(jQuery),+function(a){"use strict";var b=function(a,b){this.type=this.options=this.enabled=this.timeout=this.hoverState=this.$element=null,this.init("tooltip",a,b)};b.DEFAULTS={animation:!0,placement:"top",selector:!1,template:'<div class="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>',trigger:"hover focus",title:"",delay:0,html:!1,container:!1},b.prototype.init=function(b,c,d){this.enabled=!0,this.type=b,this.$element=a(c),this.options=this.getOptions(d);for(var e=this.options.trigger.split(" "),f=e.length;f--;){var g=e[f];if("click"==g)this.$element.on("click."+this.type,this.options.selector,a.proxy(this.toggle,this));else if("manual"!=g){var h="hover"==g?"mouseenter":"focus",i="hover"==g?"mouseleave":"blur";this.$element.on(h+"."+this.type,this.options.selector,a.proxy(this.enter,this)),this.$element.on(i+"."+this.type,this.options.selector,a.proxy(this.leave,this))}}this.options.selector?this._options=a.extend({},this.options,{trigger:"manual",selector:""}):this.fixTitle()},b.prototype.getDefaults=function(){return b.DEFAULTS},b.prototype.getOptions=function(b){return b=a.extend({},this.getDefaults(),this.$element.data(),b),b.delay&&"number"==typeof b.delay&&(b.delay={show:b.delay,hide:b.delay}),b},b.prototype.getDelegateOptions=function(){var b={},c=this.getDefaults();return this._options&&a.each(this._options,function(a,d){c[a]!=d&&(b[a]=d)}),b},b.prototype.enter=function(b){var c=b instanceof this.constructor?b:a(b.currentTarget)[this.type](this.getDelegateOptions()).data("bs."+this.type);return clearTimeout(c.timeout),c.hoverState="in",c.options.delay&&c.options.delay.show?(c.timeout=setTimeout(function(){"in"==c.hoverState&&c.show()},c.options.delay.show),void 0):c.show()},b.prototype.leave=function(b){var c=b instanceof this.constructor?b:a(b.currentTarget)[this.type](this.getDelegateOptions()).data("bs."+this.type);return clearTimeout(c.timeout),c.hoverState="out",c.options.delay&&c.options.delay.hide?(c.timeout=setTimeout(function(){"out"==c.hoverState&&c.hide()},c.options.delay.hide),void 0):c.hide()},b.prototype.show=function(){var b=a.Event("show.bs."+this.type);if(this.hasContent()&&this.enabled){if(this.$element.trigger(b),b.isDefaultPrevented())return;var c=this.tip();this.setContent(),this.options.animation&&c.addClass("fade");var d="function"==typeof this.options.placement?this.options.placement.call(this,c[0],this.$element[0]):this.options.placement,e=/\s?auto?\s?/i,f=e.test(d);f&&(d=d.replace(e,"")||"top"),c.detach().css({top:0,left:0,display:"block"}).addClass(d),this.options.container?c.appendTo(this.options.container):c.insertAfter(this.$element);var g=this.getPosition(),h=c[0].offsetWidth,i=c[0].offsetHeight;if(f){var j=this.$element.parent(),k=d,l=document.documentElement.scrollTop||document.body.scrollTop,m="body"==this.options.container?window.innerWidth:j.outerWidth(),n="body"==this.options.container?window.innerHeight:j.outerHeight(),o="body"==this.options.container?0:j.offset().left;d="bottom"==d&&g.top+g.height+i-l>n?"top":"top"==d&&g.top-l-i<0?"bottom":"right"==d&&g.right+h>m?"left":"left"==d&&g.left-h<o?"right":d,c.removeClass(k).addClass(d)}var p=this.getCalculatedOffset(d,g,h,i);this.applyPlacement(p,d),this.$element.trigger("shown.bs."+this.type)}},b.prototype.applyPlacement=function(a,b){var c,d=this.tip(),e=d[0].offsetWidth,f=d[0].offsetHeight,g=parseInt(d.css("margin-top"),10),h=parseInt(d.css("margin-left"),10);isNaN(g)&&(g=0),isNaN(h)&&(h=0),a.top=a.top+g,a.left=a.left+h,d.offset(a).addClass("in");var i=d[0].offsetWidth,j=d[0].offsetHeight;if("top"==b&&j!=f&&(c=!0,a.top=a.top+f-j),/bottom|top/.test(b)){var k=0;a.left<0&&(k=-2*a.left,a.left=0,d.offset(a),i=d[0].offsetWidth,j=d[0].offsetHeight),this.replaceArrow(k-e+i,i,"left")}else this.replaceArrow(j-f,j,"top");c&&d.offset(a)},b.prototype.replaceArrow=function(a,b,c){this.arrow().css(c,a?50*(1-a/b)+"%":"")},b.prototype.setContent=function(){var a=this.tip(),b=this.getTitle();a.find(".tooltip-inner")[this.options.html?"html":"text"](b),a.removeClass("fade in top bottom left right")},b.prototype.hide=function(){function b(){"in"!=c.hoverState&&d.detach()}var c=this,d=this.tip(),e=a.Event("hide.bs."+this.type);return this.$element.trigger(e),e.isDefaultPrevented()?void 0:(d.removeClass("in"),a.support.transition&&this.$tip.hasClass("fade")?d.one(a.support.transition.end,b).emulateTransitionEnd(150):b(),this.$element.trigger("hidden.bs."+this.type),this)},b.prototype.fixTitle=function(){var a=this.$element;(a.attr("title")||"string"!=typeof a.attr("data-original-title"))&&a.attr("data-original-title",a.attr("title")||"").attr("title","")},b.prototype.hasContent=function(){return this.getTitle()},b.prototype.getPosition=function(){var b=this.$element[0];return a.extend({},"function"==typeof b.getBoundingClientRect?b.getBoundingClientRect():{width:b.offsetWidth,height:b.offsetHeight},this.$element.offset())},b.prototype.getCalculatedOffset=function(a,b,c,d){return"bottom"==a?{top:b.top+b.height,left:b.left+b.width/2-c/2}:"top"==a?{top:b.top-d,left:b.left+b.width/2-c/2}:"left"==a?{top:b.top+b.height/2-d/2,left:b.left-c}:{top:b.top+b.height/2-d/2,left:b.left+b.width}},b.prototype.getTitle=function(){var a,b=this.$element,c=this.options;return a=b.attr("data-original-title")||("function"==typeof c.title?c.title.call(b[0]):c.title)},b.prototype.tip=function(){return this.$tip=this.$tip||a(this.options.template)},b.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".tooltip-arrow")},b.prototype.validate=function(){this.$element[0].parentNode||(this.hide(),this.$element=null,this.options=null)},b.prototype.enable=function(){this.enabled=!0},b.prototype.disable=function(){this.enabled=!1},b.prototype.toggleEnabled=function(){this.enabled=!this.enabled},b.prototype.toggle=function(b){var c=b?a(b.currentTarget)[this.type](this.getDelegateOptions()).data("bs."+this.type):this;c.tip().hasClass("in")?c.leave(c):c.enter(c)},b.prototype.destroy=function(){this.hide().$element.off("."+this.type).removeData("bs."+this.type)};var c=a.fn.tooltip;a.fn.tooltip=function(c){return this.each(function(){var d=a(this),e=d.data("bs.tooltip"),f="object"==typeof c&&c;e||d.data("bs.tooltip",e=new b(this,f)),"string"==typeof c&&e[c]()})},a.fn.tooltip.Constructor=b,a.fn.tooltip.noConflict=function(){return a.fn.tooltip=c,this}}(jQuery),+function(a){"use strict";var b=function(a,b){this.init("popover",a,b)};if(!a.fn.tooltip)throw new Error("Popover requires tooltip.js");b.DEFAULTS=a.extend({},a.fn.tooltip.Constructor.DEFAULTS,{placement:"right",trigger:"click",content:"",template:'<div class="popover"><div class="arrow"></div><h3 class="popover-title"></h3><div class="popover-content"></div></div>'}),b.prototype=a.extend({},a.fn.tooltip.Constructor.prototype),b.prototype.constructor=b,b.prototype.getDefaults=function(){return b.DEFAULTS},b.prototype.setContent=function(){var a=this.tip(),b=this.getTitle(),c=this.getContent();a.find(".popover-title")[this.options.html?"html":"text"](b),a.find(".popover-content")[this.options.html?"html":"text"](c),a.removeClass("fade top bottom left right in"),a.find(".popover-title").html()||a.find(".popover-title").hide()},b.prototype.hasContent=function(){return this.getTitle()||this.getContent()},b.prototype.getContent=function(){var a=this.$element,b=this.options;return a.attr("data-content")||("function"==typeof b.content?b.content.call(a[0]):b.content)},b.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".arrow")},b.prototype.tip=function(){return this.$tip||(this.$tip=a(this.options.template)),this.$tip};var c=a.fn.popover;a.fn.popover=function(c){return this.each(function(){var d=a(this),e=d.data("bs.popover"),f="object"==typeof c&&c;e||d.data("bs.popover",e=new b(this,f)),"string"==typeof c&&e[c]()})},a.fn.popover.Constructor=b,a.fn.popover.noConflict=function(){return a.fn.popover=c,this}}(jQuery),+function(a){"use strict";function b(c,d){var e,f=a.proxy(this.process,this);this.$element=a(c).is("body")?a(window):a(c),this.$body=a("body"),this.$scrollElement=this.$element.on("scroll.bs.scroll-spy.data-api",f),this.options=a.extend({},b.DEFAULTS,d),this.selector=(this.options.target||(e=a(c).attr("href"))&&e.replace(/.*(?=#[^\s]+$)/,"")||"")+" .nav li > a",this.offsets=a([]),this.targets=a([]),this.activeTarget=null,this.refresh(),this.process()}b.DEFAULTS={offset:10},b.prototype.refresh=function(){var b=this.$element[0]==window?"offset":"position";this.offsets=a([]),this.targets=a([]);var c=this;this.$body.find(this.selector).map(function(){var d=a(this),e=d.data("target")||d.attr("href"),f=/^#\w/.test(e)&&a(e);return f&&f.length&&[[f[b]().top+(!a.isWindow(c.$scrollElement.get(0))&&c.$scrollElement.scrollTop()),e]]||null}).sort(function(a,b){return a[0]-b[0]}).each(function(){c.offsets.push(this[0]),c.targets.push(this[1])})},b.prototype.process=function(){var a,b=this.$scrollElement.scrollTop()+this.options.offset,c=this.$scrollElement[0].scrollHeight||this.$body[0].scrollHeight,d=c-this.$scrollElement.height(),e=this.offsets,f=this.targets,g=this.activeTarget;if(b>=d)return g!=(a=f.last()[0])&&this.activate(a);for(a=e.length;a--;)g!=f[a]&&b>=e[a]&&(!e[a+1]||b<=e[a+1])&&this.activate(f[a])},b.prototype.activate=function(b){this.activeTarget=b,a(this.selector).parents(".active").removeClass("active");var c=this.selector+'[data-target="'+b+'"],'+this.selector+'[href="'+b+'"]',d=a(c).parents("li").addClass("active");d.parent(".dropdown-menu").length&&(d=d.closest("li.dropdown").addClass("active")),d.trigger("activate.bs.scrollspy")};var c=a.fn.scrollspy;a.fn.scrollspy=function(c){return this.each(function(){var d=a(this),e=d.data("bs.scrollspy"),f="object"==typeof c&&c;e||d.data("bs.scrollspy",e=new b(this,f)),"string"==typeof c&&e[c]()})},a.fn.scrollspy.Constructor=b,a.fn.scrollspy.noConflict=function(){return a.fn.scrollspy=c,this},a(window).on("load",function(){a('[data-spy="scroll"]').each(function(){var b=a(this);b.scrollspy(b.data())})})}(jQuery),+function(a){"use strict";var b=function(b){this.element=a(b)};b.prototype.show=function(){var b=this.element,c=b.closest("ul:not(.dropdown-menu)"),d=b.data("target");if(d||(d=b.attr("href"),d=d&&d.replace(/.*(?=#[^\s]*$)/,"")),!b.parent("li").hasClass("active")){var e=c.find(".active:last a")[0],f=a.Event("show.bs.tab",{relatedTarget:e});if(b.trigger(f),!f.isDefaultPrevented()){var g=a(d);this.activate(b.parent("li"),c),this.activate(g,g.parent(),function(){b.trigger({type:"shown.bs.tab",relatedTarget:e})})}}},b.prototype.activate=function(b,c,d){function e(){f.removeClass("active").find("> .dropdown-menu > .active").removeClass("active"),b.addClass("active"),g?(b[0].offsetWidth,b.addClass("in")):b.removeClass("fade"),b.parent(".dropdown-menu")&&b.closest("li.dropdown").addClass("active"),d&&d()}var f=c.find("> .active"),g=d&&a.support.transition&&f.hasClass("fade");g?f.one(a.support.transition.end,e).emulateTransitionEnd(150):e(),f.removeClass("in")};var c=a.fn.tab;a.fn.tab=function(c){return this.each(function(){var d=a(this),e=d.data("bs.tab");e||d.data("bs.tab",e=new b(this)),"string"==typeof c&&e[c]()})},a.fn.tab.Constructor=b,a.fn.tab.noConflict=function(){return a.fn.tab=c,this},a(document).on("click.bs.tab.data-api",'[data-toggle="tab"], [data-toggle="pill"]',function(b){b.preventDefault(),a(this).tab("show")})}(jQuery),+function(a){"use strict";var b=function(c,d){this.options=a.extend({},b.DEFAULTS,d),this.$window=a(window).on("scroll.bs.affix.data-api",a.proxy(this.checkPosition,this)).on("click.bs.affix.data-api",a.proxy(this.checkPositionWithEventLoop,this)),this.$element=a(c),this.affixed=this.unpin=null,this.checkPosition()};b.RESET="affix affix-top affix-bottom",b.DEFAULTS={offset:0},b.prototype.checkPositionWithEventLoop=function(){setTimeout(a.proxy(this.checkPosition,this),1)},b.prototype.checkPosition=function(){if(this.$element.is(":visible")){var c=a(document).height(),d=this.$window.scrollTop(),e=this.$element.offset(),f=this.options.offset,g=f.top,h=f.bottom;"object"!=typeof f&&(h=g=f),"function"==typeof g&&(g=f.top()),"function"==typeof h&&(h=f.bottom());var i=null!=this.unpin&&d+this.unpin<=e.top?!1:null!=h&&e.top+this.$element.height()>=c-h?"bottom":null!=g&&g>=d?"top":!1;this.affixed!==i&&(this.unpin&&this.$element.css("top",""),this.affixed=i,this.unpin="bottom"==i?e.top-d:null,this.$element.removeClass(b.RESET).addClass("affix"+(i?"-"+i:"")),"bottom"==i&&this.$element.offset({top:document.body.offsetHeight-h-this.$element.height()}))}};var c=a.fn.affix;a.fn.affix=function(c){return this.each(function(){var d=a(this),e=d.data("bs.affix"),f="object"==typeof c&&c;e||d.data("bs.affix",e=new b(this,f)),"string"==typeof c&&e[c]()})},a.fn.affix.Constructor=b,a.fn.affix.noConflict=function(){return a.fn.affix=c,this},a(window).on("load",function(){a('[data-spy="affix"]').each(function(){var b=a(this),c=b.data();c.offset=c.offset||{},c.offsetBottom&&(c.offset.bottom=c.offsetBottom),c.offsetTop&&(c.offset.top=c.offsetTop),b.affix(c)})})}(jQuery); \ No newline at end of file
diff --git a/tools/build/website/index.css b/tools/build/website/index.css
new file mode 100644
index 0000000000..6626241392
--- /dev/null
+++ b/tools/build/website/index.css
@@ -0,0 +1,61 @@
+
+body {
+ font-size: 16px;
+}
+
+.header {
+ margin-top: 1em;
+}
+
+.header > ul {
+ float: right;
+}
+
+.header > ul > li {
+ display: inline;
+ padding-left: 2em;
+}
+
+th {
+ color: #000;
+ background-color: #D6D6FF;
+ border: 1px solid #C0C0FF;
+ padding: 4px;
+ vertical-align: top;
+}
+td {
+ color: #000;
+ background-color: #F0F0FF;
+ border: 1px solid #C0C0FF;
+ padding: 4px;
+ vertical-align: top;
+}
+
+
+/*
+@media (min-width: 768px) {
+ .container {
+ max-width: 730px;
+ }
+}
+.container-narrow > hr {
+ margin: 30px 0;
+}
+
+.nav li {
+ display: inline;
+ line-height: 30px;
+}
+
+.nav > li > a {
+ display: inline;
+ line-height: 30px;
+}
+
+.header span {
+ display: inline-block;
+ padding: 10px 15px;
+ line-height: 30px;
+ font-size: 24px;
+}
+*/ \ No newline at end of file
diff --git a/tools/regression/build/Jamroot.jam b/tools/regression/build/Jamroot.jam
deleted file mode 100644
index 61eae71210..0000000000
--- a/tools/regression/build/Jamroot.jam
+++ /dev/null
@@ -1,101 +0,0 @@
-# Regression test status reporting tools build Jamfile
-
-# Copyright Rene Rivera
-
-# Distributed under the Boost Software License, Version 1.0.
-# See http://www.boost.org/LICENSE_1_0.txt
-
-
-if [ glob ../../../boost-build.jam ]
-{
- use-project /boost : ../../.. ;
-}
-else
-{
- import modules ;
- use-project /boost : [ MATCH --boost=(.*) : [ modules.peek : ARGV ] ] ;
-}
-
-if ! [ glob ../src/process_jam_log.cpp ]
-{
- project boost/regression
- :
- source-location ..
- ;
-}
-else
-{
- project boost/regression
- :
- source-location ../src
- ;
-}
-
-obj tiny_xml
- :
- detail/tiny_xml.cpp
- :
- <define>BOOST_ALL_NO_LIB=1
- <define>_CRT_SECURE_NO_WARNINGS
- <implicit-dependency>/boost//headers
- :
- release
- ;
-explicit tiny_xml ;
-
-exe process_jam_log
- :
- process_jam_log.cpp
- tiny_xml
- /boost/filesystem//boost_filesystem/<link>static
- :
- <define>BOOST_ALL_NO_LIB=1
- <define>_CRT_SECURE_NO_WARNINGS
- <implicit-dependency>/boost//headers
- :
- release
- ;
-#~ explicit process_jam_log ;
-
-exe compiler_status
- :
- compiler_status.cpp
- tiny_xml
- /boost/filesystem//boost_filesystem/<link>static
- :
- <define>BOOST_ALL_NO_LIB=1
- <implicit-dependency>/boost//headers
- :
- release
- ;
-explicit compiler_status ;
-
-exe library_status
- :
- library_status.cpp
- tiny_xml
- /boost/filesystem//boost_filesystem/<link>static
- :
- <define>BOOST_ALL_NO_LIB=1
- <implicit-dependency>/boost//headers
- :
- release
- ;
-explicit library_status ;
-
-exe boost_report
- :
- [ glob report/*.cpp ]
- /boost/filesystem//boost_filesystem/<link>static
- /boost//filesystem/<link>static
- /boost//date_time/<link>static
- /boost//regex/<link>static
- /boost//program_options/<link>static
- /boost//iostreams/<link>static
- :
- <define>BOOST_ALL_NO_LIB=1
- <implicit-dependency>/boost//headers
- :
- release
- ;
-explicit boost_report ;
diff --git a/tools/regression/build/vcide/compiler_status.vcproj b/tools/regression/build/vcide/compiler_status.vcproj
deleted file mode 100644
index 600981c9df..0000000000
--- a/tools/regression/build/vcide/compiler_status.vcproj
+++ /dev/null
@@ -1,59 +0,0 @@
-<?xml version="1.0" encoding="Windows-1252"?>
-<VisualStudioProject
- ProjectType="Visual C++"
- Version="7.10"
- Name="compiler_status"
- ProjectGUID="{81F22EF9-A1B8-46CB-9C2D-56FD4327B942}"
- Keyword="MakeFileProj">
- <Platforms>
- <Platform
- Name="Win32"/>
- </Platforms>
- <Configurations>
- <Configuration
- Name="Debug|Win32"
- OutputDirectory="Debug"
- IntermediateDirectory="Debug"
- ConfigurationType="0">
- <Tool
- Name="VCNMakeTool"
- BuildCommandLine="cd ..\..\..\..\tools\regression\build
-..\..\jam\src\bin.ntx86\bjam.exe compiler_status.exe variant=debug"
- ReBuildCommandLine="cd ..\..\..\..\tools\regression\build
-...\..\jam\src\bin.ntx86\bjam.exe -a compiler_status.exe variant=debug"
- CleanCommandLine="cd ..\..\..\..\tools\regression\build
-call bjam --v2 msvc-7.1 debug clean
-"
- Output="compiler_status.exe"/>
- </Configuration>
- <Configuration
- Name="Release|Win32"
- OutputDirectory="Release"
- IntermediateDirectory="Release"
- ConfigurationType="0">
- <Tool
- Name="VCNMakeTool"
- BuildCommandLine="cd ..
-..\..\jam\src\bin.ntx86\bjam compiler_status variant=release link=static"
- ReBuildCommandLine="cd ..
-..\..\jam\src\bin.ntx86\bjam -a compiler_status variant=release link=static"
- CleanCommandLine="cd ..
-..\..\jam\src\bin.ntx86\bjam clean"
- Output="..\..\..\..\bin.v2\tools\regression\build\msvc-7.1\release\link-static\compiler_status.exe"/>
- </Configuration>
- </Configurations>
- <References>
- </References>
- <Files>
- <Filter
- Name="Source Files"
- Filter="cpp;c;cxx;def;odl;idl;hpj;bat;asm;asmx"
- UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}">
- <File
- RelativePath="..\..\compiler_status.cpp">
- </File>
- </Filter>
- </Files>
- <Globals>
- </Globals>
-</VisualStudioProject>
diff --git a/tools/regression/build/vcide/library_status.vcproj b/tools/regression/build/vcide/library_status.vcproj
deleted file mode 100644
index bd069fdaf6..0000000000
--- a/tools/regression/build/vcide/library_status.vcproj
+++ /dev/null
@@ -1,64 +0,0 @@
-<?xml version="1.0" encoding="Windows-1252"?>
-<VisualStudioProject
- ProjectType="Visual C++"
- Version="7.10"
- Name="library_status"
- ProjectGUID="{465BDB84-92B5-4C60-AF26-8BD1A61A089E}"
- Keyword="MakeFileProj">
- <Platforms>
- <Platform
- Name="Win32"/>
- </Platforms>
- <Configurations>
- <Configuration
- Name="Debug|Win32"
- OutputDirectory="Debug"
- IntermediateDirectory="Debug"
- ConfigurationType="0">
- <Tool
- Name="VCNMakeTool"
- BuildCommandLine="cd ..
-..\..\jam\src\bin.ntx86\bjam library_status variant=debug link=static"
- ReBuildCommandLine="cd ..
-..\..\jam\src\bin.ntx86\bjam -a library_status variant=debug link=static"
- CleanCommandLine="cd ..
-..\..\jam\src\bin.ntx86\bjam clean"
- Output="..\..\..\..\bin.v2\tools\regression\build\msvc-7.1\debug\link-static\library_status.exe"/>
- </Configuration>
- <Configuration
- Name="Release|Win32"
- OutputDirectory="Release"
- IntermediateDirectory="Release"
- ConfigurationType="0">
- <Tool
- Name="VCNMakeTool"
- BuildCommandLine="cd ..
-..\..\jam\src\bin.ntx86\bjam library_status variant=release link=static"
- ReBuildCommandLine="cd ..
-..\..\jam\src\bin.ntx86\bjam -a library_status variant=release link=static"
- CleanCommandLine="cd ..
-..\..\jam\src\bin.ntx86\bjam clean"
- Output="..\..\..\..\bin.v2\tools\regression\build\msvc-7.1\release\link-static\library_status.exe"/>
- </Configuration>
- </Configurations>
- <References>
- </References>
- <Files>
- <Filter
- Name="Source Files"
- Filter="cpp;c;cxx;def;odl;idl;hpj;bat;asm;asmx"
- UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}">
- <File
- RelativePath="..\..\library_status.cpp">
- </File>
- <File
- RelativePath="..\..\detail\tiny_xml.cpp">
- </File>
- <File
- RelativePath="..\..\detail\tiny_xml.hpp">
- </File>
- </Filter>
- </Files>
- <Globals>
- </Globals>
-</VisualStudioProject>
diff --git a/tools/regression/build/vcide/process_jam_log.sln b/tools/regression/build/vcide/process_jam_log.sln
deleted file mode 100644
index 29833cc0e1..0000000000
--- a/tools/regression/build/vcide/process_jam_log.sln
+++ /dev/null
@@ -1,21 +0,0 @@
-Microsoft Visual Studio Solution File, Format Version 8.00
-Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "process_jam_log", "process_jam_log.vcproj", "{9A751791-929F-496A-8DE7-B61020619BFA}"
- ProjectSection(ProjectDependencies) = postProject
- EndProjectSection
-EndProject
-Global
- GlobalSection(SolutionConfiguration) = preSolution
- Debug = Debug
- Release = Release
- EndGlobalSection
- GlobalSection(ProjectConfiguration) = postSolution
- {9A751791-929F-496A-8DE7-B61020619BFA}.Debug.ActiveCfg = Debug|Win32
- {9A751791-929F-496A-8DE7-B61020619BFA}.Debug.Build.0 = Debug|Win32
- {9A751791-929F-496A-8DE7-B61020619BFA}.Release.ActiveCfg = Release|Win32
- {9A751791-929F-496A-8DE7-B61020619BFA}.Release.Build.0 = Release|Win32
- EndGlobalSection
- GlobalSection(ExtensibilityGlobals) = postSolution
- EndGlobalSection
- GlobalSection(ExtensibilityAddIns) = postSolution
- EndGlobalSection
-EndGlobal
diff --git a/tools/regression/build/vcide/process_jam_log.vcproj b/tools/regression/build/vcide/process_jam_log.vcproj
deleted file mode 100644
index bbc8c9d78a..0000000000
--- a/tools/regression/build/vcide/process_jam_log.vcproj
+++ /dev/null
@@ -1,72 +0,0 @@
-<?xml version="1.0" encoding="windows-1251"?>
-<VisualStudioProject
- ProjectType="Visual C++"
- Version="7.10"
- Name="process_jam_log"
- ProjectGUID="{9A751791-929F-496A-8DE7-B61020619BFA}"
- RootNamespace="process_jam_log"
- Keyword="MakeFileProj">
- <Platforms>
- <Platform
- Name="Win32"/>
- </Platforms>
- <Configurations>
- <Configuration
- Name="Debug|Win32"
- OutputDirectory="Debug"
- IntermediateDirectory="Debug"
- ConfigurationType="0">
- <Tool
- Name="VCNMakeTool"
- BuildCommandLine="cd ..\..\..\..\tools\regression\build
-..\..\jam\src\bin.ntx86\bjam.exe process_jam_log variant=debug
-"
- ReBuildCommandLine="cd ..\..\..\..\tools\regression\build
-call bjam --v2 msvc-7.1 debug clean
-call bjam --v2 msvc-7.1 debug"
- CleanCommandLine="cd ..\..\..\..\tools\regression\build
-call bjam --v2 msvc-7.1 debug clean
-"
- Output="../../../../bin.v2/tools/regression/build/msvc-7.1/debug/link-static/process_jam_log.exe"/>
- </Configuration>
- <Configuration
- Name="Release|Win32"
- OutputDirectory="Release"
- IntermediateDirectory="Release"
- ConfigurationType="0">
- <Tool
- Name="VCNMakeTool"
- BuildCommandLine="cd ..
-..\..\jam\src\bin.ntx86\bjam process_jam_log variant=release link=static"
- ReBuildCommandLine="cd ..
-..\..\jam\src\bin.ntx86\bjam -a process_jam_log variant=release link=static"
- CleanCommandLine="cd ..
-..\..\jam\src\bin.ntx86\bjam clean"
- Output="..\..\..\..\bin.v2\tools\regression\build\msvc-7.1\release\link-static\process_jam_log.exe"/>
- </Configuration>
- </Configurations>
- <References>
- </References>
- <Files>
- <Filter
- Name="Source Files"
- Filter="cpp;c;cxx;def;odl;idl;hpj;bat;asm;asmx"
- UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}">
- </Filter>
- <Filter
- Name="Header Files"
- Filter="h;hpp;hxx;hm;inl;inc;xsd"
- UniqueIdentifier="{93995380-89BD-4b04-88EB-625FBE52EBFB}">
- </Filter>
- <Filter
- Name="Resource Files"
- Filter="rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx"
- UniqueIdentifier="{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}">
- </Filter>
- <File
- RelativePath=".\readme.txt">
- </File>
- </Files>
- <Globals>
- </Globals>
-</VisualStudioProject>
diff --git a/tools/regression/build/vcide/regression.sln b/tools/regression/build/vcide/regression.sln
deleted file mode 100644
index 170f08037f..0000000000
--- a/tools/regression/build/vcide/regression.sln
+++ /dev/null
@@ -1,37 +0,0 @@
-Microsoft Visual Studio Solution File, Format Version 8.00
-Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "compiler_status", "compiler_status.vcproj", "{81F22EF9-A1B8-46CB-9C2D-56FD4327B942}"
- ProjectSection(ProjectDependencies) = postProject
- EndProjectSection
-EndProject
-Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "process_jam_log", "process_jam_log.vcproj", "{9A751791-929F-496A-8DE7-B61020619BFA}"
- ProjectSection(ProjectDependencies) = postProject
- EndProjectSection
-EndProject
-Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "library_status", "library_status.vcproj", "{465BDB84-92B5-4C60-AF26-8BD1A61A089E}"
- ProjectSection(ProjectDependencies) = postProject
- EndProjectSection
-EndProject
-Global
- GlobalSection(SolutionConfiguration) = preSolution
- Debug = Debug
- Release = Release
- EndGlobalSection
- GlobalSection(ProjectConfiguration) = postSolution
- {81F22EF9-A1B8-46CB-9C2D-56FD4327B942}.Debug.ActiveCfg = Debug|Win32
- {81F22EF9-A1B8-46CB-9C2D-56FD4327B942}.Debug.Build.0 = Debug|Win32
- {81F22EF9-A1B8-46CB-9C2D-56FD4327B942}.Release.ActiveCfg = Release|Win32
- {81F22EF9-A1B8-46CB-9C2D-56FD4327B942}.Release.Build.0 = Release|Win32
- {9A751791-929F-496A-8DE7-B61020619BFA}.Debug.ActiveCfg = Debug|Win32
- {9A751791-929F-496A-8DE7-B61020619BFA}.Debug.Build.0 = Debug|Win32
- {9A751791-929F-496A-8DE7-B61020619BFA}.Release.ActiveCfg = Release|Win32
- {9A751791-929F-496A-8DE7-B61020619BFA}.Release.Build.0 = Release|Win32
- {465BDB84-92B5-4C60-AF26-8BD1A61A089E}.Debug.ActiveCfg = Debug|Win32
- {465BDB84-92B5-4C60-AF26-8BD1A61A089E}.Debug.Build.0 = Debug|Win32
- {465BDB84-92B5-4C60-AF26-8BD1A61A089E}.Release.ActiveCfg = Release|Win32
- {465BDB84-92B5-4C60-AF26-8BD1A61A089E}.Release.Build.0 = Release|Win32
- EndGlobalSection
- GlobalSection(ExtensibilityGlobals) = postSolution
- EndGlobalSection
- GlobalSection(ExtensibilityAddIns) = postSolution
- EndGlobalSection
-EndGlobal
diff --git a/tools/regression/doc/index.html b/tools/regression/doc/index.html
deleted file mode 100644
index 14775eb533..0000000000
--- a/tools/regression/doc/index.html
+++ /dev/null
@@ -1,57 +0,0 @@
-<!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">
-<head>
- <meta http-equiv="Content-Language" content="en-us" />
- <meta http-equiv="Content-Type" content="text/html; charset=us-ascii" />
- <link rel="stylesheet" type="text/css" href=
- "../../../doc/src/boostbook.css" />
-
- <title>Regression Test Reporting Tools</title>
-</head>
-
-<body>
- <h1><img src="../../../boost.png" alt="boost.png (6897 bytes)" align=
- "center" width="277" height="86" /> Regression Test Reporting Tools</h1>
-
- <p>Boost regression testing uses <a href=
- "../../build/index.html">Boost.Build</a> to run the actual builds and
- tests. A separate set of tools is used to generate the actual status
- reports.</p>
-
- <ul>
- <li><a href=
- "http://beta.boost.org/development/running_regression_tests.html">Instructions</a>
- for running the regression tests as part of the published regression
- tests are available at the Boost web site.</li>
-
- <li><a href="../src/process_jam_log.cpp">process_jam_log.cpp</a> -
- Processes the bjam outputs, creating a file named test_log.xml for each
- test encountered.</li>
-
- <li><a href="../src/compiler_status.cpp">compiler_status.cpp</a> -
- Generates HTML status tables from test_log.xml and other files.</li>
-
- <li><a href="../build/Jamroot.jam">Jamroot.jam</a> - Builds process_jam_log
- and compiler_status executables.</li>
-
- <li><a href="library_status.html">Library Status</a> - Runs test programs
- for one or all boost libraries on your local installation and generates
- complete tables to show which combinations of libraries, compilers,
- compiler settings pass and fail at your local installation.</li>
- </ul>
- <hr />
-
- <p>Revised $Date$</p>
-
- <p>Copyright Beman Dawes 2003.</p>
-
- <p>Copyright Rene Rivera 2007.</p>
-
- <p>Distributed under the Boost Software License, Version 1.0. (See
- accompanying file <a href="../../../LICENSE_1_0.txt">LICENSE_1_0.txt</a> or
- copy at <a href=
- "http://www.boost.org/LICENSE_1_0.txt">www.boost.org/LICENSE_1_0.txt</a>)</p>
-</body>
-</html>
diff --git a/tools/regression/doc/library_status.html b/tools/regression/doc/library_status.html
deleted file mode 100644
index a8eb4827fc..0000000000
--- a/tools/regression/doc/library_status.html
+++ /dev/null
@@ -1,464 +0,0 @@
-<!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">
-<head>
- <meta http-equiv="Content-Language" content="en-us" />
- <meta http-equiv="Content-Type" content="text/html; charset=us-ascii" />
- <link rel="stylesheet" type="text/css" href=
- "../../../doc/src/boostbook.css" />
-
- <title>Libary Status</title>
- <style type="text/css">
-/*<![CDATA[*/
- span.c3 {color: #FF0000; font-style: italic}
- a.c2 {font-style: italic}
- td.c1 {font-style: italic}
- /*]]>*/
- </style>
-</head>
-
-<body>
- <table border="0">
- <tr>
- <td><img border="0" src="../../../boost.png" width="277" height="86"
- alt="boost.png (6897 bytes)" /></td>
-
- <td>
- <h1>Generating Library Status Tables</h1>
- </td>
- </tr>
- </table>
-
- <h3>Purpose</h3>Any time one considers using a library as large and complex
- as the Boost libraries, he must have a way of validating the the library
- functions in his environment. This should be done when the library is
- installed and anytime questions are raised regarding its applicabililty
- and/or its usage.
-
- <p>The procedures described here permit a user to run any combination of
- tests on any or all libraries and generate a set of convenient tables which
- show which libraries pass which tests under what conditions.</p>
-
- <h3>Preliminaries</h3>Generating these tables requires a couple of utility
- programs: <code>process_jam_log</code> and <code>library_status</code>.
- These can be built by moving to the directory
- <code>tools/regression/build</code> and invoking bjam. If all goes well
- these utility programs will be found in the directory
- <code>dist/bin</code>. From there they should be moved to a place in the
- current path.
-
- <h3>Running Tests for One Library</h3>
-
- <ol>
- <li>Start from your command line environment.</li>
-
- <li>set the current directory to:../libs/&lt;library name&gt;/test</li>
-
- <li>Invoke one of the following:
-
- <ul>
- <li><code>../../../tools/regression/src/library_test (*nix)</code>.</li>
-
- <li><code>..\..\..\tools\regression\src\library_test
- (windows)</code>.</li>
- </ul>
- </li>
-
- <li>This will display short help message describing the how to set the
- command line arguments for the compilers and variants you want to appear
- in the final table.</li>
-
- <li>Setting these arguments requires rudimentary knowledge of bjam usage.
- Hopefully, if you've arrived at this page you've gained the required
- knowledge during the installation and library build process.</li>
-
- <li>Rerun the abve command with the argument set accordingly.</li>
-
- <li>When the command terminates, there should be a file named
- "library_status.html" in the current directory.</li>
-
- <li>Display this file with any web browser.</li>
- </ol>There should appear a table similar to the following for the regex
- library.
-
- <table border="1" cellspacing="0" cellpadding="5">
- <tr>
- <td rowspan="4">Test Name</td>
-
- <td align="center" colspan="4">msvc-7.1</td>
- </tr>
-
- <tr>
- <td align="center" colspan="2">debug</td>
-
- <td align="center" colspan="2">release</td>
- </tr>
-
- <tr>
- <td align="center">link-static</td>
-
- <td align="center" rowspan="2">threading-multi</td>
-
- <td align="center">link-static</td>
-
- <td align="center" rowspan="2">threading-multi</td>
- </tr>
-
- <tr>
- <td align="center">threading-multi</td>
-
- <td align="center">threading-multi</td>
- </tr>
-
- <tr>
- <td>bad_expression_test</td>
-
- <td class="c1" align="right">Missing</td>
-
- <td align="right"><a class="c2" href=
- "links.html#C:-Boost134-bin.v2-libs-regex-test-bad_expression_test.test-msvc-7.1-debug-threading-multi">
- Warn</a></td>
-
- <td class="c1" align="right">Missing</td>
-
- <td align="right"><a class="c2" href=
- "links.html#C:-Boost134-bin.v2-libs-regex-test-bad_expression_test.test-msvc-7.1-release-threading-multi">
- Warn</a></td>
- </tr>
-
- <tr>
- <td>captures</td>
-
- <td class="c1" align="right">Missing</td>
-
- <td align="right"><a href=
- "links.html#C:-Boost134-bin.v2-libs-regex-test-captures-msvc-7.1-debug-threading-multi">
- <span class="c3">Fail</span></a></td>
-
- <td class="c1" align="right">Missing</td>
-
- <td align="right"><a href=
- "links.html#C:-Boost134-bin.v2-libs-regex-test-captures-msvc-7.1-release-threading-multi">
- <span class="c3">Fail</span></a></td>
- </tr>
-
- <tr>
- <td>captures_test</td>
-
- <td class="c1" align="right">Missing</td>
-
- <td align="right"><a class="c2" href=
- "links.html#C:-Boost134-bin.v2-libs-regex-test-captures_test.test-msvc-7.1-debug-threading-multi">
- Warn</a></td>
-
- <td class="c1" align="right">Missing</td>
-
- <td align="right"><a class="c2" href=
- "links.html#C:-Boost134-bin.v2-libs-regex-test-captures_test.test-msvc-7.1-release-threading-multi">
- Warn</a></td>
- </tr>
-
- <tr>
- <td>concept_check</td>
-
- <td class="c1" align="right">Missing</td>
-
- <td align="right">Pass</td>
-
- <td class="c1" align="right">Missing</td>
-
- <td align="right">Pass</td>
- </tr>
-
- <tr>
- <td>icu_concept_check</td>
-
- <td class="c1" align="right">Missing</td>
-
- <td align="right">Pass</td>
-
- <td class="c1" align="right">Missing</td>
-
- <td align="right">Pass</td>
- </tr>
-
- <tr>
- <td>object_cache_test</td>
-
- <td class="c1" align="right">Missing</td>
-
- <td align="right"><a class="c2" href=
- "links.html#C:-Boost134-bin.v2-libs-regex-test-object_cache_test.test-msvc-7.1-debug-threading-multi">
- Warn</a></td>
-
- <td class="c1" align="right">Missing</td>
-
- <td align="right"><a class="c2" href=
- "links.html#C:-Boost134-bin.v2-libs-regex-test-object_cache_test.test-msvc-7.1-release-threading-multi">
- Warn</a></td>
- </tr>
-
- <tr>
- <td>posix_api_check</td>
-
- <td class="c1" align="right">Missing</td>
-
- <td align="right"><a class="c2" href=
- "links.html#C:-Boost134-bin.v2-libs-regex-test-posix_api_check.test-msvc-7.1-debug-threading-multi">
- Warn</a></td>
-
- <td class="c1" align="right">Missing</td>
-
- <td align="right"><a class="c2" href=
- "links.html#C:-Boost134-bin.v2-libs-regex-test-posix_api_check.test-msvc-7.1-release-threading-multi">
- Warn</a></td>
- </tr>
-
- <tr>
- <td>posix_api_check_cpp</td>
-
- <td class="c1" align="right">Missing</td>
-
- <td align="right">Pass</td>
-
- <td class="c1" align="right">Missing</td>
-
- <td align="right">Pass</td>
- </tr>
-
- <tr>
- <td>recursion_test</td>
-
- <td class="c1" align="right">Missing</td>
-
- <td align="right"><a class="c2" href=
- "links.html#C:-Boost134-bin.v2-libs-regex-test-recursion_test.test-msvc-7.1-debug-threading-multi">
- Warn</a></td>
-
- <td class="c1" align="right">Missing</td>
-
- <td align="right"><a class="c2" href=
- "links.html#C:-Boost134-bin.v2-libs-regex-test-recursion_test.test-msvc-7.1-release-threading-multi">
- Warn</a></td>
- </tr>
-
- <tr>
- <td>regex_config_info</td>
-
- <td class="c1" align="right">Missing</td>
-
- <td align="right"><a href=
- "links.html#C:-Boost134-bin.v2-libs-regex-test-regex_config_info.test-msvc-7.1-debug-threading-multi">
- Pass</a></td>
-
- <td class="c1" align="right">Missing</td>
-
- <td align="right"><a href=
- "links.html#C:-Boost134-bin.v2-libs-regex-test-regex_config_info.test-msvc-7.1-release-threading-multi">
- Pass</a></td>
- </tr>
-
- <tr>
- <td>regex_dll_config_info</td>
-
- <td class="c1" align="right">Missing</td>
-
- <td align="right"><a href=
- "links.html#C:-Boost134-bin.v2-libs-regex-test-regex_dll_config_info.test-msvc-7.1-debug-threading-multi">
- Pass</a></td>
-
- <td class="c1" align="right">Missing</td>
-
- <td align="right"><a href=
- "links.html#C:-Boost134-bin.v2-libs-regex-test-regex_dll_config_info.test-msvc-7.1-release-threading-multi">
- Pass</a></td>
- </tr>
-
- <tr>
- <td>regex_regress</td>
-
- <td align="right"><a href=
- "links.html#C:-Boost134-bin.v2-libs-regex-test-regex_regress.test-msvc-7.1-debug-link-static-threading-multi">
- Pass</a><sup>*</sup></td>
-
- <td class="c1" align="right">Missing</td>
-
- <td align="right"><a href=
- "links.html#C:-Boost134-bin.v2-libs-regex-test-regex_regress.test-msvc-7.1-release-link-static-threading-multi">
- Pass</a><sup>*</sup></td>
-
- <td class="c1" align="right">Missing</td>
- </tr>
-
- <tr>
- <td>regex_regress_dll</td>
-
- <td class="c1" align="right">Missing</td>
-
- <td align="right"><a href=
- "links.html#C:-Boost134-bin.v2-libs-regex-test-regex_regress_dll.test-msvc-7.1-debug-threading-multi">
- Pass</a><sup>*</sup></td>
-
- <td class="c1" align="right">Missing</td>
-
- <td align="right"><a href=
- "links.html#C:-Boost134-bin.v2-libs-regex-test-regex_regress_dll.test-msvc-7.1-release-threading-multi">
- Pass</a><sup>*</sup></td>
- </tr>
-
- <tr>
- <td>regex_regress_threaded</td>
-
- <td class="c1" align="right">Missing</td>
-
- <td align="right">Pass</td>
-
- <td class="c1" align="right">Missing</td>
-
- <td align="right">Pass</td>
- </tr>
-
- <tr>
- <td>static_mutex_test</td>
-
- <td class="c1" align="right">Missing</td>
-
- <td align="right">Pass</td>
-
- <td class="c1" align="right">Missing</td>
-
- <td align="right">Pass</td>
- </tr>
-
- <tr>
- <td>test_collate_info</td>
-
- <td class="c1" align="right">Missing</td>
-
- <td align="right"><a class="c2" href=
- "links.html#C:-Boost134-bin.v2-libs-regex-test-test_collate_info.test-msvc-7.1-debug-threading-multi">
- Warn</a></td>
-
- <td class="c1" align="right">Missing</td>
-
- <td align="right"><a class="c2" href=
- "links.html#C:-Boost134-bin.v2-libs-regex-test-test_collate_info.test-msvc-7.1-release-threading-multi">
- Warn</a></td>
- </tr>
-
- <tr>
- <td>unicode_iterator_test</td>
-
- <td class="c1" align="right">Missing</td>
-
- <td align="right"><a class="c2" href=
- "links.html#C:-Boost134-bin.v2-libs-regex-test-unicode_iterator_test.test-msvc-7.1-debug-threading-multi">
- Warn</a></td>
-
- <td class="c1" align="right">Missing</td>
-
- <td align="right"><a class="c2" href=
- "links.html#C:-Boost134-bin.v2-libs-regex-test-unicode_iterator_test.test-msvc-7.1-release-threading-multi">
- Warn</a></td>
- </tr>
-
- <tr>
- <td>wide_posix_api_check_c</td>
-
- <td class="c1" align="right">Missing</td>
-
- <td align="right"><a class="c2" href=
- "links.html#C:-Boost134-bin.v2-libs-regex-test-wide_posix_api_check_c.test-msvc-7.1-debug-threading-multi">
- Warn</a></td>
-
- <td class="c1" align="right">Missing</td>
-
- <td align="right"><a class="c2" href=
- "links.html#C:-Boost134-bin.v2-libs-regex-test-wide_posix_api_check_c.test-msvc-7.1-release-threading-multi">
- Warn</a></td>
- </tr>
-
- <tr>
- <td>wide_posix_api_check_cpp</td>
-
- <td class="c1" align="right">Missing</td>
-
- <td align="right"><a class="c2" href=
- "links.html#C:-Boost134-bin.v2-libs-regex-test-wide_posix_api_check_cpp.test-msvc-7.1-debug-threading-multi">
- Warn</a></td>
-
- <td class="c1" align="right">Missing</td>
-
- <td align="right"><a class="c2" href=
- "links.html#C:-Boost134-bin.v2-libs-regex-test-wide_posix_api_check_cpp.test-msvc-7.1-release-threading-multi">
- Warn</a></td>
- </tr>
- </table>
-
- <p>This table was generated by invoking the following command line:</p>
-
- <p><code>../../../tools/regression/src/library_test --toolset=msvc-7.1
- variant=debug,release</code></p>
-
- <p>from within the .../libs/regex/test directory.</p>
-
- <p>This table shows the regex test results for both debug and release
- versions of the library. Also it displays the fact that one of the tests is
- run specifically with the static linking/multi-threading versions of the
- runtime libraries. The cells marked "Missing" correspond to tests that were
- not run for some reason or another. This is usually because the
- corresponding <code>Jamfile.v2</code> excludes this test for the given
- combination of compiler and build attributes. In this example, all tests
- were run with the same compiler. If additional compilers were used, they
- would appear as more columns in the table.</p>
-
- <p>The table above is just an illustration so the links don't actually
- point to anything. In the table you generated, the links will display a
- page describing any errors, warnings or other available information about
- the tests. If the test passes, usually, there is no additional information
- and hence no link.</p>
-
- <p>The tables are cumulative. That is, if you run one set of tests now and
- tests with different attributes later, the table will contain all the
- results to date. The test results are stored in
- <code>../bin.v2/libs/test/&lt;library%gt;/...</code>. To reinitialize the
- test results to empty, delete the corresponding files in this
- directory.</p>
-
- <p>The procedure above assumes that the table are generated within the
- directory <code>../libs/&lt;library&gt;/test</code>. This is the most
- common case since this directory contains the <code>Jamfile.v2</code> as
- well as the source code that is used by official boost testers. However,
- this is just a convention. The table can be generated for other directories
- within the libary. One possiblity would be to generate the table for all
- the examples in <code>../libs/%lt;library%gt;/example</code>. Or one might
- have a special directory of performance tests which take a long time to run
- and hence are not suitable for running by official boost testers. Just
- remember that library status table is generated in the directory from which
- the <code>library_test</code> command is invoked.</p>
-
- <h3>Running Tests for All Libraries</h3>For those with *nix or cygwin
- command line shells, there is shell script that can be run from the boost
- root directory:
-
- <p><code>tools/regression/src/library_test_all</code></p>
-
- <p>The command line arguments are the same as for running the test for one
- library. This script creates all the html files in all the test directories
- as well as an html page in the <code>status</code> directory named
- <code>library_status_summary.html</code>. This can be used to browse
- through all test results for all test in all libraries.</p>
- <hr />
-
-
- <p>Copyright 2011 Bryce Lelbach.</p>
- <p>Copyright 2007-2011 Robert Ramey.</p>
-
- <p>Distributed under the Boost Software
- License, Version 1.0. (See accompanying file LICENSE_1_0.txt or
- http://www.boost.org/LICENSE_1_0.txt)</p>
-
- <p>Revised $Date$</p>
-</body>
-</html>
diff --git a/tools/regression/index.html b/tools/regression/index.html
deleted file mode 100644
index 536c846f9d..0000000000
--- a/tools/regression/index.html
+++ /dev/null
@@ -1,23 +0,0 @@
-<!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">
-<head>
- <meta http-equiv="refresh" content="0; URL=doc/index.html" />
-
- <title></title>
-</head>
-
-<body>
- Automatic redirection failed, please go to <a href=
- "doc/index.html">doc/index.html</a>
- <hr />
-
- <p>Copyright Rene Rivera, 2007</p>
-
- <p>Distributed under the Boost Software License, Version 1.0. (See
- accompanying file <a href="../../LICENSE_1_0.txt">LICENSE_1_0.txt</a> or
- copy at <a href=
- "http://www.boost.org/LICENSE_1_0.txt">www.boost.org/LICENSE_1_0.txt</a>)</p>
-</body>
-</html>
diff --git a/tools/regression/src/boost_svn_export_archive.sh b/tools/regression/src/boost_svn_export_archive.sh
deleted file mode 100755
index e86d377ab9..0000000000
--- a/tools/regression/src/boost_svn_export_archive.sh
+++ /dev/null
@@ -1,70 +0,0 @@
-#!/bin/sh
-
-#~ Copyright Redshift Software, Inc. 2007
-#~ Distributed under the Boost Software License, Version 1.0.
-#~ (See accompanying file LICENSE_1_0.txt or http://www.boost.org/LICENSE_1_0.txt)
-
-export PATH=/bin:/usr/bin:${PATH}
-
-timestamp=`date +%F-%H-%M-%S-%Z`
-branch=$1
-revision=`svn info file:///home/subversion/boost/${branch} | grep '^Revision:' | cut --byte=11-`
-tag=boost-${1/\/*}-${timestamp}
-export_dir=boost-$$
-
-# Remove files as listed in stdin, the assumption is that processing
-# of the file is complete and can be removed.
-rm_c()
-{
- while read f; do
- rm -f ${f}
- done
-}
-# Generate the export file tree, and incrementally output the files
-# created.
-svn_export()
-{
- svn export -r ${revision} file:///home/subversion/boost/${branch} ${tag}
- echo "Revision: ${revision}" > ${tag}/svn_info.txt
- echo "---- ${tag}/svn_info.txt"
-}
-# Create the archive incrementally, deleting files as we are done
-# adding them to the archive.
-make_archive()
-{
- svn_export \
- | cut --bytes=6- \
- | star -c -D -to-stdout -d artype=pax list=- 2>/dev/null \
- | bzip2 -6 -c \
- | tee $1 \
- | tar -jtf - \
- | rm_c
-}
-
-run()
-{
- cd /tmp
- rm -rf ${export_dir}
- mkdir ${export_dir}
- cd ${export_dir}
- mkfifo out.tbz2
- make_archive out.tbz2 &
- cat out.tbz2
- cd /tmp
- rm -rf ${export_dir}
-}
-
-run_debug()
-{
- rm -rf ${export_dir}
- mkdir ${export_dir}
- cd ${export_dir}
- mkfifo out.tbz2
- make_archive out.tbz2 &
- cat out.tbz2 > ../${tag}.tar.bz2
- cd ..
- rm -rf ${export_dir}
-}
-
-run
-#run_debug
diff --git a/tools/regression/src/collect_and_upload_logs.py b/tools/regression/src/collect_and_upload_logs.py
deleted file mode 100644
index 7f1345bd6f..0000000000
--- a/tools/regression/src/collect_and_upload_logs.py
+++ /dev/null
@@ -1,546 +0,0 @@
-
-# Copyright (c) MetaCommunications, Inc. 2003-2007
-#
-# Distributed under the Boost Software License, Version 1.0.
-# (See accompanying file LICENSE_1_0.txt or copy at
-# http://www.boost.org/LICENSE_1_0.txt)
-
-import xml.sax.saxutils
-import zipfile
-import ftplib
-import time
-import stat
-import xml.dom.minidom
-import xmlrpclib
-import httplib
-
-import os.path
-import string
-import sys
-import re
-import urlparse
-
-
-def process_xml_file( input_file, output_file ):
- utils.log( 'Processing test log "%s"' % input_file )
-
- f = open( input_file, 'r' )
- xml = f.readlines()
- f.close()
-
- for i in range( 0, len(xml)):
- xml[i] = string.translate( xml[i], utils.char_translation_table )
-
- output_file.writelines( xml )
-
-
-def process_test_log_files( output_file, dir, names ):
- for file in names:
- if os.path.basename( file ) == 'test_log.xml':
- process_xml_file( os.path.join( dir, file ), output_file )
-
-
-def collect_test_logs( input_dirs, test_results_writer ):
- __log__ = 1
- utils.log( 'Collecting test logs ...' )
- for input_dir in input_dirs:
- utils.log( 'Walking directory "%s" ...' % input_dir )
- os.path.walk( input_dir, process_test_log_files, test_results_writer )
-
-dart_status_from_result = {
- 'succeed': 'passed',
- 'fail': 'failed',
- 'note': 'passed',
- '': 'notrun'
- }
-
-dart_project = {
- 'trunk': 'Boost_HEAD',
- '': 'Boost_HEAD'
- }
-
-dart_track = {
- 'full': 'Nightly',
- 'incremental': 'Continuous',
- '': 'Experimental'
- }
-
-ascii_only_table = ""
-for i in range(0,256):
- if chr(i) == '\n' or chr(i) == '\r':
- ascii_only_table += chr(i)
- elif i < 32 or i >= 0x80:
- ascii_only_table += '?'
- else:
- ascii_only_table += chr(i)
-
-class xmlrpcProxyTransport(xmlrpclib.Transport):
- def __init__(self, proxy):
- self.proxy = proxy
- def make_connection(self, host):
- self.realhost = host
- return httplib.HTTP(self.proxy)
- def send_request(self, connection, handler, request_body):
- connection.putrequest('POST','http://%s%s' % (self.realhost,handler))
- def send_host(self, connection, host):
- connection.putheader('Host',self.realhost)
-
-
-def publish_test_logs(
- input_dirs,
- runner_id, tag, platform, comment_file, timestamp, user, source, run_type,
- dart_server = None,
- http_proxy = None,
- **unused
- ):
- __log__ = 1
- utils.log( 'Publishing test logs ...' )
- dart_rpc = None
- dart_dom = {}
-
- def _publish_test_log_files_ ( unused, dir, names ):
- for file in names:
- if os.path.basename( file ) == 'test_log.xml':
- utils.log( 'Publishing test log "%s"' % os.path.join(dir,file) )
- if dart_server:
- log_xml = open(os.path.join(dir,file)).read().translate(ascii_only_table)
- #~ utils.log( '--- XML:\n%s' % log_xml)
- #~ It seems possible to get an empty XML result file :-(
- if log_xml == "": continue
- log_dom = xml.dom.minidom.parseString(log_xml)
- test = {
- 'library': log_dom.documentElement.getAttribute('library'),
- 'test-name': log_dom.documentElement.getAttribute('test-name'),
- 'toolset': log_dom.documentElement.getAttribute('toolset')
- }
- if not test['test-name'] or test['test-name'] == '':
- test['test-name'] = 'unknown'
- if not test['toolset'] or test['toolset'] == '':
- test['toolset'] = 'unknown'
- if not dart_dom.has_key(test['toolset']):
- dart_dom[test['toolset']] = xml.dom.minidom.parseString(
-'''<?xml version="1.0" encoding="UTF-8"?>
-<DartSubmission version="2.0" createdby="collect_and_upload_logs.py">
- <Site>%(site)s</Site>
- <BuildName>%(buildname)s</BuildName>
- <Track>%(track)s</Track>
- <DateTimeStamp>%(datetimestamp)s</DateTimeStamp>
-</DartSubmission>
-''' % {
- 'site': runner_id,
- 'buildname': "%s -- %s (%s)" % (platform,test['toolset'],run_type),
- 'track': dart_track[run_type],
- 'datetimestamp' : timestamp
- } )
- submission_dom = dart_dom[test['toolset']]
- for node in log_dom.documentElement.childNodes:
- if node.nodeType == xml.dom.Node.ELEMENT_NODE:
- if node.firstChild:
- log_data = xml.sax.saxutils.escape(node.firstChild.data)
- else:
- log_data = ''
- test_dom = xml.dom.minidom.parseString('''<?xml version="1.0" encoding="UTF-8"?>
-<Test>
- <Name>.Test.Boost.%(tag)s.%(library)s.%(test-name)s.%(type)s</Name>
- <Status>%(result)s</Status>
- <Measurement name="Toolset" type="text/string">%(toolset)s</Measurement>
- <Measurement name="Timestamp" type="text/string">%(timestamp)s</Measurement>
- <Measurement name="Log" type="text/text">%(log)s</Measurement>
-</Test>
- ''' % {
- 'tag': tag,
- 'library': test['library'],
- 'test-name': test['test-name'],
- 'toolset': test['toolset'],
- 'type': node.nodeName,
- 'result': dart_status_from_result[node.getAttribute('result')],
- 'timestamp': node.getAttribute('timestamp'),
- 'log': log_data
- })
- submission_dom.documentElement.appendChild(
- test_dom.documentElement.cloneNode(1) )
-
- for input_dir in input_dirs:
- utils.log( 'Walking directory "%s" ...' % input_dir )
- os.path.walk( input_dir, _publish_test_log_files_, None )
- if dart_server:
- try:
- rpc_transport = None
- if http_proxy:
- rpc_transport = xmlrpcProxyTransport(http_proxy)
- dart_rpc = xmlrpclib.ServerProxy(
- 'http://%s/%s/Command/' % (dart_server,dart_project[tag]),
- rpc_transport )
- for dom in dart_dom.values():
- #~ utils.log('Dart XML: %s' % dom.toxml('utf-8'))
- dart_rpc.Submit.put(xmlrpclib.Binary(dom.toxml('utf-8')))
- except Exception, e:
- utils.log('Dart server error: %s' % e)
-
-
-def upload_to_ftp( tag, results_file, ftp_proxy, debug_level, ftp_url ):
-
- if not ftp_url:
- ftp_host = 'boost.cowic.de'
- ftp_url = ''.join(['ftp','://anonymous','@',ftp_host,'/boost/do-not-publish-this-url/results/'])
- utils.log( 'Uploading log archive "%s" to %s/%s' % ( results_file, ftp_url, tag ) )
-
- ftp_parts = urlparse.urlparse(ftp_url)
- ftp_netloc = re.split('[@]',ftp_parts[1])
- ftp_user = re.split('[:]',ftp_netloc[0])[0]
- ftp_password = re.split('[:]',ftp_netloc[0]+':anonymous')[1]
- ftp_site = re.split('[:]',ftp_netloc[1])[0]
- ftp_path = ftp_parts[2]
-
- if not ftp_proxy:
- ftp = ftplib.FTP( ftp_site )
- ftp.set_debuglevel( debug_level )
- ftp.login( ftp_user, ftp_password )
- else:
- utils.log( ' Connecting through FTP proxy server "%s"' % ftp_proxy )
- ftp = ftplib.FTP( ftp_proxy )
- ftp.set_debuglevel( debug_level )
- ftp.set_pasv (0) # turn off PASV mode
- ftp.login( '%s@%s' % (ftp_user,ftp_site), ftp_password )
-
- ftp.cwd( ftp_path )
- try:
- ftp.cwd( tag )
- except ftplib.error_perm:
- for dir in tag.split( '/' ):
- ftp.mkd( dir )
- ftp.cwd( dir )
-
- f = open( results_file, 'rb' )
- ftp.storbinary( 'STOR %s' % os.path.basename( results_file ), f )
- ftp.quit()
-
-
-def copy_comments( results_xml, comment_file ):
- results_xml.startElement( 'comment', {} )
-
- if os.path.exists( comment_file ):
- utils.log( 'Reading comments file "%s"...' % comment_file )
- f = open( comment_file, 'r' )
- try:
- results_xml.characters( f.read() )
- finally:
- f.close()
- else:
- utils.log( 'Warning: comment file "%s" is not found.' % comment_file )
-
- lines = ['']
- for arg in sys.argv:
- # Make sure that the ftp details are hidden
- arg = re.sub( 'ftp://.*$', 'ftp://XXXXX', arg )
-
- # Escape quotes
- arg = re.sub( r'(\\|")', r'\\\1', arg )
-
- # Quote arguments if needed
- if arg.find( ' ' ) != -1:
- arg = '"%s"' % arg
- if len( lines[-1] ) + len( arg ) + 2 >= 80:
- # align backslashes
- lines[-1] += ' ' * ( 79 - len( lines[-1] ) )
- # indent lines after the first
- lines.append( ' ' )
- lines[-1] += ( arg + ' ' )
-
- results_xml.characters( '<hr>' )
- results_xml.characters( '<dl>' )
- results_xml.characters( '<dt>Command Line</dt>' )
- results_xml.characters( '<dd>' )
- results_xml.characters( '<pre>' )
- results_xml.characters( '\\\n'.join(lines) )
- results_xml.characters( '</pre>' )
- results_xml.characters( '</dd>' )
- results_xml.characters( '</dl>\n' )
-
- results_xml.endElement( 'comment' )
-
-
-def compress_file( file_path, archive_path ):
- utils.log( 'Compressing "%s"...' % file_path )
-
- try:
- z = zipfile.ZipFile( archive_path, 'w', zipfile.ZIP_DEFLATED )
- z.write( file_path, os.path.basename( file_path ) )
- z.close()
- utils.log( 'Done writing "%s".'% archive_path )
- except Exception, msg:
- utils.log( 'Warning: Compressing falied (%s)' % msg )
- utils.log( ' Trying to compress using a platform-specific tool...' )
- try: import zip_cmd
- except ImportError:
- script_dir = os.path.dirname( os.path.abspath( sys.argv[0] ) )
- utils.log( 'Could not find \'zip_cmd\' module in the script directory (%s).' % script_dir )
- raise Exception( 'Compressing failed!' )
- else:
- if os.path.exists( archive_path ):
- os.unlink( archive_path )
- utils.log( 'Removing stale "%s".' % archive_path )
-
- zip_cmd.main( file_path, archive_path )
- utils.log( 'Done compressing "%s".' % archive_path )
-
-
-def read_timestamp( file ):
- if not os.path.exists( file ):
- result = time.gmtime()
- utils.log( 'Warning: timestamp file "%s" does not exist'% file )
- utils.log( 'Using current UTC time (%s)' % result )
- return result
-
- return time.gmtime( os.stat( file ).st_mtime )
-
-
-def collect_logs(
- results_dir
- , runner_id
- , tag
- , platform
- , comment_file
- , timestamp_file
- , user
- , source
- , run_type
- , dart_server = None
- , http_proxy = None
- , revision = ''
- , **unused
- ):
-
- timestamp = time.strftime( '%Y-%m-%dT%H:%M:%SZ', read_timestamp( timestamp_file ) )
-
- if dart_server:
- publish_test_logs( [ results_dir ],
- runner_id, tag, platform, comment_file, timestamp, user, source, run_type,
- dart_server = dart_server,
- http_proxy = http_proxy )
-
- results_file = os.path.join( results_dir, '%s.xml' % runner_id )
- results_writer = open( results_file, 'w' )
- utils.log( 'Collecting test logs into "%s"...' % results_file )
-
- results_xml = xml.sax.saxutils.XMLGenerator( results_writer )
- results_xml.startDocument()
- results_xml.startElement(
- 'test-run'
- , {
- 'tag': tag
- , 'platform': platform
- , 'runner': runner_id
- , 'timestamp': timestamp
- , 'source': source
- , 'run-type': run_type
- , 'revision': revision
- }
- )
-
- copy_comments( results_xml, comment_file )
- collect_test_logs( [ results_dir ], results_writer )
-
- results_xml.endElement( "test-run" )
- results_xml.endDocument()
- results_writer.close()
- utils.log( 'Done writing "%s".' % results_file )
-
- compress_file(
- results_file
- , os.path.join( results_dir,'%s.zip' % runner_id )
- )
-
-
-def upload_logs(
- results_dir
- , runner_id
- , tag
- , user
- , ftp_proxy
- , debug_level
- , send_bjam_log = False
- , timestamp_file = None
- , dart_server = None
- , ftp_url = None
- , **unused
- ):
-
- logs_archive = os.path.join( results_dir, '%s.zip' % runner_id )
- upload_to_ftp( tag, logs_archive, ftp_proxy, debug_level, ftp_url )
- if send_bjam_log:
- bjam_log_path = os.path.join( results_dir, 'bjam.log' )
- if not timestamp_file:
- timestamp_file = bjam_log_path
-
- timestamp = time.strftime( '%Y-%m-%d-%H-%M-%S', read_timestamp( timestamp_file ) )
- logs_archive = os.path.join( results_dir, '%s.%s.log.zip' % ( runner_id, timestamp ) )
- compress_file( bjam_log_path, logs_archive )
- upload_to_ftp( '%s/logs' % tag, logs_archive, ftp_proxy, debug_level, ftp_url )
-
-
-def collect_and_upload_logs(
- results_dir
- , runner_id
- , tag
- , platform
- , comment_file
- , timestamp_file
- , user
- , source
- , run_type
- , revision = None
- , ftp_proxy = None
- , debug_level = 0
- , send_bjam_log = False
- , dart_server = None
- , http_proxy = None
- , ftp_url = None
- , **unused
- ):
-
- collect_logs(
- results_dir
- , runner_id
- , tag
- , platform
- , comment_file
- , timestamp_file
- , user
- , source
- , run_type
- , revision = revision
- , dart_server = dart_server
- , http_proxy = http_proxy
- )
-
- upload_logs(
- results_dir
- , runner_id
- , tag
- , user
- , ftp_proxy
- , debug_level
- , send_bjam_log
- , timestamp_file
- , dart_server = dart_server
- , ftp_url = ftp_url
- )
-
-
-def accept_args( args ):
- args_spec = [
- 'locate-root='
- , 'runner='
- , 'tag='
- , 'platform='
- , 'comment='
- , 'timestamp='
- , 'source='
- , 'run-type='
- , 'user='
- , 'ftp-proxy='
- , 'proxy='
- , 'debug-level='
- , 'send-bjam-log'
- , 'help'
- , 'dart-server='
- , 'revision='
- , 'ftp='
- ]
-
- options = {
- '--tag' : 'trunk'
- , '--platform' : sys.platform
- , '--comment' : 'comment.html'
- , '--timestamp' : 'timestamp'
- , '--user' : None
- , '--source' : 'SVN'
- , '--run-type' : 'full'
- , '--ftp-proxy' : None
- , '--proxy' : None
- , '--debug-level' : 0
- , '--dart-server' : 'beta.boost.org:8081'
- , '--revision' : None
- , '--ftp' : None
-
- }
-
- utils.accept_args( args_spec, args, options, usage )
-
- return {
- 'results_dir' : options[ '--locate-root' ]
- , 'runner_id' : options[ '--runner' ]
- , 'tag' : options[ '--tag' ]
- , 'platform' : options[ '--platform']
- , 'comment_file' : options[ '--comment' ]
- , 'timestamp_file' : options[ '--timestamp' ]
- , 'user' : options[ '--user' ]
- , 'source' : options[ '--source' ]
- , 'run_type' : options[ '--run-type' ]
- , 'ftp_proxy' : options[ '--ftp-proxy' ]
- , 'http_proxy' : options[ '--proxy' ]
- , 'debug_level' : int(options[ '--debug-level' ])
- , 'send_bjam_log' : options.has_key( '--send-bjam-log' )
- , 'dart_server' : options[ '--dart-server' ]
- , 'revision' : options[ '--revision' ]
- , 'ftp' : options[ '--ftp' ]
- }
-
-
-commands = {
- 'collect-and-upload' : collect_and_upload_logs
- , 'collect-logs' : collect_logs
- , 'upload-logs' : upload_logs
- }
-
-def usage():
- print 'Usage: %s [command] [options]' % os.path.basename( sys.argv[0] )
- print '''
-Commands:
-\t%s
-
-Options:
-\t--locate-root directory to to scan for "test_log.xml" files
-\t--runner runner ID (e.g. "Metacomm")
-\t--timestamp path to a file which modification time will be used
-\t as a timestamp of the run ("timestamp" by default)
-\t--comment an HTML comment file to be inserted in the reports
-\t ("comment.html" by default)
-\t--tag the tag for the results ("trunk" by default)
-\t--user SourceForge user name for a shell account (optional)
-\t--source where Boost sources came from ("SVN" or "tarball";
-\t "SVN" by default)
-\t--run-type "incremental" or "full" ("full" by default)
-\t--send-bjam-log in addition to regular XML results, send in full bjam
-\t log of the regression run
-\t--proxy HTTP proxy server address and port (e.g.
-\t 'http://www.someproxy.com:3128', optional)
-\t--ftp-proxy FTP proxy server (e.g. 'ftpproxy', optional)
-\t--debug-level debugging level; controls the amount of debugging
-\t output printed; 0 by default (no debug output)
-\t--dart-server The dart server to send results to.
-\t--ftp The ftp URL to upload results to.
-''' % '\n\t'.join( commands.keys() )
-
-
-def main():
- if len(sys.argv) > 1 and sys.argv[1] in commands:
- command = sys.argv[1]
- args = sys.argv[ 2: ]
- else:
- command = 'collect-and-upload'
- args = sys.argv[ 1: ]
-
- commands[ command ]( **accept_args( args ) )
-
-
-if __name__ != '__main__': import utils
-else:
- # in absense of relative import...
- xsl_path = os.path.abspath( os.path.dirname( sys.argv[ 0 ] ) )
- while os.path.basename( xsl_path ) != 'xsl_reports': xsl_path = os.path.dirname( xsl_path )
- sys.path.append( xsl_path )
-
- import utils
- main()
diff --git a/tools/regression/src/compiler_status.cpp b/tools/regression/src/compiler_status.cpp
deleted file mode 100644
index 63f813445e..0000000000
--- a/tools/regression/src/compiler_status.cpp
+++ /dev/null
@@ -1,1131 +0,0 @@
-// Generate Compiler Status HTML from jam regression test output -----------//
-
-// Copyright Beman Dawes 2002.
-
-// Distributed under the Boost Software License, Version 1.0.
-// See http://www.boost.org/LICENSE_1_0.txt
-
-// See http://www.boost.org/tools/regression/ for documentation.
-
-/*******************************************************************************
-
- Please contact the maintainer, bdawes <at> acm <dot> org, before making
- any non-trivial changes.
-
- This program was designed to work unchanged on all platforms and
- configurations. All output which is platform or configuration dependent
- is obtained from external sources such as the .xml file from
- process_jam_log execution, the tools/build/xxx-tools.jam files, or the
- output of the config_info tests.
-
- Please avoid adding platform or configuration dependencies during
- program maintenance.
-
-*******************************************************************************/
-
-#include <boost/config/warning_disable.hpp>
-
-#include "boost/config.hpp"
-#include "boost/filesystem/operations.hpp"
-#include "boost/filesystem/convenience.hpp"
-#include "boost/filesystem/fstream.hpp"
-#include "detail/tiny_xml.hpp"
-namespace fs = boost::filesystem;
-namespace xml = boost::tiny_xml;
-
-#include <cstdlib> // for abort, exit
-#include <cctype> // for toupper, isdigit
-#include <string>
-#include <vector>
-#include <set>
-#include <map>
-#include <algorithm>
-#include <iostream>
-#include <fstream>
-#include <ctime>
-#include <stdexcept>
-#include <cassert>
-
-#include <stdio.h> // for popen, pclose
-#if defined(_MSC_VER)
-# define POPEN _popen
-# define PCLOSE _pclose
-#else
-# define POPEN popen
-# define PCLOSE pclose
-#endif
-
-using std::string;
-
-const string pass_msg( "Pass" );
-const string warn_msg( "<i>Warn</i>" );
-const string fail_msg( "<font color=\"#FF0000\"><i>Fail</i></font>" );
-const string note_msg( "<sup>*</sup>" );
-const string missing_residue_msg( "<i>Missing</i>" );
-
-const std::size_t max_compile_msg_size = 10000;
-
-namespace
-{
- fs::path boost_root; // boost-root complete path
- fs::path locate_root; // locate-root (AKA ALL_LOCATE_TARGET) complete path
-
- bool compile_time;
- bool run_time;
- bool ignore_pass;
- bool no_warn;
- bool no_links;
- bool boost_build_v2 = true;
-
- fs::path jamfile_path;
-
- fs::directory_iterator end_itr;
-
- // It's immportant for reliability that we find the same compilers for each
- // test, and that they match the column header. So save the names at the
- // time column headings are generated.
- std::vector<string> toolsets;
-
- fs::ifstream jamfile;
- fs::ofstream report;
- fs::ofstream links_file;
- string links_name;
-
- fs::path notes_path;
- string notes_html;
-
- fs::path notes_map_path;
- typedef std::multimap< string, string > notes_map; // key is test_name-toolset,
- // value is note bookmark
- notes_map notes;
-
- string specific_compiler; // if running on one toolset only
-
- const string empty_string;
-
- std::vector<int> error_count;
-
- // prefix for library and test hyperlink prefix
- string svn_root ( "http://svn.boost.org/trac/boost/browser/trunk/" );
- string url_prefix_dir_view( svn_root );
- string url_prefix_checkout_view( svn_root );
- string url_suffix_text_view( "" );
-
-// get revision number (as a string) if boost_root is svn working copy -----//
-
- string revision( const fs::path & boost_root )
- {
- string rev;
- string command("cd ");
- command += boost_root.string() + " & svn info";
- FILE* fp = POPEN(command.c_str(), "r");
- if (fp)
- {
- static const int line_max = 128;
- char line[line_max];
- while (fgets(line, line_max, fp) != NULL)
- {
- string ln(line);
- if (ln.find("Revision: ") != string::npos)
- {
- for(auto itr = ln.begin()+10; itr != ln.end() && isdigit(*itr); ++itr)
- rev += *itr;
- }
- }
- }
- std::cout << "Revision: " << rev << std::endl;
- return rev;
- }
-
-
-// build notes_bookmarks from notes HTML -----------------------------------//
-
- void build_notes_bookmarks()
- {
- if ( notes_map_path.empty() ) return;
- fs::ifstream notes_map_file( notes_map_path );
- if ( !notes_map_file )
- {
- std::cerr << "Could not open --notes-map input file: " << notes_map_path.string() << std::endl;
- std::exit( 1 );
- }
- string line;
- while( std::getline( notes_map_file, line ) )
- {
- string::size_type pos = 0;
- if ( (pos = line.find( ',', pos )) == string::npos ) continue;
- string key(line.substr( 0, pos ) );
- string bookmark( line.substr( pos+1 ) );
-
-// std::cout << "inserting \"" << key << "\",\"" << bookmark << "\"\n";
- notes.insert( notes_map::value_type( key, bookmark ) );
- }
- }
-
-// load_notes_html ---------------------------------------------------------//
-
- bool load_notes_html()
- {
- if ( notes_path.empty() ) return false;
- fs::ifstream notes_file( notes_path );
- if ( !notes_file )
- {
- std::cerr << "Could not open --notes input file: " << notes_path.string() << std::endl;
- std::exit( 1 );
- }
- string line;
- bool in_body( false );
- while( std::getline( notes_file, line ) )
- {
- if ( in_body && line.find( "</body>" ) != string::npos ) in_body = false;
- if ( in_body ) notes_html += line;
- else if ( line.find( "<body>" ) ) in_body = true;
- }
- return true;
- }
-
-// relative path between two paths -----------------------------------------//
-
- void relative_path( const fs::path & from, const fs::path & to,
- fs::path & target )
- {
- if ( from.string().size() <= to.string().size() ) return;
- target /= "..";
- relative_path( from.branch_path(), to, target );
- return;
- }
-
-// extract object library name from target directory string ----------------//
-
- string extract_object_library_name( const string & s )
- {
- string t( s );
- string::size_type pos = t.find( "/build/" );
- if ( pos != string::npos ) pos += 7;
- else if ( (pos = t.find( "/test/" )) != string::npos ) pos += 6;
- else return "";
- return t.substr( pos, t.find( "/", pos ) - pos );
- }
-
-// find_file ---------------------------------------------------------------//
-// given a directory to recursively search
-
- bool find_file( const fs::path & dir_path, const string & name,
- fs::path & path_found, const string & ignore_dir_named="" )
- {
- if ( !fs::exists( dir_path ) ) return false;
- for ( fs::directory_iterator itr( dir_path ); itr != end_itr; ++itr )
- if ( fs::is_directory( *itr )
- && itr->path().filename() != ignore_dir_named )
- {
- if ( find_file( *itr, name, path_found ) ) return true;
- }
- else if ( itr->path().filename() == name )
- {
- path_found = *itr;
- return true;
- }
- return false;
- }
-
-// platform_desc -----------------------------------------------------------//
-
- string platform_desc()
- {
- string result = BOOST_PLATFORM;
- result[0] = std::toupper( result[0] );
- return result;
- }
-
-// version_desc ------------------------------------------------------------//
-// from locate-root/status/bin/config_info.test/xxx/.../config_info.output
-
- string version_desc( const string & compiler_name )
- {
- string result;
- fs::path dot_output_path;
- if ( find_file( locate_root / "bin/boost/status/config_info.test"
- / compiler_name, "config_info.output", dot_output_path )
- || find_file( locate_root / "status/bin/config_info.test"
- / compiler_name, "config_info.output", dot_output_path ) )
- {
- fs::ifstream file( dot_output_path );
- if ( file )
- {
- if( std::getline( file, result ) )
- {
- string::size_type pos = result.find( "version " );
- if ( pos != string::npos )
- {
- result.erase( 0, pos+8 );
- }
- else result.clear();
- }
- }
- }
- return result;
- }
-
-// compiler_desc -----------------------------------------------------------//
-// from boost-root/tools/build/xxx-tools.jam
-
- string compiler_desc( const string & compiler_name )
- {
- string result;
- fs::path tools_path( boost_root / "tools/build/v1" / (compiler_name
- + "-tools.jam") );
- if ( !fs::exists( tools_path ) )
- tools_path = boost_root / "tools/build" / (compiler_name + "-tools.jam");
- fs::ifstream file( tools_path );
- if ( file )
- {
- while( std::getline( file, result ) )
- {
- if ( result.substr( 0, 3 ) == "#//" )
- {
- result.erase( 0, 3 );
- return result;
- }
- }
- result.clear();
- }
- return result;
- }
-
-// target_directory --------------------------------------------------------//
-// this amounts to a request to find a unique leaf directory
-
- fs::path target_directory( const fs::path & root )
- {
- if ( !fs::exists( root ) ) return fs::path("no-such-path");
- fs::path child;
- for ( fs::directory_iterator itr( root ); itr != end_itr; ++itr )
- {
- if ( fs::is_directory( *itr ) )
- {
- // SunCC creates an internal subdirectory everywhere it writes
- // object files. This confuses the target_directory() algorithm.
- // This patch ignores the SunCC internal directory. Jens Maurer
- if ( itr->path().filename() == "SunWS_cache" ) continue;
- // SGI does something similar for template instantiations. Jens Maurer
- if( itr->path().filename() == "ii_files" ) continue;
-
- if ( child.empty() ) child = *itr;
- else
- {
- std::cout << "Warning: only first of two target possibilities will be reported for: \n "
- << root.string() << ": " << child.filename()
- << " and " << itr->path().filename() << "\n";
- }
- }
- }
- if ( child.empty() ) return root; // this dir has no children
- return target_directory( child );
- }
-
-// element_content ---------------------------------------------------------//
-
- const string & element_content(
- const xml::element & root, const string & name )
- {
- static string empty_string;
- xml::element_list::const_iterator itr;
- for ( itr = root.elements.begin();
- itr != root.elements.end() && (*itr)->name != name;
- ++itr ) {}
- return itr != root.elements.end() ? (*itr)->content : empty_string;
- }
-
-// find_element ------------------------------------------------------------//
-
- const xml::element empty_element;
-
- const xml::element & find_element(
- const xml::element & root, const string & name )
- {
- xml::element_list::const_iterator itr;
- for ( itr = root.elements.begin();
- itr != root.elements.end() && (*itr)->name != name;
- ++itr ) {}
- return itr != root.elements.end() ? *((*itr).get()) : empty_element;
- }
-
-// attribute_value ----------------------------------------------------------//
-
-const string & attribute_value( const xml::element & element,
- const string & attribute_name )
-{
- static const string empty_string;
- xml::attribute_list::const_iterator atr;
- for ( atr = element.attributes.begin();
- atr != element.attributes.end() && atr->name != attribute_name;
- ++atr ) {}
- return atr == element.attributes.end() ? empty_string : atr->value;
-}
-
-// find_bin_path -----------------------------------------------------------//
-
-// Takes a relative path from boost root to a Jamfile.
-// Returns the directory where the build targets from
-// that Jamfile are located. If not found, emits a warning
-// and returns empty path.
-const fs::path find_bin_path(const string& relative)
-{
- fs::path bin_path;
- if (boost_build_v2)
- {
- if ( relative == "status" )
- bin_path = locate_root / "bin.v2" / "libs";
- else
- {
- bin_path = locate_root / "bin.v2" / relative;
- if (!fs::exists(bin_path))
- bin_path = locate_root / "bin" / relative;
- }
- if (!fs::exists(bin_path))
- {
- std::cerr << "warning: could not find build results for '"
- << relative << "'.\n";
- std::cerr << "warning: tried directory "
- << bin_path.string() << "\n";
- bin_path = "";
- }
- }
- else
- {
- bin_path = locate_root / "bin/boost" / relative;
- if (!fs::exists(bin_path))
- {
- bin_path = locate_root / "bin" / relative / "bin";
- if (!fs::exists(bin_path))
- {
- bin_path = fs::path( locate_root / relative / "bin" );
- if (!fs::exists(bin_path))
- {
- bin_path = fs::path( locate_root / "bin/boost/libs" /
- relative.substr( relative.find( '/' )+1 ) );
- }
- }
- }
- if (!fs::exists(bin_path))
- {
- std::cerr << "warning: could not find build results for '"
- << relative << "'.\n";
- bin_path = "";
- }
- }
- return bin_path;
-}
-
-
-// generate_report ---------------------------------------------------------//
-
- // return 0 if nothing generated, 1 otherwise, except 2 if compiler msgs
- int generate_report( const xml::element & db,
- const string & source_library_name,
- const string & test_type,
- const string & test_name, // possibly object library name
- const string & toolset,
- bool pass,
- bool always_show_run_output = false )
- {
- // compile msgs sometimes modified, so make a local copy
- string compile( ((pass && no_warn)
- ? empty_string : element_content( db, "compile" )) );
- const string & link( pass ? empty_string : element_content( db, "link" ) );
- const string & run( (pass && !always_show_run_output)
- ? empty_string : element_content( db, "run" ) );
- string lib( (pass ? empty_string : element_content( db, "lib" )) );
-
- string::size_type pos;
- if ( (pos = compile.find("30 DAY EVALUATION LICENSE")) != string::npos )
- {
- compile.erase(pos, 25);
- while ( compile[0] == '\n' || compile[0] == '\r' ) compile.erase(0,1);
- }
-
- // some compilers output the filename even if there are no errors or
- // warnings; detect this if one line of output and it contains no space.
- pos = compile.find( '\n', 1 );
- if ( pos != string::npos && compile.size()-pos <= 2
- && compile.find( ' ' ) == string::npos ) compile.clear();
-
- if ( lib.empty()
- && (compile.empty() || test_type == "compile_fail")
- && link.empty() && run.empty() ) return 0;
-
- int result = 1; // some kind of msg for sure
-
- // limit compile message length
- if ( compile.size() > max_compile_msg_size )
- {
- compile.erase( max_compile_msg_size );
- compile += "...\n (remainder deleted because of excessive size)\n";
- }
-
- links_file << "<h2><a name=\""
- << source_library_name << "-" << test_name << "-" << toolset << "\">"
- << source_library_name << " - " << test_name << " - " << toolset << "</a></h2>\n";
-
- if ( !compile.empty() )
- {
- ++result;
- links_file << "<h3>Compiler output:</h3><pre>"
- << compile << "</pre>\n";
- }
- if ( !link.empty() )
- links_file << "<h3>Linker output:</h3><pre>" << link << "</pre>\n";
- if ( !run.empty() )
- links_file << "<h3>Run output:</h3><pre>" << run << "</pre>\n";
-
- // for an object library failure, generate a reference to the object
- // library failure message, and (once only) generate the object
- // library failure message itself
- static std::set< string > failed_lib_target_dirs; // only generate once
- if ( !lib.empty() )
- {
- if ( lib[0] == '\n' ) lib.erase( 0, 1 );
- string object_library_name( extract_object_library_name( lib ) );
-
- // changing the target directory naming scheme breaks
- // extract_object_library_name()
- assert( !object_library_name.empty() );
- if ( object_library_name.empty() )
- std::cerr << "Failed to extract object library name from " << lib << "\n";
-
- links_file << "<h3>Library build failure: </h3>\n"
- "See <a href=\"#"
- << source_library_name << "-"
- << object_library_name << "-" << toolset << "\">"
- << source_library_name << " - "
- << object_library_name << " - " << toolset << "</a>";
-
- if ( failed_lib_target_dirs.find( lib ) == failed_lib_target_dirs.end() )
- {
- failed_lib_target_dirs.insert( lib );
- fs::path pth( locate_root / lib / "test_log.xml" );
- fs::ifstream file( pth );
- if ( file )
- {
- xml::element_ptr db = xml::parse( file, pth.string() );
- generate_report( *db, source_library_name, test_type, object_library_name, toolset, false );
- }
- else
- {
- links_file << "<h2><a name=\""
- << object_library_name << "-" << toolset << "\">"
- << object_library_name << " - " << toolset << "</a></h2>\n"
- "test_log.xml not found\n";
- }
- }
- }
- return result;
- }
-
- // add_notes --------------------------------------------------------------//
-
- void add_notes( const string & key, bool fail, string & sep, string & target )
- {
- notes_map::const_iterator itr = notes.lower_bound( key );
- if ( itr != notes.end() && itr->first == key )
- {
- for ( ; itr != notes.end() && itr->first == key; ++itr )
- {
- string note_desc( itr->second[0] == '-'
- ? itr->second.substr( 1 ) : itr->second );
- if ( fail || itr->second[0] == '-' )
- {
- target += sep;
- sep = ",";
- target += "<a href=\"";
- target += "#";
- target += note_desc;
- target += "\">";
- target += note_desc;
- target += "</a>";
- }
- }
- }
- }
-
- // get_notes -------------------------------------------------------------//
-
- string get_notes( const string & toolset,
- const string & library, const string & test, bool fail )
- {
- string sep;
- string target( "<sup>" );
- add_notes( toolset + "/" + library + "/" + test, fail, sep, target );
- add_notes( "*/" + library + "/" + test, fail, sep, target );
- add_notes( toolset + "/" + library + "/*", fail, sep, target );
- add_notes( "*/" + library + "/*", fail, sep, target );
- if ( target == "<sup>" ) target.clear();
- else target += "</sup>";
- return target;
- }
-
- // do_cell ---------------------------------------------------------------//
-
- bool do_cell(
- int compiler,
- const string & lib_name,
- const fs::path & test_dir,
- const string & test_type,
- const string & test_name,
- const string & toolset,
- string & target,
- bool always_show_run_output )
- // return true if any results except simple pass_msg
- {
- fs::path target_dir( target_directory( test_dir / toolset ) );
- bool pass = false;
-
- if ( !fs::exists( target_dir / "test_log.xml" ) )
- {
- std::cerr << "Missing test_log.xml in target:\n "
- << target_dir.string() << "\n";
- target += "<td>" + missing_residue_msg + "</td>";
- return true;
- }
-
- int anything_generated = 0;
- bool note = false;
-
- fs::path pth( target_dir / "test_log.xml" );
- fs::ifstream file( pth );
- if ( !file )
- {
- std::cerr << "Can't open test_log.xml in target:\n "
- << target_dir.string() << "\n";
- target += "<td>" + missing_residue_msg + "</td>";
- return false;
- }
-
- xml::element_ptr dbp = xml::parse( file, pth.string() );
- const xml::element & db( *dbp );
-
- std::string test_type_base( test_type );
- if ( test_type_base == "run_pyd" ) test_type_base = "run";
- else if ( test_type_base.size() > 5 )
- {
- const string::size_type trailer = test_type_base.size() - 5;
- if ( test_type_base.substr( trailer ) == "_fail" )
- {
- test_type_base.erase( trailer );
- }
- }
- const xml::element & test_type_element( find_element( db, test_type_base ) );
-
- pass = !test_type_element.name.empty()
- && attribute_value( test_type_element, "result" ) != "fail";
-
- if ( !no_links )
- {
- note = attribute_value( test_type_element, "result" ) == "note";
-
- // generate bookmarked report of results, and link to it
- anything_generated
- = generate_report( db, lib_name, test_type, test_name, toolset, pass,
- always_show_run_output || note );
- }
-
- target += "<td>";
-
- // generate the status table cell pass/warn/fail HTML
- if ( anything_generated != 0 )
- {
- target += "<a href=\"";
- target += links_name;
- target += "#";
- target += lib_name;
- target += "-";
- target += test_name;
- target += "-";
- target += toolset;
- target += "\">";
- target += pass
- ? (anything_generated < 2 ? pass_msg : warn_msg)
- : fail_msg;
- target += "</a>";
- if ( pass && note ) target += note_msg;
- }
- else target += pass ? pass_msg : fail_msg;
-
- // if notes, generate the superscript HTML
- if ( !notes.empty() )
- target += get_notes( toolset, lib_name, test_name, !pass );
-
- // generate compile-time if requested
- if ( compile_time )
- {
- const xml::element & compile_element( find_element( db, "compile" ) );
-
- if ( !compile_element.name.empty() )
- {
- string times = attribute_value( compile_element, "timings" );
- if ( !times.empty() )
- {
- target += "<br>";
- target += times.substr( 0, times.find( " " ) );
- }
- }
- }
-
- // generate run-time if requested
- if ( run_time )
- {
- const xml::element & run_element( find_element( db, "run" ) );
-
- if ( !run_element.name.empty() )
- {
- string times = attribute_value( run_element, "timings" );
- if ( !times.empty() )
- {
- target += "<br>";
- target += times.substr( 0, times.find( " " ) );
- }
- }
- }
-
- if ( !pass ) ++error_count[compiler];
-
- target += "</td>";
- return (anything_generated != 0) || !pass;
- }
-
-// do_row ------------------------------------------------------------------//
-
- void do_row(
- const fs::path & test_dir, // locate_root / "status/bin/any_test.test"
- const string & test_name, // "any_test"
- string & target )
- {
- // get library name, test-type, test-program path, etc., from the .xml file
- string lib_name;
- string test_path( test_name ); // test_name is default if missing .test
- string test_type( "unknown" );
- bool always_show_run_output( false );
- fs::path xml_file_path;
- if ( find_file( test_dir, "test_log.xml", xml_file_path ) )
- {
- fs::ifstream file( xml_file_path );
- if ( file )
- {
- xml::element_ptr dbp = xml::parse( file, xml_file_path.string() );
- const xml::element & db( *dbp );
- test_path = attribute_value( db, "test-program" );
- lib_name = attribute_value( db, "library" );
- test_type = attribute_value( db, "test-type" );
- always_show_run_output
- = attribute_value( db, "show-run-output" ) == "true";
- }
- }
-
- // generate the library name, test name, and test type table data
- string::size_type row_start_pos = target.size();
- target += "<tr><td><a href=\"" + url_prefix_dir_view + "/libs/" + lib_name
- + "\">" + lib_name + "</a></td>";
- target += "<td><a href=\"" + url_prefix_checkout_view + "/" + test_path
- + url_suffix_text_view + "\">" + test_name + "</a>";
-
- if ( compile_time ) target += "<br> Compile time:";
- if ( run_time ) target += "<br> Run time:";
-
- target += "</td>";
- target += "<td>" + test_type + "</td>";
-
- bool no_warn_save = no_warn;
- //if ( test_type.find( "fail" ) != string::npos ) no_warn = true;
-
- // for each compiler, generate <td>...</td> html
- bool anything_to_report = false;
- int compiler = 0;
- for ( std::vector<string>::const_iterator itr=toolsets.begin();
- itr != toolsets.end(); ++itr, ++compiler )
- {
- anything_to_report |= do_cell( compiler, lib_name, test_dir, test_type, test_name, *itr, target,
- always_show_run_output );
- }
-
- target += "</tr>";
- if ( ignore_pass && !anything_to_report ) target.erase( row_start_pos );
- no_warn = no_warn_save;
- }
-
-// do_rows_for_sub_tree ----------------------------------------------------//
-
- void do_rows_for_sub_tree(
- const fs::path & bin_dir, std::vector<string> & results )
- {
- for ( fs::directory_iterator itr( bin_dir ); itr != end_itr; ++itr )
- {
- if ( fs::is_directory( *itr )
- && itr->path().string().find( ".test" ) == (itr->path().string().size()-5) )
- {
- results.push_back( std::string() );
- do_row( *itr,
- itr->path().filename().string().substr( 0,
- itr->path().filename().string().size()-5 ),
- results[results.size()-1] );
- }
- }
- }
-
-// find_compilers ------------------------------------------------------------//
-
- void find_compilers(const fs::path & bin_dir)
- {
- fs::directory_iterator compiler_itr( bin_dir );
- if ( specific_compiler.empty() )
- std::clog << "Using " << bin_dir.string() << " to determine compilers\n";
- for (; compiler_itr != end_itr; ++compiler_itr )
- {
- if ( fs::is_directory( *compiler_itr ) // check just to be sure
- && compiler_itr->path().filename() != "test" ) // avoid strange directory (Jamfile bug?)
- {
- if ( specific_compiler.size() != 0
- && specific_compiler != compiler_itr->path().filename() ) continue;
- toolsets.push_back( compiler_itr->path().filename().string() );
- string desc( compiler_desc( compiler_itr->path().filename().string() ) );
- string vers( version_desc( compiler_itr->path().filename().string() ) );
- report << "<td>"
- << (desc.size() ? desc : compiler_itr->path().filename().string())
- << (vers.size() ? (string( "<br>" ) + vers ) : string( "" ))
- << "</td>\n";
- error_count.push_back( 0 );
- }
- }
- }
-
-// do_table_body -----------------------------------------------------------//
-
- void do_table_body( const fs::path & bin_dir )
- {
- // rows are held in a vector so they can be sorted, if desired.
- std::vector<string> results;
-
- // do primary bin directory
- do_rows_for_sub_tree( bin_dir, results );
-
- // do subinclude bin directories
- jamfile.clear();
- jamfile.seekg(0);
- string line;
- bool run_tests = false;
-
- while( std::getline( jamfile, line ) )
- {
- bool v2(false);
- string::size_type sub_pos( line.find( "subinclude" ) );
- if ( sub_pos == string::npos ) {
- sub_pos = line.find( "build-project" );
- v2 = true;
- }
- if ( sub_pos != string::npos
- && line.find( '#' ) > sub_pos )
- {
- if (v2)
- sub_pos = line.find_first_not_of( " \t./", sub_pos+13 );
- else
- sub_pos = line.find_first_not_of( " \t./", sub_pos+10 );
-
- if ( sub_pos == string::npos ) continue;
- string subinclude_bin_dir(
- line.substr( sub_pos, line.find_first_of( " \t", sub_pos )-sub_pos ) );
-
- fs::path bin_path = find_bin_path(subinclude_bin_dir);
- if (!bin_path.empty())
- do_rows_for_sub_tree( bin_path, results );
- }
- if ( ! run_tests )
- {
- string::size_type run_pos = line.find("run-tests");
- if ( run_pos != string::npos && line.find_first_not_of(" \t") == run_pos )
- run_tests = true;
- }
- else
- {
- if ( line.find(";") != string::npos )
- run_tests = false;
- else
- {
- string::size_type pos = line.find_first_not_of( " \t" );
- if ( pos != string::npos && line[pos] != '#' )
- {
- string::size_type end_pos = line.find_first_of(" \t#", pos);
- string::iterator end = end_pos != string::npos ? line.begin() + end_pos : line.end();
- string run_tests_bin_dir(line.begin() + pos, end);
- fs::path bin_path = find_bin_path("libs/" + run_tests_bin_dir);
- if (!bin_path.empty())
- do_rows_for_sub_tree( bin_path, results );
- }
- }
- }
- }
-
-
- std::sort( results.begin(), results.end() );
-
- for ( std::vector<string>::iterator v(results.begin());
- v != results.end(); ++v )
- { report << *v << "\n"; }
- }
-
-// do_table ----------------------------------------------------------------//
-
- void do_table()
- {
- // Find test result locations, trying:
- // - Boost.Build V1 location with ALL_LOCATE_TARGET
- // - Boost.Build V2 location with top-lelve "build-dir"
- // - Boost.Build V1 location without ALL_LOCATE_TARGET
- string relative( fs::initial_path().string() );
-
-#ifdef BOOST_WINDOWS_API
- if (relative.size() > 1 && relative[1] == ':') relative[0] = std::tolower(relative[0]);
-#endif
-
- if ( relative.find(boost_root.string()) != string::npos )
- relative.erase( 0, boost_root.string().size()+1 );
- else if ( relative.find(locate_root.string()) != string::npos )
- relative.erase( 0, locate_root.string().size()+1 );
- fs::path bin_path = find_bin_path(relative);
-
- report << "<table border=\"1\" cellspacing=\"0\" cellpadding=\"5\">\n";
-
- // generate the column headings
-
- report << "<tr><td>Library</td><td>Test Name</td>\n"
- "<td><a href=\"compiler_status.html#test-type\">Test Type</a></td>\n";
-
- if ( relative == "status" )
- {
- fs::recursive_directory_iterator ritr( bin_path );
- fs::recursive_directory_iterator end_ritr;
- while ( ritr != end_ritr
- && ((ritr->path().string().find( ".test" ) != (ritr->path().string().size()-5))
- || !fs::is_directory( *ritr )))
- ++ritr; // bypass chaff
- if ( ritr != end_ritr )
- {
- find_compilers( *ritr );
- }
- }
- else
- {
- fs::directory_iterator itr( bin_path );
- while ( itr != end_itr
- && ((itr->path().string().find( ".test" ) != (itr->path().string().size()-5))
- || !fs::is_directory( *itr )))
- ++itr; // bypass chaff
- if ( itr != end_itr )
- {
- find_compilers( *itr );
- }
- }
-
- report << "</tr>\n";
-
- // now the rest of the table body
-
- do_table_body( bin_path );
-
- // error total row
-
- report << "<tr> <td> &nbsp;</td><td>Number of Failures</td><td> &nbsp;</td>\n";
-
- // for each compiler, generate <td>...</td> html
- int compiler = 0;
- for ( std::vector<string>::const_iterator itr=toolsets.begin();
- itr != toolsets.end(); ++itr, ++compiler )
- {
- report << "<td align=\"center\">" << error_count[compiler] << "</td>\n";
- }
-
- report << "</tr>\n</table>\n";
- }
-
-} // unnamed namespace
-
-// main --------------------------------------------------------------------//
-
-#define BOOST_NO_CPP_MAIN_SUCCESS_MESSAGE
-#include <boost/test/included/prg_exec_monitor.hpp>
-
-int cpp_main( int argc, char * argv[] ) // note name!
-{
- fs::path comment_path;
- while ( argc > 1 && *argv[1] == '-' )
- {
- if ( argc > 2 && std::strcmp( argv[1], "--compiler" ) == 0 )
- { specific_compiler = argv[2]; --argc; ++argv; }
- else if ( argc > 2 && std::strcmp( argv[1], "--locate-root" ) == 0 )
- { locate_root = fs::path( argv[2] ); --argc; ++argv; }
- else if ( argc > 2 && std::strcmp( argv[1], "--comment" ) == 0 )
- { comment_path = fs::path( argv[2] ); --argc; ++argv; }
- else if ( argc > 2 && std::strcmp( argv[1], "--notes" ) == 0 )
- { notes_path = fs::path( argv[2] ); --argc; ++argv; }
- else if ( argc > 2 && std::strcmp( argv[1], "--notes-map" ) == 0 )
- { notes_map_path = fs::path( argv[2] ); --argc; ++argv; }
- else if ( std::strcmp( argv[1], "--ignore-pass" ) == 0 ) ignore_pass = true;
- else if ( std::strcmp( argv[1], "--no-warn" ) == 0 ) no_warn = true;
- else if ( std::strcmp( argv[1], "--v1" ) == 0 ) boost_build_v2 = false;
- else if ( std::strcmp( argv[1], "--v2" ) == 0 ) boost_build_v2 = true;
- else if ( argc > 2 && std::strcmp( argv[1], "--jamfile" ) == 0)
- { jamfile_path = fs::path( argv[2] ); --argc; ++argv; }
- else if ( std::strcmp( argv[1], "--compile-time" ) == 0 ) compile_time = true;
- else if ( std::strcmp( argv[1], "--run-time" ) == 0 ) run_time = true;
- else { std::cerr << "Unknown option: " << argv[1] << "\n"; argc = 1; }
- --argc;
- ++argv;
- }
-
- if ( argc != 3 && argc != 4 )
- {
- std::cerr <<
- "Usage: compiler_status [options...] boost-root status-file [links-file]\n"
- " boost-root is the path to the boost tree root directory.\n"
- " status-file and links-file are paths to the output files.\n"
- "Must be run from directory containing Jamfile\n"
- " options: --compiler name Run for named compiler only\n"
- " --locate-root path Path to ALL_LOCATE_TARGET for bjam;\n"
- " default boost-root.\n"
- " --comment path Path to file containing HTML\n"
- " to be copied into status-file.\n"
- " --notes path Path to file containing HTML\n"
- " to be copied into status-file.\n"
- " --notes-map path Path to file of toolset/test,n lines, where\n"
- " n is number of note bookmark in --notes file.\n"
- " --jamfile path Path to Jamfile. By default \"Jamfile\".\n"
- " --v1 Assume Boost.Build version 1.\n"
- " --v2 Assume Boost.Build version 2. (default)\n"
- " --ignore-pass Ignore passing tests.\n"
- " --no-warn Do not report warnings.\n"
- " --compile-time Show compile time.\n"
- " --run-time Show run time.\n"
- "Example: compiler_status --compiler gcc /boost-root cs.html cs-links.html\n"
- "Note: Only the leaf of the links-file path and --notes file string are\n"
- "used in status-file HTML links. Thus for browsing, status-file,\n"
- "links-file, and --notes file must all be in the same directory.\n"
- ;
- return 1;
- }
-
- boost_root = fs::path( argv[1] );
- if ( locate_root.empty() ) locate_root = boost_root;
-
- if (jamfile_path.empty())
- if (boost_build_v2)
- jamfile_path = "Jamfile.v2";
- else
- jamfile_path = "Jamfile";
- jamfile_path = fs::absolute( jamfile_path, fs::initial_path() );
- jamfile.open( jamfile_path );
- if ( !jamfile )
- {
- std::cerr << "Could not open Jamfile: " << jamfile_path.string() << std::endl;
- return 1;
- }
-
- report.open( fs::path( argv[2] ) );
- if ( !report )
- {
- std::cerr << "Could not open report output file: " << argv[2] << std::endl;
- return 1;
- }
-
- if ( argc == 4 )
- {
- fs::path links_path( argv[3] );
- links_name = links_path.filename().string();
- links_file.open( links_path );
- if ( !links_file )
- {
- std::cerr << "Could not open links output file: " << argv[3] << std::endl;
- return 1;
- }
- }
- else no_links = true;
-
- build_notes_bookmarks();
-
- char run_date[128];
- std::time_t tod;
- std::time( &tod );
- std::strftime( run_date, sizeof(run_date),
- "%X UTC, %A %d %B %Y", std::gmtime( &tod ) );
-
- std::string rev = revision( boost_root );
-
- report << "<html>\n"
- "<head>\n"
- "<title>Boost Test Results</title>\n"
- "</head>\n"
- "<body bgcolor=\"#ffffff\" text=\"#000000\">\n"
- "<table border=\"0\">\n"
- "<tr>\n"
- "<td><img border=\"0\" src=\"http://www.boost.org/boost.png\" width=\"277\" "
- "height=\"86\"></td>\n"
- "<td>\n"
- "<h1>Boost Test Results - " + platform_desc() + "</h1>\n"
- "<b>Run</b> "
- << run_date;
- if ( !rev.empty() ) report << ", <b>Revision</b> " << rev;
- report << "\n";
-
-
- if ( compile_time )
- report << "<p>Times reported are elapsed wall clock time in seconds.</p>\n";
-
-
- if ( !comment_path.empty() )
- {
- fs::ifstream comment_file( comment_path );
- if ( !comment_file )
- {
- std::cerr << "Could not open \"--comment\" input file: " << comment_path.string() << std::endl;
- return 1;
- }
- char c;
- while ( comment_file.get( c ) ) { report.put( c ); }
- }
-
- report << "</td>\n</table>\n<br>\n";
-
- if ( !no_links )
- {
- links_file
- << "<html>\n"
- "<head>\n"
- "<title>Boost Test Details</title>\n"
- "</head>\n"
- "<body bgcolor=\"#ffffff\" text=\"#000000\">\n"
- "<table border=\"0\">\n"
- "<tr>\n"
- "<td><img border=\"0\" src=\"http://www.boost.org/boost.png\" width=\"277\" "
- "height=\"86\"></td>\n"
- "<td>\n"
- "<h1>Boost Test Details - " + platform_desc() + "</h1>\n"
- "<b>Run Date:</b> "
- << run_date;
- if ( !rev.empty() ) links_file << ", <b>Revision</b> " << rev;
- links_file << "\n</td>\n</table>\n<br>\n";
- }
-
- do_table();
-
- if ( load_notes_html() ) report << notes_html << "\n";
-
- report << "</body>\n"
- "</html>\n"
- ;
-
- if ( !no_links )
- {
- links_file
- << "</body>\n"
- "</html>\n"
- ;
- }
- return 0;
-}
diff --git a/tools/regression/src/detail/tiny_xml.cpp b/tools/regression/src/detail/tiny_xml.cpp
deleted file mode 100644
index 682c04ff7b..0000000000
--- a/tools/regression/src/detail/tiny_xml.cpp
+++ /dev/null
@@ -1,167 +0,0 @@
-// tiny XML sub-set tools implementation -----------------------------------//
-
-// (C) Copyright Beman Dawes 2002. Distributed under the Boost
-// Software License, Version 1.0. (See accompanying file
-// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
-
-#include "tiny_xml.hpp"
-#include <cassert>
-#include <cstring>
-
-namespace
-{
-
- void eat_whitespace( char & c, std::istream & in )
- {
- while ( c == ' ' || c == '\r' || c == '\n' || c == '\t' )
- in.get( c );
- }
-
- std::string get_name( char & c, std::istream & in )
- {
- std::string result;
- eat_whitespace( c, in );
- while ( std::strchr(
- "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_-.", c )
- != 0 )
- {
- result += c;
- if(!in.get( c ))
- throw std::string("xml: unexpected eof");
- }
- return result;
- }
-
- void eat_delim( char & c, std::istream & in,
- char delim, const std::string & msg )
- {
- eat_whitespace( c, in );
- if ( c != delim )
- throw std::string("xml syntax error, expected ") + delim
- + " (" + msg + ")";
- in.get( c );
- }
-
- std::string get_value( char & c, std::istream & in )
- {
- std::string result;
- while ( c != '\"' )
- {
- result += c;
- in.get( c );
- }
- in.get( c );
- return result;
- }
-
-}
-
-namespace boost
-{
- namespace tiny_xml
- {
-
- // parse -----------------------------------------------------------------//
-
- element_ptr parse( std::istream & in, const std::string & msg )
- {
- char c = 0; // current character
- element_ptr e( new element );
-
- if(!in.get( c ))
- throw std::string("xml: unexpected eof");
- if ( c == '<' )
- if(!in.get( c ))
- throw std::string("xml: unexpected eof");
-
- e->name = get_name( c, in );
- eat_whitespace( c, in );
-
- // attributes
- while ( c != '>' )
- {
- attribute a;
- a.name = get_name( c, in );
-
- eat_delim( c, in, '=', msg );
- eat_delim( c, in, '\"', msg );
-
- a.value = get_value( c, in );
-
- e->attributes.push_back( a );
- eat_whitespace( c, in );
- }
- if(!in.get( c )) // next after '>'
- throw std::string("xml: unexpected eof");
-
- eat_whitespace( c, in );
-
- // sub-elements
- while ( c == '<' )
- {
- if ( in.peek() == '/' ) break;
- e->elements.push_back( parse( in, msg ) );
- in.get( c ); // next after '>'
- eat_whitespace( c, in );
- }
-
- // content
- if ( c != '<' )
- {
- e->content += '\n';
- while ( c != '<' )
- {
- e->content += c;
- if(!in.get( c ))
- throw std::string("xml: unexpected eof");
- }
- }
-
- assert( c == '<' );
- if(!in.get( c )) // next after '<'
- throw std::string("xml: unexpected eof");
-
- eat_delim( c, in, '/', msg );
- std::string end_name( get_name( c, in ) );
- if ( e->name != end_name )
- throw std::string("xml syntax error: beginning name ")
- + e->name + " did not match end name " + end_name
- + " (" + msg + ")";
-
- eat_delim( c, in, '>', msg );
- return e;
- }
-
- // write ---------------------------------------------------------------//
-
- void write( const element & e, std::ostream & out )
- {
- out << "<" << e.name;
- if ( !e.attributes.empty() )
- {
- for( attribute_list::const_iterator itr = e.attributes.begin();
- itr != e.attributes.end(); ++itr )
- {
- out << " " << itr->name << "=\"" << itr->value << "\"";
- }
- }
- out << ">";
- if ( !e.elements.empty() )
- {
- out << "\n";
- for( element_list::const_iterator itr = e.elements.begin();
- itr != e.elements.end(); ++itr )
- {
- write( **itr, out );
- }
- }
- if ( !e.content.empty() )
- {
- out << e.content;
- }
- out << "</" << e.name << ">\n";
- }
-
- } // namespace tiny_xml
-} // namespace boost
-
diff --git a/tools/regression/src/detail/tiny_xml.hpp b/tools/regression/src/detail/tiny_xml.hpp
deleted file mode 100644
index f9d91d2652..0000000000
--- a/tools/regression/src/detail/tiny_xml.hpp
+++ /dev/null
@@ -1,70 +0,0 @@
-// tiny XML sub-set tools --------------------------------------------------//
-
-// (C) Copyright Beman Dawes 2002. Distributed under the Boost
-// Software License, Version 1.0. (See accompanying file
-// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
-
-// Provides self-contained tools for this XML sub-set:
-//
-// element ::= { "<" name { name "=" "\"" value "\"" } ">"
-// {element} [contents] "</" name ">" }
-//
-// The point of "self-contained" is to minimize tool-chain dependencies.
-
-#ifndef BOOST_TINY_XML_H
-#define BOOST_TINY_XML_H
-
-#include "boost/smart_ptr.hpp" // for shared_ptr
-#include "boost/utility.hpp" // for noncopyable
-#include <list>
-#include <iostream>
-#include <string>
-
-namespace boost
-{
- namespace tiny_xml
- {
- class element;
- struct attribute
- {
- std::string name;
- std::string value;
-
- attribute(){}
- attribute( const std::string & name, const std::string & value )
- : name(name), value(value) {}
- };
- typedef boost::shared_ptr< element > element_ptr;
- typedef std::list< element_ptr > element_list;
- typedef std::list< attribute > attribute_list;
-
- class element
- : private boost::noncopyable // because deep copy sematics would be required
- {
- public:
- std::string name;
- attribute_list attributes;
- element_list elements;
- std::string content;
-
- element() {}
- explicit element( const std::string & name ) : name(name) {}
- };
-
- element_ptr parse( std::istream & in, const std::string & msg );
- // Precondition: stream positioned at either the initial "<"
- // or the first character after the initial "<".
- // Postcondition: stream positioned at the first character after final
- // ">" (or eof).
- // Returns: an element_ptr to an element representing the parsed stream.
- // Throws: std::string on syntax error. msg appended to what() string.
-
- void write( const element & e, std::ostream & out );
-
- }
-}
-
-#endif // BOOST_TINY_XML_H
-
-
-
diff --git a/tools/regression/src/detail/tiny_xml_test.cpp b/tools/regression/src/detail/tiny_xml_test.cpp
deleted file mode 100644
index b5c0542ba4..0000000000
--- a/tools/regression/src/detail/tiny_xml_test.cpp
+++ /dev/null
@@ -1,17 +0,0 @@
-// tiny XML test program ---------------------------------------------------//
-
-// Copyright Beman Dawes 2002. Distributed under the Boost
-// Software License, Version 1.0. (See accompanying file
-// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
-
-#include "tiny_xml.hpp"
-
-#include <iostream>
-
-int main()
-{
- boost::tiny_xml::element_ptr tree( boost::tiny_xml::parse( std::cin ) );
- boost::tiny_xml::write( *tree, std::cout );
- return 0;
-}
-
diff --git a/tools/regression/src/detail/tiny_xml_test.txt b/tools/regression/src/detail/tiny_xml_test.txt
deleted file mode 100644
index b248cbf062..0000000000
--- a/tools/regression/src/detail/tiny_xml_test.txt
+++ /dev/null
@@ -1,17 +0,0 @@
-<root>
-<frontmatter>
-// (C) Copyright Beman Dawes 2002. Distributed under the Boost
-// Software License, Version 1.0. (See accompanying file
-// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
-</frontmatter>
-<element-1 at-1="abcd" at-2 = "defg" >
-<element-1a>
-It's Howdy Doody time!
-</element-1a>
-<element-1b>It's not Howdy Doody time!</element-1b>
-</element-1>
-<element-2>
-It's
-Eastern Standard time!
-</element-2>
-</root>
diff --git a/tools/regression/src/library_status.cpp b/tools/regression/src/library_status.cpp
deleted file mode 100644
index 3faa0f63c9..0000000000
--- a/tools/regression/src/library_status.cpp
+++ /dev/null
@@ -1,889 +0,0 @@
-// Generate Library Status HTML from jam regression test output -----------//
-
-// Copyright Bryce Lelbach 2011
-// Copyright Beman Dawes 2002-2011.
-
-// Distributed under the Boost Software License, Version 1.0. (See accompanying
-// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
-// See http://www.boost.org/tools/regression/ for documentation.
-
-//Note: This version of the original program builds a large table
-//which includes all build variations such as build/release, static/dynamic, etc.
-
-
-/*******************************************************************************
-
-This program was designed to work unchanged on all platforms and
-configurations. All output which is platform or configuration dependent
-is obtained from external sources such as the .xml file from
-process_jam_log execution, the tools/build/xxx-tools.jam files, or the
-output of the config_info tests.
-
-Please avoid adding platform or configuration dependencies during
-program maintenance.
-
-*******************************************************************************/
-
-#include <boost/filesystem/operations.hpp>
-#include <boost/filesystem/fstream.hpp>
-#include <boost/foreach.hpp>
-
-namespace fs = boost::filesystem;
-
-#include "detail/tiny_xml.hpp"
-namespace xml = boost::tiny_xml;
-
-#include <boost/iterator/transform_iterator.hpp>
-
-#include <cstdlib> // for abort, exit
-#include <string>
-#include <vector>
-#include <set>
-#include <utility> // for make_pair on STLPort
-#include <map>
-#include <algorithm> // max_element, find_if
-#include <iostream>
-#include <fstream>
-#include <ctime>
-#include <stdexcept>
-#include <cassert>
-#include <utility> // for pair
-
-using std::string;
-
-const string pass_msg( "Pass" );
-const string warn_msg( "<i>Warn</i>" );
-const string fail_msg( "<font color=\"#FF0000\"><i>Fail</i></font>" );
-const string missing_residue_msg( "<i>Missing</i>" );
-
-const std::size_t max_compile_msg_size = 10000;
-
-namespace
-{
- fs::path locate_root; // locate-root (AKA ALL_LOCATE_TARGET) complete path
- bool ignore_pass = false;
- bool no_warn = false;
- bool no_links = false;
-
- // transform pathname to something html can accept
- struct char_xlate {
- typedef char result_type;
- result_type operator()(char c) const{
- if(c == '/' || c == '\\')
- return '-';
- return c;
- }
- };
- typedef boost::transform_iterator<char_xlate, std::string::const_iterator> html_from_path;
-
- template<class I1, class I2>
- std::ostream & operator<<(
- std::ostream &os,
- std::pair<I1, I2> p
- ){
- while(p.first != p.second)
- os << *p.first++;
- return os;
- }
-
- struct col_node {
- int rows, cols;
- bool is_leaf;
- typedef std::pair<const std::string, col_node> subcolumn;
- typedef std::map<std::string, col_node> subcolumns_t;
- subcolumns_t m_subcolumns;
- bool operator<(const col_node &cn) const;
- col_node() :
- is_leaf(false)
- {}
- std::pair<int, int> get_spans();
- };
-
- std::pair<int, int> col_node::get_spans(){
- rows = 1;
- cols = 0;
- if(is_leaf){
- cols = 1;
- }
- if(! m_subcolumns.empty()){
- BOOST_FOREACH(
- subcolumn & s,
- m_subcolumns
- ){
- std::pair<int, int> spans;
- spans = s.second.get_spans();
- rows = (std::max)(rows, spans.first);
- cols += spans.second;
- }
- ++rows;
- }
- return std::make_pair(rows, cols);
- }
-
- void build_node_tree(const fs::path & dir_root, col_node & node){
- bool has_directories = false;
- bool has_files = false;
- BOOST_FOREACH(
- fs::directory_entry & d,
- std::make_pair(
- fs::directory_iterator(dir_root),
- fs::directory_iterator()
- )
- ){
- if(fs::is_directory(d)){
- has_directories = true;
- std::pair<col_node::subcolumns_t::iterator, bool> result
- = node.m_subcolumns.insert(
- std::make_pair(d.path().filename().string(), col_node())
- );
- build_node_tree(d, result.first->second);
- }
- else{
- has_files = true;
- }
- }
- if(has_directories && has_files)
- throw std::string("invalid bin directory structure");
- node.is_leaf = has_files;
- }
-
- fs::ofstream report;
- fs::ofstream links_file;
- string links_name;
-
- string specific_compiler; // if running on one toolset only
-
- const string empty_string;
-
- // extract object library name from target directory string ----------------//
-
- string extract_object_library_name( const string & s )
- {
- string t( s );
- string::size_type pos = t.find( "/build/" );
- if ( pos != string::npos ) pos += 7;
- else if ( (pos = t.find( "/test/" )) != string::npos ) pos += 6;
- else return "";
- return t.substr( pos, t.find( "/", pos ) - pos );
- }
-
- // find_element ------------------------------------------------------------//
-
- struct element_equal {
- const string & m_name;
- element_equal(const string & name) :
- m_name(name)
- {}
- bool operator()(const xml::element_ptr & xep) const {
- return xep.get()->name == m_name;
- }
- };
-
- xml::element_list::const_iterator find_element(
- const xml::element & root, const string & name
- ){
- return std::find_if(
- root.elements.begin(),
- root.elements.end(),
- element_equal(name)
- );
- }
-
- // element_content ---------------------------------------------------------//
- const string & element_content(
- const xml::element & root, const string & name
- ){
- xml::element_list::const_iterator itr;
- itr = find_element(root, name);
- if(root.elements.end() == itr)
- return empty_string;
- return (*itr)->content;
- }
-
- // attribute_value ----------------------------------------------------------//
-
- struct attribute_equal {
- const string & m_name;
- attribute_equal(const string & name) :
- m_name(name)
- {}
- bool operator()(const xml::attribute & a) const {
- return a.name == m_name;
- }
- };
-
- const string & attribute_value(
- const xml::element & element,
- const string & attribute_name
- ){
- xml::attribute_list::const_iterator itr;
- itr = std::find_if(
- element.attributes.begin(),
- element.attributes.end(),
- attribute_equal(attribute_name)
- );
- if(element.attributes.end() == itr){
- static const string empty_string;
- return empty_string;
- }
- return itr->value;
- }
-
- // generate_report ---------------------------------------------------------//
-
- // return 0 if nothing generated, 1 otherwise, except 2 if compiler msgs
- int generate_report(
- const xml::element & db,
- const std::string source_library_name,
- const string & test_type,
- const fs::path & target_dir,
- bool pass,
- bool always_show_run_output
- )
- {
- // compile msgs sometimes modified, so make a local copy
- string compile( ((pass && no_warn)
- ? empty_string : element_content( db, "compile" )) );
-
- const string & link( pass ? empty_string : element_content( db, "link" ) );
- const string & run( (pass && !always_show_run_output)
- ? empty_string : element_content( db, "run" ) );
- string lib( (pass ? empty_string : element_content( db, "lib" )) );
-
- // some compilers output the filename even if there are no errors or
- // warnings; detect this if one line of output and it contains no space.
- string::size_type pos = compile.find( '\n', 1 );
- if ( pos != string::npos && compile.size()-pos <= 2
- && compile.find( ' ' ) == string::npos ) compile.clear();
-
- if ( lib.empty()
- && (
- compile.empty() || test_type == "compile_fail"
- )
- && link.empty()
- && run.empty()
- )
- return 0;
-
- int result = 1; // some kind of msg for sure
-
- // limit compile message length
- if ( compile.size() > max_compile_msg_size )
- {
- compile.erase( max_compile_msg_size );
- compile += "...\n (remainder deleted because of excessive size)\n";
- }
-
- const string target_dir_string = target_dir.string();
-
- links_file << "<h2><a name=\"";
- links_file << std::make_pair(
- html_from_path(target_dir_string.begin()),
- html_from_path(target_dir_string.end())
- )
- << "\">"
- << std::make_pair(
- html_from_path(target_dir_string.begin()),
- html_from_path(target_dir_string.end())
- )
- ;
- links_file << "</a></h2>\n";;
-
- if ( !compile.empty() )
- {
- ++result;
- links_file << "<h3>Compiler output:</h3><pre>"
- << compile << "</pre>\n";
- }
- if ( !link.empty() )
- links_file << "<h3>Linker output:</h3><pre>" << link << "</pre>\n";
- if ( !run.empty() )
- links_file << "<h3>Run output:</h3><pre>" << run << "</pre>\n";
-
- // for an object library failure, generate a reference to the object
- // library failure message, and (once only) generate the object
- // library failure message itself
- static std::set< string > failed_lib_target_dirs; // only generate once
- if ( !lib.empty() )
- {
- if ( lib[0] == '\n' ) lib.erase( 0, 1 );
- string object_library_name( extract_object_library_name( lib ) );
-
- // changing the target directory naming scheme breaks
- // extract_object_library_name()
- assert( !object_library_name.empty() );
- if ( object_library_name.empty() )
- std::cerr << "Failed to extract object library name from " << lib << "\n";
-
- links_file << "<h3>Library build failure: </h3>\n"
- "See <a href=\"#"
- << source_library_name << "-"
- << object_library_name << "-"
- << std::make_pair(
- html_from_path(target_dir_string.begin()),
- html_from_path(target_dir_string.end())
- )
- << source_library_name << " - "
- << object_library_name << " - "
- << std::make_pair(
- html_from_path(target_dir_string.begin()),
- html_from_path(target_dir_string.end())
- )
- << "</a>";
- if ( failed_lib_target_dirs.find( lib ) == failed_lib_target_dirs.end() )
- {
- failed_lib_target_dirs.insert( lib );
- fs::path pth( locate_root / lib / "test_log.xml" );
- fs::ifstream file( pth );
- if ( file )
- {
- xml::element_ptr db = xml::parse( file, pth.string() );
- generate_report(
- *db,
- source_library_name,
- test_type,
- target_dir,
- false,
- false
- );
- }
- else
- {
- links_file << "<h2><a name=\""
- << object_library_name << "-"
- << std::make_pair(
- html_from_path(target_dir_string.begin()),
- html_from_path(target_dir_string.end())
- )
- << "\">"
- << object_library_name << " - "
- << std::make_pair(
- html_from_path(target_dir_string.begin()),
- html_from_path(target_dir_string.end())
- )
- << "</a></h2>\n"
- << "test_log.xml not found\n";
- }
- }
- }
- return result;
- }
-
- struct has_fail_result {
- //bool operator()(const boost::shared_ptr<const xml::element> e) const {
- bool operator()(const xml::element_ptr & e) const {
- return attribute_value(*e, "result") == "fail";
- }
- };
-
- // do_cell ---------------------------------------------------------------//
- bool do_cell(
- const fs::path & target_dir,
- const string & lib_name,
- const string & test_name,
- string & target,
- bool profile
- ){
- // return true if any results except pass_msg
- bool pass = false;
-
- fs::path xml_file_path( target_dir / "test_log.xml" );
- if ( !fs::exists( xml_file_path ) )
- {
- fs::path test_path = target_dir / (test_name + ".test");
- target += "<td align=\"right\">";
- target += fs::exists( test_path) ? pass_msg : fail_msg;
- target += "</td>";
- return true;
- }
-
-
- string test_type( "unknown" );
- bool always_show_run_output( false );
-
- fs::ifstream file( xml_file_path );
- xml::element_ptr dbp = xml::parse( file, xml_file_path.string() );
- const xml::element & db( *dbp );
-
- always_show_run_output
- = attribute_value( db, "show-run-output" ) == "true";
-
- // if we don't find any failures
- // mark it as a pass
- pass = (db.elements.end() == std::find_if(
- db.elements.begin(),
- db.elements.end(),
- has_fail_result()
- ));
-
- int anything_generated = 0;
- if (!no_links){
- anything_generated =
- generate_report(
- db,
- lib_name,
- test_type,
- target_dir,
- pass,
- always_show_run_output
- );
- }
-
- // generate the status table cell pass/warn/fail HTML
- target += "<td align=\"right\">";
- if ( anything_generated != 0 )
- {
- target += "<a href=\"";
- target += links_name;
- target += "#";
- const string target_dir_string = target_dir.string();
- std::copy(
- html_from_path(target_dir_string.begin()),
- html_from_path(target_dir_string.end()),
- std::back_inserter(target)
- );
- target += "\">";
- target += pass
- ? (anything_generated < 2 ? pass_msg : warn_msg)
- : fail_msg;
- target += "</a>";
- }
- else target += pass ? pass_msg : fail_msg;
-
- // if profiling
- if(profile && pass){
- // add link to profile
- target += " <a href=\"";
- target += (target_dir / "profile.txt").string();
- target += "\"><i>Profile</i></a>";
- }
- target += "</td>";
- return (anything_generated != 0) || !pass;
- }
-
- bool visit_node_tree(
- const col_node & node,
- fs::path dir_root,
- const string & lib_name,
- const string & test_name,
- string & target,
- bool profile
- ){
- bool retval = false;
- if(node.is_leaf){
- return do_cell(
- dir_root,
- lib_name,
- test_name,
- target,
- profile
- );
- }
- BOOST_FOREACH(
- const col_node::subcolumn & s,
- node.m_subcolumns
- ){
- fs::path subdir = dir_root / s.first;
- retval |= visit_node_tree(
- s.second,
- subdir,
- lib_name,
- test_name,
- target,
- s.first == "profile"
- );
- }
- return retval;
- }
-
- // emit results for each test
- void do_row(
- col_node test_node,
- const fs::path & test_dir,
- const string & lib_name,
- const string & test_name,
- string & target
- ){
- string::size_type row_start_pos = target.size();
-
- target += "<tr>";
-
- target += "<td>";
- //target += "<a href=\"" + url_prefix_dir_view + "/libs/" + lib_name + "\">";
- target += test_name;
- //target += "</a>";
- target += "</td>";
-
- bool no_warn_save = no_warn;
-
- // emit cells on this row
- bool anything_to_report = visit_node_tree(
- test_node,
- test_dir,
- lib_name,
- test_name,
- target,
- false
- );
-
- target += "</tr>";
-
- if ( ignore_pass
- && ! anything_to_report )
- target.erase( row_start_pos );
-
- no_warn = no_warn_save;
- }
-
- // do_table_body -----------------------------------------------------------//
-
- void do_table_body(
- col_node root_node,
- const string & lib_name,
- const fs::path & test_lib_dir
- ){
- // rows are held in a vector so they can be sorted, if desired.
- std::vector<string> results;
-
- BOOST_FOREACH(
- fs::directory_entry & d,
- std::make_pair(
- fs::directory_iterator(test_lib_dir),
- fs::directory_iterator()
- )
- ){
- if(! fs::is_directory(d))
- continue;
-
- // if the file name contains ".test"
- if(d.path().extension() != ".test")
- continue;
-
- string test_name = d.path().stem().string();
-
- results.push_back( std::string() );
- do_row(
- root_node, //*test_node_itr++,
- d, // test dir
- lib_name,
- test_name,
- results[results.size()-1]
- );
- }
-
- std::sort( results.begin(), results.end() );
-
- BOOST_FOREACH(string &s, results)
- report << s << "\n";
- }
-
- // column header-----------------------------------------------------------//
- int header_depth(const col_node & root){
- int max_depth = 1;
- BOOST_FOREACH(
- const col_node::subcolumn &s,
- root.m_subcolumns
- ){
- max_depth = (std::max)(max_depth, s.second.rows);
- }
- return max_depth;
- }
-
- void header_cell(int rows, int cols, const std::string & name){
- // add row cells
- report << "<td align=\"center\" " ;
- if(1 < cols)
- report << "colspan=\"" << cols << "\" " ;
- if(1 < rows)
- // span rows to the end the header
- report << "rowspan=\"" << rows << "\" " ;
- report << ">" ;
- report << name;
- report << "</td>\n";
- }
-
- void emit_column_headers(
- const col_node & node,
- int display_row,
- int current_row,
- int row_count
- ){
- if(current_row < display_row){
- if(! node.m_subcolumns.empty()){
- BOOST_FOREACH(
- const col_node::subcolumn &s,
- node.m_subcolumns
- ){
- emit_column_headers(
- s.second,
- display_row,
- current_row + 1,
- row_count
- );
- }
- }
- return;
- }
- /*
- if(node.is_leaf && ! node.m_subcolumns.empty()){
- header_cell(row_count - current_row, 1, std::string(""));
- }
- */
- BOOST_FOREACH(col_node::subcolumn s, node.m_subcolumns){
- if(1 == s.second.rows)
- header_cell(row_count - current_row, s.second.cols, s.first);
- else
- header_cell(1, s.second.cols, s.first);
- }
- }
-
- fs::path find_lib_test_dir(fs::path const& initial_path){
- // walk up from the path were we started until we find
- // bin or bin.v2
-
- fs::path test_lib_dir = initial_path;
- do{
- if(fs::is_directory( test_lib_dir / "bin.v2")){
- test_lib_dir /= "bin.v2";
- break;
- }
- if(fs::is_directory( test_lib_dir / "bin")){
- // v1 includes the word boost
- test_lib_dir /= "bin";
- if(fs::is_directory( test_lib_dir / "boost")){
- test_lib_dir /= "boost";
- }
- break;
- }
- }while(! test_lib_dir.empty());
-
- if(test_lib_dir.empty())
- throw std::string("binary path not found");
-
- return test_lib_dir;
- }
-
- string find_lib_name(fs::path lib_test_dir){
- // search the path backwards for the magic name "libs"
- fs::path::iterator e_itr = lib_test_dir.end();
- while(lib_test_dir.begin() != e_itr){
- if(*--e_itr == "libs")
- break;
- }
-
- // if its found
- if(lib_test_dir.begin() != e_itr){
- // use the whole path since the "libs"
- ++e_itr;
- }
- // otherwise, just use the last two components
- else{
- e_itr = lib_test_dir.end();
- if(e_itr != lib_test_dir.begin()){
- if(--e_itr != lib_test_dir.begin()){
- --e_itr;
- }
- }
- }
-
- fs::path library_name;
- while(lib_test_dir.end() != e_itr){
- library_name /= *e_itr++;
- }
- return library_name.string();
- }
-
- fs::path find_boost_root(fs::path initial_path){
- fs::path boost_root = initial_path;
- for(;;){
- if(fs::is_directory( boost_root / "boost")){
- break;
- }
- if(boost_root.empty())
- throw std::string("boost root not found");
- boost_root.remove_filename();
- }
-
- return boost_root;
- }
-
- // do_table ----------------------------------------------------------------//
- void do_table(const fs::path & lib_test_dir, const string & lib_name)
- {
- col_node root_node;
-
- BOOST_FOREACH(
- fs::directory_entry & d,
- std::make_pair(
- fs::directory_iterator(lib_test_dir),
- fs::directory_iterator()
- )
- ){
- if(! fs::is_directory(d))
- continue;
- fs::path p = d.path();
- if(p.extension() != ".test")
- continue;
- build_node_tree(d, root_node);
- }
-
- // visit directory nodes and record nodetree
- report << "<table border=\"1\" cellspacing=\"0\" cellpadding=\"5\">\n";
-
- // emit
- root_node.get_spans();
- int row_count = header_depth(root_node);
- report << "<tr>\n";
- report << "<td rowspan=\"" << row_count << "\">Test Name</td>\n";
-
- // emit column headers
- int row_index = 0;
- for(;;){
- emit_column_headers(root_node, row_index, 0, row_count);
- report << "</tr>" ;
- if(++row_index == row_count)
- break;
- report << "<tr>\n";
- }
-
- // now the rest of the table body
- do_table_body(root_node, lib_name, lib_test_dir);
-
- report << "</table>\n";
- }
-}// unnamed namespace
-
-// main --------------------------------------------------------------------//
-
-#define BOOST_NO_CPP_MAIN_SUCCESS_MESSAGE
-#include <boost/test/included/prg_exec_monitor.hpp>
-
-int cpp_main( int argc, char * argv[] ) // note name!
-{
- fs::path initial_path = fs::initial_path();
-
- while ( argc > 1 && *argv[1] == '-' )
- {
- if ( argc > 2 && std::strcmp( argv[1], "--compiler" ) == 0 )
- { specific_compiler = argv[2]; --argc; ++argv; }
- else if ( argc > 2 && std::strcmp( argv[1], "--locate-root" ) == 0 )
- { locate_root = fs::path( argv[2] ); --argc; ++argv; }
- else if ( std::strcmp( argv[1], "--ignore-pass" ) == 0 ) ignore_pass = true;
- else if ( std::strcmp( argv[1], "--no-warn" ) == 0 ) no_warn = true;
- else if ( std::strcmp( argv[1], "--v2" ) == 0 )
- {--argc; ++argv ;} // skip
- else if ( argc > 2 && std::strcmp( argv[1], "--jamfile" ) == 0)
- {--argc; ++argv;} // skip
- else { std::cerr << "Unknown option: " << argv[1] << "\n"; argc = 1; }
- --argc;
- ++argv;
- }
-
- if ( argc != 2 && argc != 3 )
- {
- std::cerr <<
- "Usage: library_status [options...] status-file [links-file]\n"
- " boost-root is the path to the boost tree root directory.\n"
- " status-file and links-file are paths to the output files.\n"
- " options: --compiler name Run for named compiler only\n"
- " --ignore-pass Do not report tests which pass all compilers\n"
- " --no-warn Warnings not reported if test passes\n"
- " --locate-root path Path to ALL_LOCATE_TARGET for bjam;\n"
- " default boost-root.\n"
- "Example: library_status --compiler gcc /boost-root cs.html cs-links.html\n"
- "Note: Only the leaf of the links-file path is\n"
- "used in status-file HTML links. Thus for browsing, status-file,\n"
- "links-file must be in the same directory.\n"
- ;
- return 1;
- }
-
- if(locate_root.empty())
- if(! fs::exists("bin") && ! fs::exists("bin.v2"))
- locate_root = find_boost_root(initial_path);
-
- report.open( fs::path( argv[1] ) );
- if ( !report )
- {
- std::cerr << "Could not open report output file: " << argv[2] << std::endl;
- return 1;
- }
-
- if ( argc == 3 )
- {
- fs::path links_path( argv[2] );
- links_name = links_path.filename().string();
- links_file.open( links_path );
- if ( !links_file )
- {
- std::cerr << "Could not open links output file: " << argv[3] << std::endl;
- return 1;
- }
- }
- else no_links = true;
-
- const string library_name = find_lib_name(initial_path);
-
- char run_date[128];
- std::time_t tod;
- std::time( &tod );
- std::strftime( run_date, sizeof(run_date),
- "%X UTC, %A %d %B %Y", std::gmtime( &tod ) );
-
- report
- << "<html>\n"
- << "<head>\n"
- << "<title>Boost Library Status Automatic Test</title>\n"
- << "</head>\n"
- << "<body bgcolor=\"#ffffff\" text=\"#000000\">\n"
- << "<table border=\"0\">\n"
- << "<h1>Library Status: " + library_name + "</h1>\n"
- << "<b>Run Date:</b> "
- << run_date
- << "\n<br>"
- ;
-
- report << "</td>\n</table>\n<br>\n";
-
- if ( !no_links )
- {
- links_file
- << "<html>\n"
- << "<head>\n"
- << "<title>Boost Library Status Error Log</title>\n"
- << "</head>\n"
- << "<body bgcolor=\"#ffffff\" text=\"#000000\">\n"
- << "<table border=\"0\">\n"
- << "<h1>Library Status: " + library_name + "</h1>\n"
- << "<b>Run Date:</b> "
- << run_date
- << "\n<br></table>\n<br>\n"
- ;
- }
-
- // detect whether in a a directory which looks like
- // bin/<library name>/test
- // or just
- // bin
- fs::path library_test_directory = find_lib_test_dir(locate_root);
- // if libs exists, drop down a couple of levels
- if(fs::is_directory( library_test_directory / "libs")){
- library_test_directory /= "libs";
- library_test_directory /= library_name;
- }
-
- do_table(library_test_directory, library_name);
-
- report << "</body>\n"
- "</html>\n"
- ;
-
- if ( !no_links )
- {
- links_file
- << "</body>\n"
- "</html>\n"
- ;
- }
- return 0;
-}
diff --git a/tools/regression/src/library_test.bat b/tools/regression/src/library_test.bat
deleted file mode 100644
index 0f33840c34..0000000000
--- a/tools/regression/src/library_test.bat
+++ /dev/null
@@ -1,21 +0,0 @@
-@echo off
-
-rem Copyright Robert Ramey 2007
-
-rem Distributed under the Boost Software License, Version 1.0.
-rem See http://www.boost.org/LICENSE_1_0.txt
-
-if not "%1" == "" goto bjam
- echo Usage: %0 "<bjam arguments>"
- echo where typical bjam arguements are:
- echo toolset=msvc-7.1,gcc
- echo variant=debug,release,profile
- echo link=static,shared
- echo threading=single,multi
- echo -sBOOST_ARCHIVE_LIST="<archive name>"
- goto end
-:bjam
- bjam --dump-tests %* >bjam.log 2>&1
- process_jam_log --v2 <bjam.log
- library_status library_status.html links.html
-:end
diff --git a/tools/regression/src/library_test.sh b/tools/regression/src/library_test.sh
deleted file mode 100755
index 0164d0d1aa..0000000000
--- a/tools/regression/src/library_test.sh
+++ /dev/null
@@ -1,19 +0,0 @@
-# Copyright Robert Ramey 2007
-
-# Distributed under the Boost Software License, Version 1.0.
-# See http://www.boost.org/LICENSE_1_0.txt
-
-if test $# -eq 0
-then
- echo "Usage: $0 <bjam arguments>"
- echo "Typical bjam arguements are:"
- echo " toolset=msvc-7.1,gcc"
- echo " variant=debug,release,profile"
- echo " link=static,shared"
- echo " threading=single,multi"
- echo " -sBOOST_ARCHIVE_LIST=<archive name>"
-else
- bjam --dump-tests $@ >bjam.log 2>&1
- process_jam_log --v2 <bjam.log
- library_status library_status.html links.html
-fi
diff --git a/tools/regression/src/library_test_all.sh b/tools/regression/src/library_test_all.sh
deleted file mode 100755
index ed5177d412..0000000000
--- a/tools/regression/src/library_test_all.sh
+++ /dev/null
@@ -1,85 +0,0 @@
-if test $# -eq 0
-then
- echo "Usage: $0 <bjam arguments>"
- echo "Typical bjam arguments are:"
- echo " toolset=msvc-7.1,gcc"
- echo " variant=debug,release,profile"
- echo " link=static,shared"
- echo " threading=single,multi"
- echo
- echo "note: make sure this script is run from boost root directory !!!"
- exit 1
-fi
-
-if ! test -e libs
-then
- echo No libs directory found. Run from boost root directory !!!
- exit 1
-fi
-
-#html header
-cat <<end >status/library_status_contents.html
-<!doctype HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
-<html>
-<!--
-(C) Copyright 2007 Robert Ramey - http://www.rrsd.com .
-Use, modification and distribution is subject to the Boost Software
-License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
-http://www.boost.org/LICENSE_1_0.txt)
--->
-<head>
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
-<link rel="stylesheet" type="text/css" href="../boost.css">
-<title>Library Status Contents</title>
-<body>
-end
-
-cd >nul libs
-
-# runtests, create library pages, and body of summary page
-for lib_name in *
-do
- if test -d $lib_name
- then
- cd >nul $lib_name
-
- if test -e "test/Jamfile.v2"
- then
- cd >nul test
- echo $lib_name
- echo >>../../../status/library_status_contents.html "<a target=\"detail\" href=\"../libs/$lib_name/test/library_status.html\">$lib_name</a><br>"
- ../../../tools/regression/src/library_test.sh $@
- cd >nul ..
- fi
-
- for sublib_name in *
- do
- if test -d $sublib_name
- then
- cd >nul $sublib_name
- if test -e "test/Jamfile.v2"
- then
- cd >nul test
- echo $lib_name/$sublib_name
- echo >>../../../../status/library_status_contents.html "<a target=\"detail\" href=\"../libs/$lib_name/$sublib_name/test/library_status.html\">$lib_name/$sublib_name</a><br>"
- ../../../../tools/regression/src/library_test.sh $@
- cd >nul ..
- fi
- cd >nul ..
- fi
- done
-
- cd >nul ..
- fi
-done
-
-
-cd >nul ..
-
-#html trailer
-cat <<end >>status/library_status_contents.html
-</body>
-</html>
-end
-
-
diff --git a/tools/regression/src/process_jam_log.cpp b/tools/regression/src/process_jam_log.cpp
deleted file mode 100644
index 8f1b19b06a..0000000000
--- a/tools/regression/src/process_jam_log.cpp
+++ /dev/null
@@ -1,893 +0,0 @@
-// process jam regression test output into XML -----------------------------//
-
-// Copyright Beman Dawes 2002. Distributed under the Boost
-// Software License, Version 1.0. (See accompanying file
-// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
-
-// See http://www.boost.org/tools/regression for documentation.
-
-#define BOOST_FILESYSTEM_VERSION 3
-
-#include <boost/config/warning_disable.hpp>
-
-#include "detail/tiny_xml.hpp"
-#include "boost/filesystem/operations.hpp"
-#include "boost/filesystem/fstream.hpp"
-#include "boost/filesystem/exception.hpp"
-#include "boost/filesystem/convenience.hpp"
-
-#include <iostream>
-#include <string>
-#include <cstring>
-#include <map>
-#include <utility> // for make_pair
-#include <ctime>
-#include <cctype> // for tolower
-#include <cstdlib> // for exit
-
-using std::string;
-namespace xml = boost::tiny_xml;
-namespace fs = boost::filesystem;
-
-// options
-
-static bool echo = false;
-static bool create_dirs = false;
-static bool boost_build_v2 = true;
-
-namespace
-{
- struct test_info
- {
- string file_path; // relative boost-root
- string type;
- bool always_show_run_output;
- };
- typedef std::map< string, test_info > test2info_map; // key is test-name
- test2info_map test2info;
-
- fs::path boost_root;
- fs::path locate_root; // ALL_LOCATE_TARGET (or boost_root if none)
-
- // set_boost_root --------------------------------------------------------//
-
- void set_boost_root()
- {
-
- boost_root = fs::initial_path();
-
- for(;;)
- {
- if ( fs::exists( boost_root / "libs" ) )
- {
- fs::current_path( fs::initial_path() ); // restore initial path
- return;
- }
- fs::current_path( ".." );
- if ( boost_root == fs::current_path() )
- {
- fs::current_path( fs::initial_path() ); // restore initial path
- std::cout <<
- "Abort: process_jam_log must be run from within a boost directory tree\n";
- std::exit(1);
- }
- boost_root = fs::current_path();
- }
- }
-
- // append_html -------------------------------------------------------------//
-
- void append_html( const string & src, string & target )
- {
- // there are a few lines we want to ignore
- if ( src.find( "th target..." ) != string::npos
- || src.find( "cc1plus.exe: warning: changing search order for system directory" ) != string::npos
- || src.find( "cc1plus.exe: warning: as it has already been specified as a non-system directory" ) != string::npos
- ) return;
-
- // on some platforms (e.g. tru64cxx) the following line is a real performance boost
- target.reserve(src.size() * 2 + target.size());
-
- for ( string::size_type pos = 0; pos < src.size(); ++pos )
- {
- if ( src[pos] == '<' ) target += "&lt;";
- else if ( src[pos] == '>' ) target += "&gt;";
- else if ( src[pos] == '&' ) target += "&amp;";
- else target += src[pos];
- }
- }
-
- // timestamp ---------------------------------------------------------------//
-
- string timestamp()
- {
- char run_date[128];
- std::time_t tod;
- std::time( &tod );
- std::strftime( run_date, sizeof(run_date),
- "%Y-%m-%d %X UTC", std::gmtime( &tod ) );
- return string( run_date );
- }
-
-// convert path separators to forward slashes ------------------------------//
-
- void convert_path_separators( string & s )
- {
- for ( string::iterator itr = s.begin(); itr != s.end(); ++itr )
- if ( *itr == '\\' || *itr == '!' ) *itr = '/';
- }
-
-// trim_left ----------------------------------------------------------------//
-
- std::string trim_left( std::string const& s )
- {
- std::string::size_type const pos( s.find_first_not_of(' ') );
- return pos != std::string::npos
- ? s.substr( pos, s.size() - pos + 1 )
- : ""
- ;
- }
-
-
-// split --------------------------------------------------------------------//
-
- std::vector<std::string> split( std::string const& s )
- {
- std::string::size_type const pos( s.find_first_of(' ') );
- std::vector<std::string> result( 1, s.substr( 0, pos ) );
- if ( pos == std::string::npos )
- return result;
-
- std::vector<std::string> const rest( split( trim_left( s.substr( pos, s.size() - pos + 1 ) ) ) );
- result.insert( result.end(), rest.begin(), rest.end() );
- return result;
- }
-
-
-// extract a target directory path from a jam target string ----------------//
-// s may be relative to the initial_path:
-// ..\..\..\libs\foo\build\bin\libfoo.lib\vc7\debug\runtime-link-dynamic\boo.obj
-// s may be absolute:
-// d:\myboost\libs\foo\build\bin\libfoo.lib\vc7\debug\runtime-link-dynamic\boo.obj
-// return path is always relative to the boost directory tree:
-// libs/foo/build/bin/libfs.lib/vc7/debug/runtime-link-dynamic
-
- string target_directory( const string & s )
- {
- string temp( s );
- convert_path_separators( temp );
- temp.erase( temp.find_last_of( "/" ) ); // remove leaf
- temp = split( trim_left( temp ) ).back();
- if ( temp[0] == '.' ) temp.erase( 0, temp.find_first_not_of( "./" ) );
- else temp.erase( 0, locate_root.string().size()+1 );
- if ( echo )
- std::cout << "\ttarget_directory( \"" << s << "\") -> \"" << temp << "\"" << std::endl;
- return temp;
- }
-
- string::size_type target_name_end( const string & s )
- {
- string::size_type pos = s.find( ".test/" );
- if ( pos == string::npos ) pos = s.find( ".dll/" );
- if ( pos == string::npos ) pos = s.find( ".so/" );
- if ( pos == string::npos ) pos = s.find( ".lib/" );
- if ( pos == string::npos ) pos = s.find( ".pyd/" );
- if ( pos == string::npos ) pos = s.find( ".a/" );
- return pos;
- }
-
- string toolset( const string & s )
- {
- string::size_type pos = target_name_end( s );
- if ( pos == string::npos ) pos = s.find( "build/" );
- if ( pos == string::npos ) return "";
- pos = s.find( "/", pos ) + 1;
- return s.substr( pos, s.find( "/", pos ) - pos );
- }
-
- string test_name( const string & s )
- {
- string::size_type pos = target_name_end( s );
- if ( pos == string::npos ) return "";
- string::size_type pos_start = s.rfind( '/', pos ) + 1;
- return s.substr( pos_start,
- (s.find( ".test/" ) != string::npos
- ? pos : s.find( "/", pos )) - pos_start );
- }
-
- // Take a path to a target directory of test, and
- // returns library name corresponding to that path.
- string test_path_to_library_name( string const& path )
- {
- std::string result;
- string::size_type start_pos( path.find( "libs/" ) );
- if ( start_pos == string::npos ) {
- start_pos = path.find( "tools/" );
- }
-
- if ( start_pos != string::npos )
- {
- // The path format is ...libs/functional/hash/test/something.test/....
- // So, the part between "libs" and "test/something.test" can be considered
- // as library name. But, for some libraries tests are located too deep,
- // say numeric/ublas/test/test1 directory, and some libraries have tests
- // in several subdirectories (regex/example and regex/test). So, nested
- // directory may belong to several libraries.
-
- // To disambituate, it's possible to place a 'sublibs' file in
- // a directory. It means that child directories are separate libraries.
- // It's still possible to have tests in the directory that has 'sublibs'
- // file.
-
- std::string interesting;
- start_pos = path.find( '/', start_pos ) + 1;
- string::size_type end_pos( path.find( ".test/", start_pos ) );
- end_pos = path.rfind('/', end_pos);
- if (path.substr(end_pos - 5, 5) == "/test")
- interesting = path.substr( start_pos, end_pos - 5 - start_pos );
- else
- interesting = path.substr( start_pos, end_pos - start_pos );
-
- // Take slash separate elements until we have corresponding 'sublibs'.
- end_pos = 0;
- for(;;)
- {
- end_pos = interesting.find('/', end_pos);
- if (end_pos == string::npos) {
- result = interesting;
- break;
- }
- result = interesting.substr(0, end_pos);
-
- if ( fs::exists( ( boost_root / "libs" ) / result / "sublibs" ) )
- {
- end_pos = end_pos + 1;
- }
- else
- break;
- }
- }
-
- return result;
- }
-
- // Tries to find target name in the string 'msg', starting from
- // position start.
- // If found, extract the directory name from the target name and
- // stores it in 'dir', and return the position after the target name.
- // Otherwise, returns string::npos.
- string::size_type parse_skipped_msg_aux(const string& msg,
- string::size_type start,
- string& dir)
- {
- dir.clear();
- string::size_type start_pos = msg.find( '<', start );
- if ( start_pos == string::npos ) return string::npos;
- ++start_pos;
- string::size_type end_pos = msg.find( '>', start_pos );
- dir += msg.substr( start_pos, end_pos - start_pos );
- if ( boost_build_v2 )
- {
- // The first letter is a magic value indicating
- // the type of grist.
- convert_path_separators( dir );
- dir.erase( 0, 1 );
- // We need path from root, not from 'status' dir.
- if (dir.find("../") == 0)
- dir.erase(0,3);
- else // dir is always relative to the boost directory tree
- dir.erase( 0, locate_root.string().size()+1 );
- }
- else
- {
- if ( dir[0] == '@' )
- {
- // new style build path, rooted build tree
- convert_path_separators( dir );
- dir.replace( 0, 1, "bin/" );
- }
- else
- {
- // old style build path, integrated build tree
- start_pos = dir.rfind( '!' );
- convert_path_separators( dir );
- string::size_type path_sep_pos = dir.find( '/', start_pos + 1 );
- if ( path_sep_pos != string::npos )
- dir.insert( path_sep_pos, "/bin" );
- else
- {
- // see http://article.gmane.org/gmane.comp.lib.boost.devel/146688;
- // the following code assumes that: a) 'dir' is not empty,
- // b) 'end_pos != string::npos' and c) 'msg' always ends with '...'
- if ( dir[dir.size() - 1] == '@' )
- dir += "/" + msg.substr( end_pos + 1, msg.size() - end_pos - 1 - 3 );
- }
- }
- }
- return end_pos;
- }
-
- // the format of paths is really kinky, so convert to normal form
- // first path is missing the leading "..\".
- // first path is missing "\bin" after "status".
- // second path is missing the leading "..\".
- // second path is missing "\bin" after "build".
- // second path uses "!" for some separators.
- void parse_skipped_msg( const string & msg,
- string & first_dir, string & second_dir )
- {
- string::size_type pos = parse_skipped_msg_aux(msg, 0, first_dir);
- if (pos == string::npos)
- return;
- parse_skipped_msg_aux(msg, pos, second_dir);
- }
-
-// test_log hides database details -----------------------------------------//
-
- class test_log
- : boost::noncopyable
- {
- const string & m_target_directory;
- xml::element_ptr m_root;
- public:
- test_log( const string & target_directory,
- const string & test_name,
- const string & toolset,
- bool force_new_file )
- : m_target_directory( target_directory )
- {
- if ( !force_new_file )
- {
- fs::path pth( locate_root / target_directory / "test_log.xml" );
- fs::ifstream file( pth );
- if ( file ) // existing file
- {
- try
- {
- m_root = xml::parse( file, pth.string() );
- return;
- }
- catch(...)
- {
- // unable to parse existing XML file, fall through
- }
- }
- }
-
- string library_name( test_path_to_library_name( target_directory ) );
-
- test_info info;
- test2info_map::iterator itr( test2info.find( library_name + "/" + test_name ) );
- if ( itr != test2info.end() )
- info = itr->second;
-
- if ( !info.file_path.empty() )
- library_name = test_path_to_library_name( info.file_path );
-
- if ( info.type.empty() )
- {
- if ( target_directory.find( ".lib/" ) != string::npos
- || target_directory.find( ".dll/" ) != string::npos
- || target_directory.find( ".so/" ) != string::npos
- || target_directory.find( ".dylib/" ) != string::npos
- || target_directory.find( "/build/" ) != string::npos
- )
- {
- info.type = "lib";
- }
- else if ( target_directory.find( ".pyd/" ) != string::npos )
- info.type = "pyd";
- }
-
- m_root.reset( new xml::element( "test-log" ) );
- m_root->attributes.push_back(
- xml::attribute( "library", library_name ) );
- m_root->attributes.push_back(
- xml::attribute( "test-name", test_name ) );
- m_root->attributes.push_back(
- xml::attribute( "test-type", info.type ) );
- m_root->attributes.push_back(
- xml::attribute( "test-program", info.file_path ) );
- m_root->attributes.push_back(
- xml::attribute( "target-directory", target_directory ) );
- m_root->attributes.push_back(
- xml::attribute( "toolset", toolset ) );
- m_root->attributes.push_back(
- xml::attribute( "show-run-output",
- info.always_show_run_output ? "true" : "false" ) );
- }
-
- ~test_log()
- {
- fs::path pth( locate_root / m_target_directory / "test_log.xml" );
- if ( create_dirs && !fs::exists( pth.branch_path() ) )
- fs::create_directories( pth.branch_path() );
- fs::ofstream file( pth );
- if ( !file )
- {
- std::cout << "*****Warning - can't open output file: "
- << pth.string() << "\n";
- }
- else xml::write( *m_root, file );
- }
-
- const string & target_directory() const { return m_target_directory; }
-
- void remove_action( const string & action_name )
- // no effect if action_name not found
- {
- xml::element_list::iterator itr;
- for ( itr = m_root->elements.begin();
- itr != m_root->elements.end() && (*itr)->name != action_name;
- ++itr ) {}
- if ( itr != m_root->elements.end() ) m_root->elements.erase( itr );
- }
-
- void add_action( const string & action_name,
- const string & result,
- const string & timestamp,
- const string & content )
- {
- remove_action( action_name );
- xml::element_ptr action( new xml::element(action_name) );
- m_root->elements.push_back( action );
- action->attributes.push_back( xml::attribute( "result", result ) );
- action->attributes.push_back( xml::attribute( "timestamp", timestamp ) );
- action->content = content;
- }
- };
-
-// message_manager maps input messages into test_log actions ---------------//
-
- class message_manager
- : boost::noncopyable
- {
- string m_action_name; // !empty() implies action pending
- // IOW, a start_message awaits stop_message
- string m_target_directory;
- string m_test_name;
- string m_toolset;
-
- bool m_note; // if true, run result set to "note"
- // set false by start_message()
-
- // data needed to stop further compile action after a compile failure
- // detected in the same target directory
- string m_previous_target_directory;
- bool m_compile_failed;
-
- public:
- message_manager() : m_note(false) {}
- ~message_manager() { /*assert( m_action_name.empty() );*/ }
-
- bool note() const { return m_note; }
- void note( bool value ) { m_note = value; }
-
- void start_message( const string & action_name,
- const string & target_directory,
- const string & test_name,
- const string & toolset,
- const string & prior_content )
- {
- assert( !target_directory.empty() );
-
- if ( !m_action_name.empty() ) stop_message( prior_content );
- m_action_name = action_name;
- m_target_directory = target_directory;
- m_test_name = test_name;
- m_toolset = toolset;
- m_note = false;
-
- if ( m_previous_target_directory != target_directory )
- {
- m_previous_target_directory = target_directory;
- m_compile_failed = false;
- }
- }
-
- void stop_message( const string & content )
- {
- if ( m_action_name.empty() ) return;
- stop_message( m_action_name, m_target_directory,
- "succeed", timestamp(), content );
- }
-
- void stop_message( const string & action_name,
- const string & target_directory,
- const string & result,
- const string & timestamp,
- const string & content )
- // the only valid action_names are "compile", "link", "run", "lib"
- {
- // My understanding of the jam output is that there should never be
- // a stop_message that was not preceeded by a matching start_message.
- // That understanding is built into message_manager code.
- assert( m_action_name == action_name );
- assert( m_target_directory == target_directory );
- assert( result == "succeed" || result == "fail" );
-
- // if test_log.xml entry needed
- if ( !m_compile_failed
- || action_name != "compile"
- || m_previous_target_directory != target_directory )
- {
- if ( action_name == "compile"
- && result == "fail" ) m_compile_failed = true;
-
- test_log tl( target_directory,
- m_test_name, m_toolset, action_name == "compile" );
- tl.remove_action( "lib" ); // always clear out lib residue
-
- // dependency removal
- if ( action_name == "lib" )
- {
- tl.remove_action( "compile" );
- tl.remove_action( "link" );
- tl.remove_action( "run" );
- }
- else if ( action_name == "compile" )
- {
- tl.remove_action( "link" );
- tl.remove_action( "run" );
- if ( result == "fail" ) m_compile_failed = true;
- }
- else if ( action_name == "link" )
- {
- tl.remove_action( "run" );
- }
-
- // dependency removal won't work right with random names, so assert
- else { assert( action_name == "run" ); }
-
- // add the "run" stop_message action
- tl.add_action( action_name,
- result == "succeed" && note() ? std::string("note") : result,
- timestamp, content );
- }
-
- m_action_name = ""; // signal no pending action
- m_previous_target_directory = target_directory;
- }
- };
-}
-
-
-// main --------------------------------------------------------------------//
-
-
-int main( int argc, char ** argv )
-{
- // Turn off synchronization with corresponding C standard library files. This
- // gives a significant speed improvement on platforms where the standard C++
- // streams are implemented using standard C files.
- std::ios::sync_with_stdio(false);
-
- fs::initial_path();
- std::istream* input = 0;
-
- if ( argc <= 1 )
- {
- std::cout << "process_jam_log [--echo] [--create-directories] [--v1|--v2]\n"
- " [--boost-root boost_root] [--locate-root locate_root]\n"
- " [--input-file input_file]\n"
- " [locate-root]\n"
- "--echo - verbose diagnostic output.\n"
- "--create-directories - if the directory for xml file doesn't exists - creates it.\n"
- " usually used for processing logfile on different machine\n"
- "--v2 - bjam version 2 used (default).\n"
- "--v1 - bjam version 1 used.\n"
- "--boost-root - the root of the boost installation being used. If not defined\n"
- " assume to run from within it and discover it heuristically.\n"
- "--locate-root - the same as the bjam ALL_LOCATE_TARGET\n"
- " parameter, if any. Default is boost-root.\n"
- "--input-file - the output of a bjam --dump-tests run. Default is std input.\n"
- ;
- return 1;
- }
-
- while ( argc > 1 )
- {
- if ( std::strcmp( argv[1], "--echo" ) == 0 )
- {
- echo = true;
- --argc; ++argv;
- }
- else if ( std::strcmp( argv[1], "--create-directories" ) == 0 )
- {
- create_dirs = true;
- --argc; ++argv;
- }
- else if ( std::strcmp( argv[1], "--v2" ) == 0 )
- {
- boost_build_v2 = true;
- --argc; ++argv;
- }
- else if ( std::strcmp( argv[1], "--v1" ) == 0 )
- {
- boost_build_v2 = false;
- --argc; ++argv;
- }
- else if ( std::strcmp( argv[1], "--boost-root" ) == 0 )
- {
- --argc; ++argv;
- if ( argc == 1 )
- {
- std::cout << "Abort: option --boost-root requires a directory argument\n";
- std::exit(1);
- }
- boost_root = fs::path( argv[1] );
- if ( !boost_root.is_complete() )
- boost_root = ( fs::initial_path() / boost_root ).normalize();
-
- --argc; ++argv;
- }
- else if ( std::strcmp( argv[1], "--locate-root" ) == 0 )
- {
- --argc; ++argv;
- if ( argc == 1 )
- {
- std::cout << "Abort: option --locate-root requires a directory argument\n";
- std::exit(1);
- }
- locate_root = fs::path( argv[1] );
- --argc; ++argv;
- }
- else if ( std::strcmp( argv[1], "--input-file" ) == 0 )
- {
- --argc; ++argv;
- if ( argc == 1 )
- {
- std::cout << "Abort: option --input-file requires a filename argument\n";
- std::exit(1);
- }
- input = new std::ifstream(argv[1]);
- --argc; ++argv;
- }
- else if ( *argv[1] == '-' )
- {
- std::cout << "Abort: unknown option; invoke with no arguments to see list of valid options\n";
- return 1;
- }
- else
- {
- locate_root = fs::path( argv[1] );
- --argc; ++argv;
- }
- }
-
- if ( boost_root.empty() )
- {
- set_boost_root();
- boost_root.normalize();
- }
-
-
- if ( locate_root.empty() )
- {
- locate_root = boost_root;
- }
- else if ( !locate_root.is_complete() )
- {
- locate_root = ( fs::initial_path() / locate_root ).normalize();
- }
-
- if ( input == 0 )
- {
- input = &std::cin;
- }
-
- std::cout << "boost_root: " << boost_root.string() << '\n'
- << "locate_root: " << locate_root.string() << '\n';
-
- message_manager mgr;
-
- string line;
- string content;
- bool capture_lines = false;
-
- // This loop looks at lines for certain signatures, and accordingly:
- // * Calls start_message() to start capturing lines. (start_message() will
- // automatically call stop_message() if needed.)
- // * Calls stop_message() to stop capturing lines.
- // * Capture lines if line capture on.
-
- static const int max_line_length = 8192;
- int line_num = 0;
- while ( std::getline( *input, line ) )
- {
- if (max_line_length < line.size()) line = line.substr(0, max_line_length);
-
- ++line_num;
-
- std::vector<std::string> const line_parts( split( line ) );
- std::string const line_start( line_parts[0] != "...failed"
- ? line_parts[0]
- : line_parts[0] + " " + line_parts[1]
- );
-
- if ( echo )
- {
- std::cout
- << "line " << line_num << ": " << line << "\n"
- << "\tline_start: " << line_start << "\n";
- }
-
- // create map of test-name to test-info
- if ( line_start.find( "boost-test(" ) == 0 )
- {
- string::size_type pos = line.find( '"' );
- string test_name( line.substr( pos+1, line.find( '"', pos+1)-pos-1 ) );
- test_info info;
- info.always_show_run_output
- = line.find( "\"always_show_run_output\"" ) != string::npos;
- info.type = line.substr( 11, line.find( ')' )-11 );
- for (unsigned int i = 0; i!=info.type.size(); ++i )
- { info.type[i] = std::tolower( info.type[i] ); }
- pos = line.find( ':' );
- // the rest of line is missing if bjam didn't know how to make target
- if ( pos + 1 != line.size() )
- {
- info.file_path = line.substr( pos+3,
- line.find( "\"", pos+3 )-pos-3 );
- convert_path_separators( info.file_path );
- if ( info.file_path.find( "libs/libs/" ) == 0 ) info.file_path.erase( 0, 5 );
- if ( test_name.find( "/" ) == string::npos )
- test_name = "/" + test_name;
- test2info.insert( std::make_pair( test_name, info ) );
- // std::cout << test_name << ", " << info.type << ", " << info.file_path << "\n";
- }
- else
- {
- std::cout << "*****Warning - missing test path: " << line << "\n"
- << " (Usually occurs when bjam doesn't know how to make a target)\n";
- }
- continue;
- }
-
- // these actions represent both the start of a new action
- // and the end of a failed action
- else if ( line_start.find( "C++-action" ) != string::npos
- || line_start.find( "vc-C++" ) != string::npos
- || line_start.find( "C-action" ) != string::npos
- || line_start.find( "Cc-action" ) != string::npos
- || line_start.find( "vc-Cc" ) != string::npos
- || line_start.find( ".compile.") != string::npos
- || line_start.find( "compile-") != string::npos
- || line_start.find( "-compile") != string::npos
- || line_start.find( "Link-action" ) != string::npos
- || line_start.find( "vc-Link" ) != string::npos
- || line_start.find( "Archive-action" ) != string::npos
- || line_start.find( ".archive") != string::npos
- || ( line_start.find( ".link") != string::npos &&
- // .linkonce is present in gcc linker messages about
- // unresolved symbols. We don't have to parse those
- line_start.find( ".linkonce" ) == string::npos )
- )
- {
- //~ if ( !test2info.size() )
- //~ {
- //~ std::cout << "*****Error - No \"boost-test\" lines encountered.\n"
- //~ " (Usually occurs when bjam was envoked without the --dump-tests option\n"
- //~ " or bjam was envoked in the wrong directory)\n";
- //~ return 1;
- //~ }
-
- string action( ( line_start.find( "Link-action" ) != string::npos
- || line_start.find( "vc-Link" ) != string::npos
- || line_start.find( "Archive-action" ) != string::npos
- || line_start.find( ".archive") != string::npos
- || line_start.find( ".link") != string::npos
- )
- ? "link" : "compile"
- );
-
- if ( line_start.find( "...failed " ) != string::npos )
- {
- mgr.stop_message( action, target_directory( line ),
- "fail", timestamp(), content );
- }
- else
- {
- string target_dir( target_directory( line ) );
- mgr.start_message( action, target_dir,
- test_name( target_dir ), toolset( target_dir ), content );
- }
- content = "\n";
- capture_lines = true;
- }
-
- // these actions are only used to stop the previous action
- else if ( line_start.find( "-Archive" ) != string::npos
- || line_start.find( "MkDir" ) == 0
- || line_start.find( "common.mkdir" ) == 0 )
- {
- mgr.stop_message( content );
- content.clear();
- capture_lines = false;
- }
-
- else if ( line_start.find( "execute-test" ) != string::npos
- || line_start.find( "capture-output" ) != string::npos )
- {
- if ( line_start.find( "...failed " ) != string::npos )
- {
- mgr.stop_message( "run", target_directory( line ),
- "fail", timestamp(), content );
- content = "\n";
- capture_lines = true;
- }
- else
- {
- string target_dir( target_directory( line ) );
- mgr.start_message( "run", target_dir,
- test_name( target_dir ), toolset( target_dir ), content );
-
- // contents of .output file for content
- capture_lines = false;
- content = "\n";
- fs::ifstream file( locate_root / target_dir
- / (test_name(target_dir) + ".output") );
- if ( file )
- {
- string ln;
- while ( std::getline( file, ln ) )
- {
- if ( ln.find( "<note>" ) != string::npos ) mgr.note( true );
- append_html( ln, content );
- content += "\n";
- }
- }
- }
- }
-
- // bjam indicates some prior dependency failed by a "...skipped" message
- else if ( line_start.find( "...skipped" ) != string::npos
- && line.find( "<directory-grist>" ) == string::npos
- )
- {
- mgr.stop_message( content );
- content.clear();
- capture_lines = false;
-
- if ( line.find( " for lack of " ) != string::npos )
- {
- capture_lines = ( line.find( ".run for lack of " ) == string::npos );
-
- string target_dir;
- string lib_dir;
-
- parse_skipped_msg( line, target_dir, lib_dir );
-
- if ( target_dir != lib_dir ) // it's a lib problem
- {
- mgr.start_message( "lib", target_dir,
- test_name( target_dir ), toolset( target_dir ), content );
- content = lib_dir;
- mgr.stop_message( "lib", target_dir, "fail", timestamp(), content );
- content = "\n";
- }
- }
-
- }
-
- else if ( line_start.find( "**passed**" ) != string::npos
- || line_start.find( "failed-test-file" ) != string::npos
- || line_start.find( "command-file-dump" ) != string::npos )
- {
- mgr.stop_message( content );
- content = "\n";
- capture_lines = true;
- }
-
- else if ( capture_lines ) // hang onto lines for possible later use
- {
- append_html( line, content );;
- content += "\n";
- }
- }
-
- mgr.stop_message( content );
- if (input != &std::cin)
- delete input;
- return 0;
-}
diff --git a/tools/regression/src/process_jam_log.py b/tools/regression/src/process_jam_log.py
deleted file mode 100755
index a7722b9d7a..0000000000
--- a/tools/regression/src/process_jam_log.py
+++ /dev/null
@@ -1,468 +0,0 @@
-#!/usr/bin/python
-# Copyright 2008 Rene Rivera
-# Distributed under the Boost Software License, Version 1.0.
-# (See accompanying file LICENSE_1_0.txt or http://www.boost.org/LICENSE_1_0.txt)
-
-import re
-import optparse
-import time
-import xml.dom.minidom
-import xml.dom.pulldom
-from xml.sax.saxutils import unescape, escape
-import os.path
-
-#~ Process a bjam XML log into the XML log format for Boost result processing.
-class BJamLog2Results:
-
- def __init__(self,args=None):
- opt = optparse.OptionParser(
- usage="%prog [options] input")
- opt.add_option( '--output',
- help="output file" )
- opt.add_option( '--runner',
- help="runner ID (e.g. 'Metacomm')" )
- opt.add_option( '--comment',
- help="an HTML comment file to be inserted in the reports" )
- opt.add_option( '--tag',
- help="the tag for the results" )
- opt.add_option( '--incremental',
- help="do incremental run (do not remove previous binaries)",
- action='store_true' )
- opt.add_option( '--platform' )
- opt.add_option( '--source' )
- opt.add_option( '--revision' )
- self.output = None
- self.runner = None
- self.comment='comment.html'
- self.tag='trunk'
- self.incremental=False
- self.platform=''
- self.source='SVN'
- self.revision=None
- self.input = []
- ( _opt_, self.input ) = opt.parse_args(args,self)
- if self.incremental:
- run_type = 'incremental'
- else:
- run_type = 'full'
- self.results = xml.dom.minidom.parseString('''<?xml version="1.0" encoding="UTF-8"?>
-<test-run
- source="%(source)s"
- runner="%(runner)s"
- timestamp=""
- platform="%(platform)s"
- tag="%(tag)s"
- run-type="%(run-type)s"
- revision="%(revision)s">
-</test-run>
-''' % {
- 'source' : self.source,
- 'runner' : self.runner,
- 'platform' : self.platform,
- 'tag' : self.tag,
- 'run-type' : run_type,
- 'revision' : self.revision,
- } )
-
- self.test = {}
- self.target_to_test = {}
- self.target = {}
- self.parent = {}
- self.log = {}
-
- self.add_log()
- self.gen_output()
-
- #~ print self.test
- #~ print self.target
-
- def add_log(self):
- if self.input[0]:
- bjam_xml = self.input[0]
- else:
- bjam_xml = self.input[1]
- events = xml.dom.pulldom.parse(bjam_xml)
- context = []
- test_run = self.results.documentElement
- for (event,node) in events:
- if event == xml.dom.pulldom.START_ELEMENT:
- context.append(node)
- if node.nodeType == xml.dom.Node.ELEMENT_NODE:
- x_f = self.x_name_(*context)
- if x_f:
- events.expandNode(node)
- # expanding eats the end element, hence walking us out one level
- context.pop()
- # call the translator, and add returned items to the result
- items = (x_f[1])(node)
- if items:
- for item in items:
- if item:
- test_run.appendChild(self.results.createTextNode("\n"))
- test_run.appendChild(item)
- elif event == xml.dom.pulldom.END_ELEMENT:
- context.pop()
- #~ Add the log items nwo that we've collected all of them.
- items = self.log.values()
- if items:
- for item in items:
- if item:
- test_run.appendChild(self.results.createTextNode("\n"))
- test_run.appendChild(item)
-
- def gen_output(self):
- if self.output:
- out = open(self.output,'w')
- else:
- out = sys.stdout
- if out:
- self.results.writexml(out,encoding='utf-8')
-
- def tostring(self):
- return self.results.toxml('utf-8')
-
- def x_name_(self, *context, **kwargs):
- node = None
- names = [ ]
- for c in context:
- if c:
- if not isinstance(c,xml.dom.Node):
- suffix = '_'+c.replace('-','_').replace('#','_')
- else:
- suffix = '_'+c.nodeName.replace('-','_').replace('#','_')
- node = c
- names.append('x')
- names = map(lambda x: x+suffix,names)
- if node:
- for name in names:
- if hasattr(self,name):
- return (name,getattr(self,name))
- return None
-
- def x(self, *context, **kwargs):
- node = None
- names = [ ]
- for c in context:
- if c:
- if not isinstance(c,xml.dom.Node):
- suffix = '_'+c.replace('-','_').replace('#','_')
- else:
- suffix = '_'+c.nodeName.replace('-','_').replace('#','_')
- node = c
- names.append('x')
- names = map(lambda x: x+suffix,names)
- if node:
- for name in names:
- if hasattr(self,name):
- return getattr(self,name)(node,**kwargs)
- else:
- assert False, 'Unknown node type %s'%(name)
- return None
-
- #~ The timestamp goes to the corresponding attribute in the result.
- def x_build_timestamp( self, node ):
- test_run = self.results.documentElement
- test_run.setAttribute('timestamp',self.get_data(node).strip())
- return None
-
- #~ Comment file becomes a comment node.
- def x_build_comment( self, node ):
- comment = None
- if self.comment:
- comment_f = open(self.comment)
- if comment_f:
- comment = comment_f.read()
- comment_f.close()
- if not comment:
- comment = ''
- return [self.new_text('comment',comment)]
-
- #~ Tests are remembered for future reference.
- def x_build_test( self, node ):
- test_run = self.results.documentElement
- test_node = node
- test_name = test_node.getAttribute('name')
- self.test[test_name] = {
- 'library' : '/'.join(test_name.split('/')[0:-1]),
- 'test-name' : test_name.split('/')[-1],
- 'test-type' : test_node.getAttribute('type').lower(),
- 'test-program' : self.get_child_data(test_node,tag='source',strip=True),
- 'target' : self.get_child_data(test_node,tag='target',strip=True),
- 'info' : self.get_child_data(test_node,tag='info',strip=True)
- }
- #~ Add a lookup for the test given the test target.
- self.target_to_test[self.test[test_name]['target']] = test_name
- #~ print "--- %s\n => %s" %(self.test[test_name]['target'],test_name)
- return None
-
- #~ Process the target dependency DAG into an ancestry tree so we can look up
- #~ which top-level library and test targets specific build actions correspond to.
- def x_build_targets_target( self, node ):
- test_run = self.results.documentElement
- target_node = node
- name = self.get_child_data(target_node,tag='name',strip=True)
- path = self.get_child_data(target_node,tag='path',strip=True)
- jam_target = self.get_child_data(target_node,tag='jam-target',strip=True)
- #~ print "--- target :: %s" %(name)
- #~ Map for jam targets to virtual targets.
- self.target[jam_target] = {
- 'name' : name,
- 'path' : path
- }
- #~ Create the ancestry.
- dep_node = self.get_child(self.get_child(target_node,tag='dependencies'),tag='dependency')
- while dep_node:
- child = self.get_data(dep_node,strip=True)
- child_jam_target = '<p%s>%s' % (path,child.split('//',1)[1])
- self.parent[child_jam_target] = jam_target
- #~ print "--- %s\n ^ %s" %(jam_target,child_jam_target)
- dep_node = self.get_sibling(dep_node.nextSibling,tag='dependency')
- return None
-
- #~ Given a build action log, process into the corresponding test log and
- #~ specific test log sub-part.
- def x_build_action( self, node ):
- test_run = self.results.documentElement
- action_node = node
- name = self.get_child(action_node,tag='name')
- if name:
- name = self.get_data(name)
- #~ Based on the action, we decide what sub-section the log
- #~ should go into.
- action_type = None
- if re.match('[^%]+%[^.]+[.](compile)',name):
- action_type = 'compile'
- elif re.match('[^%]+%[^.]+[.](link|archive)',name):
- action_type = 'link'
- elif re.match('[^%]+%testing[.](capture-output)',name):
- action_type = 'run'
- elif re.match('[^%]+%testing[.](expect-failure|expect-success)',name):
- action_type = 'result'
- #~ print "+ [%s] %s %s :: %s" %(action_type,name,'','')
- if action_type:
- #~ Get the corresponding test.
- (target,test) = self.get_test(action_node,type=action_type)
- #~ Skip action that have no correspoding test as they are
- #~ regular build actions and don't need to show up in the
- #~ regression results.
- if not test:
- return None
- #~ And the log node, which we will add the results to.
- log = self.get_log(action_node,test)
- #~ print "--- [%s] %s %s :: %s" %(action_type,name,target,test)
- #~ Collect some basic info about the action.
- result_data = "%(info)s\n\n%(command)s\n%(output)s\n" % {
- 'command' : self.get_action_command(action_node,action_type),
- 'output' : self.get_action_output(action_node,action_type),
- 'info' : self.get_action_info(action_node,action_type)
- }
- #~ For the test result status we find the appropriate node
- #~ based on the type of test. Then adjust the result status
- #~ acorrdingly. This makes the result status reflect the
- #~ expectation as the result pages post processing does not
- #~ account for this inversion.
- action_tag = action_type
- if action_type == 'result':
- if re.match(r'^compile',test['test-type']):
- action_tag = 'compile'
- elif re.match(r'^link',test['test-type']):
- action_tag = 'link'
- elif re.match(r'^run',test['test-type']):
- action_tag = 'run'
- #~ The result sub-part we will add this result to.
- result_node = self.get_child(log,tag=action_tag)
- if action_node.getAttribute('status') == '0':
- action_result = 'succeed'
- else:
- action_result = 'fail'
- if not result_node:
- #~ If we don't have one already, create it and add the result.
- result_node = self.new_text(action_tag,result_data,
- result = action_result,
- timestamp = action_node.getAttribute('start'))
- log.appendChild(self.results.createTextNode("\n"))
- log.appendChild(result_node)
- else:
- #~ For an existing result node we set the status to fail
- #~ when any of the individual actions fail, except for result
- #~ status.
- if action_type != 'result':
- result = result_node.getAttribute('result')
- if action_node.getAttribute('status') != '0':
- result = 'fail'
- else:
- result = action_result
- result_node.setAttribute('result',result)
- result_node.appendChild(self.results.createTextNode("\n"))
- result_node.appendChild(self.results.createTextNode(result_data))
- return None
-
- #~ The command executed for the action. For run actions we omit the command
- #~ as it's just noise.
- def get_action_command( self, action_node, action_type ):
- if action_type != 'run':
- return self.get_child_data(action_node,tag='command')
- else:
- return ''
-
- #~ The command output.
- def get_action_output( self, action_node, action_type ):
- return self.get_child_data(action_node,tag='output',default='')
-
- #~ Some basic info about the action.
- def get_action_info( self, action_node, action_type ):
- info = ""
- #~ The jam action and target.
- info += "%s %s\n" %(self.get_child_data(action_node,tag='name'),
- self.get_child_data(action_node,tag='path'))
- #~ The timing of the action.
- info += "Time: (start) %s -- (end) %s -- (user) %s -- (system) %s\n" %(
- action_node.getAttribute('start'), action_node.getAttribute('end'),
- action_node.getAttribute('user'), action_node.getAttribute('system'))
- #~ And for compiles some context that may be hidden if using response files.
- if action_type == 'compile':
- define = self.get_child(self.get_child(action_node,tag='properties'),name='define')
- while define:
- info += "Define: %s\n" %(self.get_data(define,strip=True))
- define = self.get_sibling(define.nextSibling,name='define')
- return info
-
- #~ Find the test corresponding to an action. For testing targets these
- #~ are the ones pre-declared in the --dump-test option. For libraries
- #~ we create a dummy test as needed.
- def get_test( self, node, type = None ):
- jam_target = self.get_child_data(node,tag='jam-target')
- base = self.target[jam_target]['name']
- target = jam_target
- while target in self.parent:
- target = self.parent[target]
- #~ print "--- TEST: %s ==> %s" %(jam_target,target)
- #~ main-target-type is a precise indicator of what the build target is
- #~ proginally meant to be.
- main_type = self.get_child_data(self.get_child(node,tag='properties'),
- name='main-target-type',strip=True)
- if main_type == 'LIB' and type:
- lib = self.target[target]['name']
- if not lib in self.test:
- self.test[lib] = {
- 'library' : re.search(r'libs/([^/]+)',lib).group(1),
- 'test-name' : os.path.basename(lib),
- 'test-type' : 'lib',
- 'test-program' : os.path.basename(lib),
- 'target' : lib
- }
- test = self.test[lib]
- else:
- target_name_ = self.target[target]['name']
- if self.target_to_test.has_key(target_name_):
- test = self.test[self.target_to_test[target_name_]]
- else:
- test = None
- return (base,test)
-
- #~ Find, or create, the test-log node to add results to.
- def get_log( self, node, test ):
- target_directory = os.path.dirname(self.get_child_data(
- node,tag='path',strip=True))
- target_directory = re.sub(r'.*[/\\]bin[.]v2[/\\]','',target_directory)
- target_directory = re.sub(r'[\\]','/',target_directory)
- if not target_directory in self.log:
- if 'info' in test and test['info'] == 'always_show_run_output':
- show_run_output = 'true'
- else:
- show_run_output = 'false'
- self.log[target_directory] = self.new_node('test-log',
- library=test['library'],
- test_name=test['test-name'],
- test_type=test['test-type'],
- test_program=test['test-program'],
- toolset=self.get_toolset(node),
- target_directory=target_directory,
- show_run_output=show_run_output)
- return self.log[target_directory]
-
- #~ The precise toolset from the build properties.
- def get_toolset( self, node ):
- toolset = self.get_child_data(self.get_child(node,tag='properties'),
- name='toolset',strip=True)
- toolset_version = self.get_child_data(self.get_child(node,tag='properties'),
- name='toolset-%s:version'%toolset,strip=True)
- return '%s-%s' %(toolset,toolset_version)
-
- #~ XML utilities...
-
- def get_sibling( self, sibling, tag = None, id = None, name = None, type = None ):
- n = sibling
- while n:
- found = True
- if type and found:
- found = found and type == n.nodeType
- if tag and found:
- found = found and tag == n.nodeName
- if (id or name) and found:
- found = found and n.nodeType == xml.dom.Node.ELEMENT_NODE
- if id and found:
- if n.hasAttribute('id'):
- found = found and n.getAttribute('id') == id
- else:
- found = found and n.hasAttribute('id') and n.getAttribute('id') == id
- if name and found:
- found = found and n.hasAttribute('name') and n.getAttribute('name') == name
- if found:
- return n
- n = n.nextSibling
- return None
-
- def get_child( self, root, tag = None, id = None, name = None, type = None ):
- return self.get_sibling(root.firstChild,tag=tag,id=id,name=name,type=type)
-
- def get_data( self, node, strip = False, default = None ):
- data = None
- if node:
- data_node = None
- if not data_node:
- data_node = self.get_child(node,tag='#text')
- if not data_node:
- data_node = self.get_child(node,tag='#cdata-section')
- data = ""
- while data_node:
- data += data_node.data
- data_node = data_node.nextSibling
- if data_node:
- if data_node.nodeName != '#text' \
- and data_node.nodeName != '#cdata-section':
- data_node = None
- if not data:
- data = default
- else:
- if strip:
- data = data.strip()
- return data
-
- def get_child_data( self, root, tag = None, id = None, name = None, strip = False, default = None ):
- return self.get_data(self.get_child(root,tag=tag,id=id,name=name),strip=strip,default=default)
-
- def new_node( self, tag, *child, **kwargs ):
- result = self.results.createElement(tag)
- for k in kwargs.keys():
- if kwargs[k] != '':
- if k == 'id':
- result.setAttribute('id',kwargs[k])
- elif k == 'klass':
- result.setAttribute('class',kwargs[k])
- else:
- result.setAttribute(k.replace('_','-'),kwargs[k])
- for c in child:
- if c:
- result.appendChild(c)
- return result
-
- def new_text( self, tag, data, **kwargs ):
- result = self.new_node(tag,**kwargs)
- data = data.strip()
- if len(data) > 0:
- result.appendChild(self.results.createTextNode(data))
- return result
-
-
-if __name__ == '__main__': BJamLog2Results()
diff --git a/tools/regression/src/regression-logs.pl b/tools/regression/src/regression-logs.pl
deleted file mode 100644
index 97cd4e9acd..0000000000
--- a/tools/regression/src/regression-logs.pl
+++ /dev/null
@@ -1,197 +0,0 @@
-#!/usr/bin/perl
-
-#~ Copyright 2003, Rene Rivera.
-#~ Use, modification and distribution are subject to the Boost Software
-#~ License Version 1.0. (See accompanying file LICENSE_1_0.txt or
-#~ http://www.boost.org/LICENSE_1_0.txt)
-
-use FileHandle;
-use Time::Local;
-
-# Get the whle percent value
-#
-sub percent_value
-{
- my ($count,$total) = @_;
- my $percent = int (($count/$total)*100+0.5);
- if ($count > 0 && $percent == 0) { $percent = 1; }
- if ($count < $total && $percent == 100) { $percent = 99; }
- return $percent;
-}
-
-# Generate item html for the pass column.
-#
-sub result_info_pass
-{
- my ($color,$pass,$warn,$fail,$missing) = @_;
- my $percent = 100-percent_value($fail+$missing,$pass+$warn+$fail+$missing);
- return "<font color=\"$color\"><font size=\"+1\">$percent%</font><br>($warn&nbsp;warnings)</font>";
-}
-
-# Generate item html for the fail column.
-#
-sub result_info_fail
-{
- my ($color,$pass,$warn,$fail,$missing) = @_;
- my $percent = percent_value($fail+$missing,$pass+$warn+$fail+$missing);
- return "<font color=\"$color\"><font size=\"+1\">$percent%</font><br>($fail)</font>";
-}
-
-# Generate an age highlighted run date string.
-# Use as: data_info(run-date-html)
-#
-sub date_info
-{
- my %m = ('January',0,'February',1,'March',2,'April',3,'May',4,'June',5,
- 'July',6,'August',7,'September',8,'October',9,'November',10,'December',11);
- my @d = split(/ |:/,$_[0]);
- my ($hour,$min,$sec,$day,$month,$year) = ($d[0],$d[1],$d[2],$d[4],$m{$d[5]},$d[6]);
- #print "<!-- $hour.$min.$sec.$day.$month.$year -->\n";
- my $test_t = timegm($sec,$min,$hour,$day,$month,$year);
- my $age = time-$test_t;
- my $age_days = $age/(60*60*24);
- #print "<!-- $age_days days old -->\n";
- my $age_html = "<font>";
- if ($age_days <= 2) { }
- elsif ($age_days <= 14) { $age_html = "<font color=\"#FF9900\">"; }
- else { $age_html = "<font color=\"#FF0000\">"; }
- return $age_html.$_[0]."</font>";
-}
-
-# Generate an age string based on the run date.
-# Use as: age_info(run-date-html)
-#
-sub age_info
-{
- my %m = ('January',0,'February',1,'March',2,'April',3,'May',4,'June',5,
- 'July',6,'August',7,'September',8,'October',9,'November',10,'December',11);
- my @d = split(/ |:/,$_[0]);
- my ($hour,$min,$sec,$day,$month,$year) = ($d[0],$d[1],$d[2],$d[4],$m{$d[5]},$d[6]);
- #print "<!-- $hour.$min.$sec.$day.$month.$year -->\n";
- my $test_t = timegm($sec,$min,$hour,$day,$month,$year);
- my $age = time-$test_t;
- my $age_days = $age/(60*60*24);
- #print "<!-- $age_days days old -->\n";
- my $age_html = "<font>";
- if ($age_days <= 2) { }
- elsif ($age_days <= 14) { $age_html = "<font color=\"#FF9900\">"; }
- else { $age_html = "<font color=\"#FF0000\">"; }
- if ($age_days <= 1) { $age_html = $age_html."today"; }
- elsif ($age_days <= 2) { $age_html = $age_html."yesterday"; }
- elsif ($age_days < 14) { my $days = int $age_days; $age_html = $age_html.$days." days"; }
- elsif ($age_days < 7*8) { my $weeks = int $age_days/7; $age_html = $age_html.$weeks." weeks"; }
- else { my $months = int $age_days/28; $age_html = $age_html.$months." months"; }
- return $age_html."</font>";
-}
-
-#~ foreach my $k (sort keys %ENV)
-#~ {
- #~ print "<!-- $k = $ENV{$k} -->\n";
-#~ }
-my $logdir = "$ENV{PWD}";
-#~ my $logdir = "C:\\CVSROOTs\\Boost\\boost\\status";
-opendir LOGS, "$logdir";
-my @logs = grep /.*links[^.]*\.html$/, readdir LOGS;
-closedir LOGS;
-my @bgcolor = ( "bgcolor=\"#EEEEFF\"", "" );
-my $row = 0;
-print "<table>\n";
-print "<tr>\n",
- "<th align=\"left\" bgcolor=\"#DDDDDD\">Platform</th>\n",
- "<th align=\"left\" bgcolor=\"#DDDDDD\">Run Date</th>\n",
- "<th align=\"left\" bgcolor=\"#DDDDDD\">Age</th>\n",
- "<th align=\"left\" bgcolor=\"#DDDDDD\">Compilers</th>\n",
- "<th align=\"left\" bgcolor=\"#DDDDDD\">Pass</th>\n",
- "<th align=\"left\" bgcolor=\"#DDDDDD\">Fail</th>\n",
- "</tr>\n";
-foreach $l (sort { lc($a) cmp lc($b) } @logs)
-{
- my $log = $l;
- $log =~ s/-links//s;
- my ($spec) = ($log =~ /cs-([^\.]+)/);
- my $fh = new FileHandle;
- if ($fh->open("<$logdir/$log"))
- {
- my $content = join('',$fh->getlines());
- $fh->close;
- my ($status) = ($content =~ /(<h1>Compiler(.(?!<\/td>))+.)/si);
- my ($platform) = ($status =~ /Status: ([^<]+)/si);
- my ($run_date) = ($status =~ /Date:<\/b> ([^<]+)/si);
- $run_date =~ s/, /<br>/g;
- my ($compilers) = ($content =~ /Test Type<\/a><\/t[dh]>((.(?!<\/tr>))+.)/si);
- if ($compilers eq "") { next; }
- $compilers =~ s/-<br>//g;
- $compilers =~ s/<\/td>//g;
- my @compiler = ($compilers =~ /<td>(.*)$/gim);
- my $count = @compiler;
- my @results = ($content =~ /(>Pass<|>Warn<|>Fail<|>Missing<)/gi);
- my $test_count = (scalar @results)/$count;
- my @pass = map { 0 } (1..$count);
- my @warn = map { 0 } (1..$count);
- my @fail = map { 0 } (1..$count);
- my @missing = map { 0 } (1..$count);
- my @total = map { 0 } (1..$count);
- #~ print "<!-- ",
- #~ "pass = ",join(',',@pass)," ",
- #~ "warn = ",join(',',@warn)," ",
- #~ "fail = ",join(',',@fail)," ",
- #~ "missing = ",join(',',@missing)," ",
- #~ "total = ",join(',',@total)," ",
- #~ " -->\n";
- for my $t (1..$test_count)
- {
- my $r0 = (($t-1)*$count);
- my $r1 = (($t-1)*$count+$count-1);
- my @r = @results[(($t-1)*$count)..(($t-1)*$count+$count-1)];
- #~ print "<!-- ",
- #~ "result = ",join(',',@r)," ",
- #~ "range = ",$r0,"..",$r1," (",(scalar @results),")",
- #~ " -->\n";
- for my $c (1..$count)
- {
- if ($r[$c-1] =~ /Pass/i) { ++$pass[$c-1]; }
- elsif ($r[$c-1] =~ /Warn/i) { ++$warn[$c-1]; }
- elsif ($r[$c-1] =~ /Fail/i) { ++$fail[$c-1]; }
- elsif ($r[$c-1] =~ /Missing/i) { ++$missing[$c-1]; }
- ++$total[$c-1];
- }
- }
- #~ print "<!-- ",
- #~ "pass = ",join(',',@pass)," ",
- #~ "warn = ",join(',',@warn)," ",
- #~ "fail = ",join(',',@fail)," ",
- #~ "missing = ",join(',',@missing)," ",
- #~ "total = ",join(',',@total)," ",
- #~ " -->\n";
- for my $comp (1..(scalar @compiler))
- {
- my @lines = split(/<br>/,$compiler[$comp-1]);
- if (@lines > 2) { $compiler[$comp-1] = join(' ',@lines[0..(scalar @lines)-2])."<br>".$lines[(scalar @lines)-1]; }
- }
- print
- "<tr>\n",
- "<td rowspan=\"$count\" valign=\"top\"><font size=\"+1\">$platform</font><br>(<a href=\"./$log\">$spec</a>)</td>\n",
- "<td rowspan=\"$count\" valign=\"top\">",$run_date,"</td>\n",
- "<td rowspan=\"$count\" valign=\"top\">",age_info($run_date),"</td>\n",
- "<td valign=\"top\" ",$bgcolor[$row],">",$compiler[0],"</td>\n",
- "<td valign=\"top\" ",$bgcolor[$row],">",result_info_pass("#000000",$pass[0],$warn[0],$fail[0],$missing[0]),"</td>\n",
- "<td valign=\"top\" ",$bgcolor[$row],">",result_info_fail("#FF0000",$pass[0],$warn[0],$fail[0],$missing[0]),"</td>\n",
- "</tr>\n";
- $row = ($row+1)%2;
- foreach my $c (1..($count-1))
- {
- print
- "<tr>\n",
- "<td valign=\"top\" ",$bgcolor[$row],">",$compiler[$c],"</td>\n",
- "<td valign=\"top\" ",$bgcolor[$row],">",result_info_pass("#000000",$pass[$c],$warn[$c],$fail[$c],$missing[$c]),"</td>\n",
- "<td valign=\"top\" ",$bgcolor[$row],">",result_info_fail("#FF0000",$pass[$c],$warn[$c],$fail[$c],$missing[$c]),"</td>\n",
- "</tr>\n";
- $row = ($row+1)%2;
- }
- print
- "<tr>\n",
- "<td colspan=\"7\"><hr size=\"1\" noshade></td>\n",
- "</tr>\n";
- }
-}
-print "</table>\n";
diff --git a/tools/regression/src/regression.py b/tools/regression/src/regression.py
deleted file mode 100644
index 22bee2f9e3..0000000000
--- a/tools/regression/src/regression.py
+++ /dev/null
@@ -1,908 +0,0 @@
-#!/usr/bin/python
-
-# Copyright MetaCommunications, Inc. 2003-2007
-# Copyright Redshift Software, Inc. 2007
-#
-# Distributed under the Boost Software License, Version 1.0.
-# (See accompanying file LICENSE_1_0.txt or copy at
-# http://www.boost.org/LICENSE_1_0.txt)
-
-import glob
-import optparse
-import os
-import os.path
-import platform
-import sys
-import time
-
-#~ Place holder for xsl_reports/util module
-utils = None
-
-repo_root = {
- 'anon' : 'http://svn.boost.org/svn/boost/',
- 'user' : 'https://svn.boost.org/svn/boost/'
- }
-repo_path = {
- 'trunk' : 'trunk',
- 'release' : 'branches/release',
- 'build' : 'trunk/tools/build/v2',
- 'jam' : 'trunk/tools/build/engine',
- 'regression' : 'trunk/tools/regression',
- 'boost-build.jam'
- : 'trunk/boost-build.jam'
- }
-
-class runner:
-
- def __init__(self,root):
- commands = map(
- lambda m: m[8:].replace('_','-'),
- filter(
- lambda m: m.startswith('command_'),
- runner.__dict__.keys())
- )
- commands.sort()
- commands = "commands: %s" % ', '.join(commands)
-
- opt = optparse.OptionParser(
- usage="%prog [options] [commands]",
- description=commands)
-
- #~ Base Options:
- opt.add_option( '--runner',
- help="runner ID (e.g. 'Metacomm')" )
- opt.add_option( '--comment',
- help="an HTML comment file to be inserted in the reports" )
- opt.add_option( '--tag',
- help="the tag for the results" )
- opt.add_option( '--toolsets',
- help="comma-separated list of toolsets to test with" )
- opt.add_option( '--libraries',
- help="comma separated list of libraries to test")
- opt.add_option( '--incremental',
- help="do incremental run (do not remove previous binaries)",
- action='store_true' )
- opt.add_option( '--timeout',
- help="specifies the timeout, in minutes, for a single test run/compilation",
- type='int' )
- opt.add_option( '--bjam-options',
- help="options to pass to the regression test" )
- opt.add_option( '--bjam-toolset',
- help="bootstrap toolset for 'bjam' executable" )
- opt.add_option( '--pjl-toolset',
- help="bootstrap toolset for 'process_jam_log' executable" )
- opt.add_option( '--platform' )
-
- #~ Source Options:
- opt.add_option( '--user',
- help="Boost SVN user ID" )
- opt.add_option( '--local',
- help="the name of the boost tarball" )
- opt.add_option( '--force-update',
- help="do an SVN update (if applicable) instead of a clean checkout, even when performing a full run",
- action='store_true' )
- opt.add_option( '--have-source',
- help="do neither a tarball download nor an SVN update; used primarily for testing script changes",
- action='store_true' )
-
- #~ Connection Options:
- opt.add_option( '--ftp',
- help="FTP URL to upload results to." )
- opt.add_option( '--proxy',
- help="HTTP proxy server address and port (e.g.'http://www.someproxy.com:3128')" )
- opt.add_option( '--ftp-proxy',
- help="FTP proxy server (e.g. 'ftpproxy')" )
- opt.add_option( '--dart-server',
- help="the dart server to send results to" )
-
- #~ Debug Options:
- opt.add_option( '--debug-level',
- help="debugging level; controls the amount of debugging output printed",
- type='int' )
- opt.add_option( '--send-bjam-log',
- help="send full bjam log of the regression run",
- action='store_true' )
- opt.add_option( '--mail',
- help="email address to send run notification to" )
- opt.add_option( '--smtp-login',
- help="STMP server address/login information, in the following form: <user>:<password>@<host>[:<port>]" )
- opt.add_option( '--skip-tests',
- help="do not run bjam; used for testing script changes",
- action='store_true' )
-
- #~ Defaults
- self.runner = None
- self.comment='comment.html'
- self.tag='trunk'
- self.toolsets=None
- self.libraries=None
- self.incremental=False
- self.timeout=5
- self.bjam_options=''
- self.bjam_toolset=''
- self.pjl_toolset=''
- self.platform=self.platform_name()
- self.user='anonymous'
- self.local=None
- self.force_update=False
- self.have_source=False
- self.ftp=None
- self.proxy=None
- self.ftp_proxy=None
- self.dart_server=None
- self.debug_level=0
- self.send_bjam_log=False
- self.mail=None
- self.smtp_login=None
- self.skip_tests=False
- ( _opt_, self.actions ) = opt.parse_args(None,self)
- if not self.actions or self.actions == []:
- self.actions = [ 'regression' ]
-
- #~ Initialize option dependent values.
- self.regression_root = root
- self.boost_root = os.path.join( self.regression_root, 'boost' )
- self.regression_results = os.path.join( self.regression_root, 'results' )
- if self.pjl_toolset != 'python':
- self.regression_log = os.path.join( self.regression_results, 'bjam.log' )
- else:
- self.regression_log = os.path.join( self.regression_results, 'bjam.xml' )
- self.tools_bb_root = os.path.join( self.regression_root,'tools_bb' )
- self.tools_bjam_root = os.path.join( self.regression_root,'tools_bjam' )
- self.tools_regression_root = os.path.join( self.regression_root,'tools_regression' )
- self.xsl_reports_dir = os.path.join( self.tools_regression_root, 'xsl_reports' )
- self.timestamp_path = os.path.join( self.regression_root, 'timestamp' )
- if sys.platform == 'win32':
- self.patch_boost = 'patch_boost.bat'
- self.bjam = { 'name' : 'bjam.exe' }
- self.process_jam_log = { 'name' : 'process_jam_log.exe' }
- elif sys.platform == 'cygwin':
- self.patch_boost = 'patch_boost'
- self.bjam = { 'name' : 'bjam.exe' }
- self.process_jam_log = { 'name' : 'process_jam_log.exe' }
- else:
- self.patch_boost = 'patch_boost'
- self.bjam = { 'name' : 'bjam' }
- self.process_jam_log = { 'name' : 'process_jam_log' }
- self.bjam = {
- 'name' : self.bjam['name'],
- 'build_cmd' : self.bjam_build_cmd,
- 'path' : os.path.join(self.regression_root,self.bjam['name']),
- 'source_dir' : self.tools_bjam_root,
- 'build_dir' : self.tools_bjam_root,
- 'build_args' : ''
- }
- self.process_jam_log = {
- 'name' : self.process_jam_log['name'],
- 'build_cmd' : self.bjam_cmd,
- 'path' : os.path.join(self.regression_root,self.process_jam_log['name']),
- 'source_dir' : os.path.join(self.tools_regression_root,'build'),
- 'build_dir' : os.path.join(self.tools_regression_root,'build'),
- 'build_args' : 'process_jam_log -d2'
- }
-
- if self.debug_level > 0:
- self.log('Regression root = %s'%self.regression_root)
- self.log('Boost root = %s'%self.boost_root)
- self.log('Regression results = %s'%self.regression_results)
- self.log('Regression log = %s'%self.regression_log)
- self.log('BB root = %s'%self.tools_bb_root)
- self.log('Bjam root = %s'%self.tools_bjam_root)
- self.log('Tools root = %s'%self.tools_regression_root)
- self.log('XSL reports dir = %s'%self.xsl_reports_dir)
- self.log('Timestamp = %s'%self.timestamp_path)
- self.log('Patch Boost script = %s'%self.patch_boost)
-
- if self.libraries is not None:
- self.libraries = self.libraries.split(",")
- # Boost.Build depends on any having run
- if "build" in self.libraries and "any" not in self.libraries:
- self.libraries += ["any"]
-
- self.bjam_options += ' "--limit-tests=' + \
- "|".join(lib for lib in self.libraries if lib != "build") + '"'
-
- self.main()
-
- #~ The various commands that make up the testing sequence...
-
- def command_cleanup(self,*args):
- if not args or args == None or args == []: args = [ 'source', 'bin' ]
-
- if 'source' in args:
- self.log( 'Cleaning up "%s" directory ...' % self.boost_root )
- self.rmtree( self.boost_root )
-
- if 'bin' in args:
- boost_bin_dir = os.path.join( self.boost_root, 'bin' )
- self.log( 'Cleaning up "%s" directory ...' % boost_bin_dir )
- self.rmtree( boost_bin_dir )
-
- boost_binv2_dir = os.path.join( self.boost_root, 'bin.v2' )
- self.log( 'Cleaning up "%s" directory ...' % boost_binv2_dir )
- self.rmtree( boost_binv2_dir )
-
- self.log( 'Cleaning up "%s" directory ...' % self.regression_results )
- self.rmtree( self.regression_results )
-
- def command_get_tools(self):
- #~ Get Boost.Build v2...
- self.log( 'Getting Boost.Build v2...' )
- if self.user and self.user != '':
- os.chdir( os.path.dirname(self.tools_bb_root) )
- self.svn_command( 'co %s %s' % (
- self.svn_repository_url(repo_path['build']),
- os.path.basename(self.tools_bb_root) ) )
- else:
- self.retry( lambda: self.download_tarball(
- os.path.basename(self.tools_bb_root)+".tar.bz2",
- self.tarball_url(repo_path['build']) ) )
- self.unpack_tarball(
- self.tools_bb_root+".tar.bz2",
- os.path.basename(self.tools_bb_root) )
- #~ Get Boost.Jam...
- self.log( 'Getting Boost.Jam...' )
- if self.user and self.user != '':
- os.chdir( os.path.dirname(self.tools_bjam_root) )
- self.svn_command( 'co %s %s' % (
- self.svn_repository_url(repo_path['jam']),
- os.path.basename(self.tools_bjam_root) ) )
- else:
- self.retry( lambda: self.download_tarball(
- os.path.basename(self.tools_bjam_root)+".tar.bz2",
- self.tarball_url(repo_path['jam']) ) )
- self.unpack_tarball(
- self.tools_bjam_root+".tar.bz2",
- os.path.basename(self.tools_bjam_root) )
- #~ Get the regression tools and utilities...
- self.log( 'Getting regression tools an utilities...' )
- if self.user and self.user != '':
- os.chdir( os.path.dirname(self.tools_regression_root) )
- self.svn_command( 'co %s %s' % (
- self.svn_repository_url(repo_path['regression']),
- os.path.basename(self.tools_regression_root) ) )
- else:
- self.retry( lambda: self.download_tarball(
- os.path.basename(self.tools_regression_root)+".tar.bz2",
- self.tarball_url(repo_path['regression']) ) )
- self.unpack_tarball(
- self.tools_regression_root+".tar.bz2",
- os.path.basename(self.tools_regression_root) )
-
- #~ We get a boost-build.jam to make the tool build work even if there's
- #~ and existing boost-build.jam above the testing root.
- self.log( 'Getting boost-build.jam...' )
- self.http_get(
- self.svn_repository_url(repo_path['boost-build.jam']),
- os.path.join( self.regression_root, 'boost-build.jam' ) )
-
- def command_get_source(self):
- self.refresh_timestamp()
- self.log( 'Getting sources (%s)...' % self.timestamp() )
-
- if self.user and self.user != '':
- self.retry( self.svn_checkout )
- else:
- self.retry( self.get_tarball )
- pass
-
- def command_update_source(self):
- if self.user and self.user != '' \
- or os.path.exists( os.path.join( self.boost_root, '.svn' ) ):
- open( self.timestamp_path, 'w' ).close()
- self.log( 'Updating sources from SVN (%s)...' % self.timestamp() )
- self.retry( self.svn_update )
- else:
- self.command_get_source( )
- pass
-
- def command_patch(self):
- self.import_utils()
- patch_boost_path = os.path.join( self.regression_root, self.patch_boost )
- if os.path.exists( patch_boost_path ):
- self.log( 'Found patch file "%s". Executing it.' % patch_boost_path )
- os.chdir( self.regression_root )
- utils.system( [ patch_boost_path ] )
- pass
-
- def command_setup(self):
- self.command_patch()
- self.build_if_needed(self.bjam,self.bjam_toolset)
- if self.pjl_toolset != 'python':
- self.build_if_needed(self.process_jam_log,self.pjl_toolset)
-
- def command_test(self, *args):
- if not args or args == None or args == []: args = [ "test", "process" ]
- self.import_utils()
-
- self.log( 'Making "%s" directory...' % self.regression_results )
- utils.makedirs( self.regression_results )
-
- results_libs = os.path.join( self.regression_results, 'libs' )
- results_status = os.path.join( self.regression_results, 'status' )
-
- if "clean" in args:
- self.command_test_clean()
-
- if "test" in args:
- self.command_test_run()
- self.command_test_boost_build()
-
- if "process" in args:
- if self.pjl_toolset != 'python':
- self.command_test_process()
-
- def command_test_clean(self):
- results_libs = os.path.join( self.regression_results, 'libs' )
- results_status = os.path.join( self.regression_results, 'status' )
- self.rmtree( results_libs )
- self.rmtree( results_status )
-
- def command_test_run(self):
- self.import_utils()
- if self.pjl_toolset != 'python':
- test_cmd = '%s -d2 preserve-test-targets=off --dump-tests %s "--build-dir=%s" >>"%s" 2>&1' % (
- self.bjam_cmd( self.toolsets ),
- self.bjam_options,
- self.regression_results,
- self.regression_log )
- else:
- test_cmd = '%s -d1 preserve-test-targets=off --dump-tests --verbose-test %s "--build-dir=%s" "--out-xml=%s"' % (
- self.bjam_cmd( self.toolsets ),
- self.bjam_options,
- self.regression_results,
- self.regression_log )
- self.log( 'Starting tests (%s)...' % test_cmd )
- cd = os.getcwd()
- os.chdir( os.path.join( self.boost_root, 'status' ) )
- utils.system( [ test_cmd ] )
- os.chdir( cd )
-
- def command_test_boost_build(self):
- if self.libraries is not None and "build" not in self.libraries:
- return
-
- self.import_utils()
- self.log( 'Running Boost.Build tests' )
- # Find the true names of the toolsets used for testing
- toolsets = os.listdir(os.path.join(self.regression_results,
- "boost/bin.v2/libs/any/test/any_test.test"));
- for t in toolsets:
- d = os.path.join(self.regression_results, ("boost-build-%s" % (t)))
- utils.makedirs (d)
- fn = os.path.join(d, "test_log.xml")
- cd = os.getcwd()
- try:
- os.chdir (os.path.join (self.boost_root, 'tools/build/test'));
- bjam_path = os.path.dirname (self.tool_path( self.bjam ))
- self.log( "Using bjam binary in '%s'" % (bjam_path))
- os.putenv('PATH', bjam_path + os.pathsep + os.environ['PATH'])
- utils.system ( [ '"%s" test_all.py --default-bjam --xml %s > %s' % (sys.executable, t, fn) ] )
- finally:
- os.chdir( cd )
-
- def command_test_process(self):
- self.import_utils()
- self.log( 'Getting test case results out of "%s"...' % self.regression_log )
- cd = os.getcwd()
- os.chdir( os.path.join( self.boost_root, 'status' ) )
- utils.checked_system( [
- '"%s" "%s" <"%s"' % (
- self.tool_path(self.process_jam_log),
- self.regression_results,
- self.regression_log )
- ] )
- os.chdir( cd )
-
- def command_collect_logs(self):
- self.import_utils()
- comment_path = os.path.join( self.regression_root, self.comment )
- if not os.path.exists( comment_path ):
- self.log( 'Comment file "%s" not found; creating default comment.' % comment_path )
- f = open( comment_path, 'w' )
- f.write( '<p>Tests are run on %s platform.</p>' % self.platform_name() )
- f.close()
-
- source = 'tarball'
- revision = ''
- svn_root_file = os.path.join( self.boost_root, '.svn' )
- svn_info_file = os.path.join( self.boost_root, 'svn_info.txt' )
- if os.path.exists( svn_root_file ):
- source = 'SVN'
- self.svn_command( 'info --xml "%s" >"%s"' % (self.boost_root,svn_info_file) )
-
- if os.path.exists( svn_info_file ):
- f = open( svn_info_file, 'r' )
- svn_info = f.read()
- f.close()
- i = svn_info.find( 'Revision:' )
- if i < 0: i = svn_info.find( 'revision=' ) # --xml format
- if i >= 0:
- i += 10
- while svn_info[i] >= '0' and svn_info[i] <= '9':
- revision += svn_info[i]
- i += 1
-
- if self.pjl_toolset != 'python':
- from collect_and_upload_logs import collect_logs
- if self.incremental:
- run_type = 'incremental'
- else:
- run_type = 'full'
- collect_logs(
- self.regression_results,
- self.runner, self.tag, self.platform, comment_path,
- self.timestamp_path,
- self.user,
- source, run_type,
- self.dart_server, self.proxy,
- revision )
- else:
- from process_jam_log import BJamLog2Results
- if self.incremental:
- run_type = '--incremental'
- else:
- run_type = ''
- BJamLog2Results([
- '--output='+os.path.join(self.regression_results,self.runner+'.xml'),
- '--runner='+self.runner,
- '--comment='+comment_path,
- '--tag='+self.tag,
- '--platform='+self.platform,
- '--source='+source,
- '--revision='+revision,
- run_type,
- self.regression_log
- ])
- self.compress_file(
- os.path.join(self.regression_results,self.runner+'.xml'),
- os.path.join(self.regression_results,self.runner+'.zip')
- )
-
- def command_upload_logs(self):
- self.import_utils()
- from collect_and_upload_logs import upload_logs
- if self.ftp:
- self.retry(
- lambda:
- upload_logs(
- self.regression_results,
- self.runner, self.tag,
- self.user,
- self.ftp_proxy,
- self.debug_level, self.send_bjam_log,
- self.timestamp_path,
- self.dart_server,
- ftp_url = self.ftp )
- )
- else:
- self.retry(
- lambda:
- upload_logs(
- self.regression_results,
- self.runner, self.tag,
- self.user,
- self.ftp_proxy,
- self.debug_level, self.send_bjam_log,
- self.timestamp_path,
- self.dart_server )
- )
-
- def command_regression(self):
- import socket
- import string
- try:
- mail_subject = 'Boost regression for %s on %s' % ( self.tag,
- string.split(socket.gethostname(), '.')[0] )
- start_time = time.localtime()
- if self.mail:
- self.log( 'Sending start notification to "%s"' % self.mail )
- self.send_mail(
- '%s started at %s.' % ( mail_subject, format_time( start_time ) )
- )
-
- self.command_get_tools()
-
- if self.local is not None:
- self.log( 'Using local file "%s"' % self.local )
- b = os.path.basename( self.local )
- tag = b[ 0: b.find( '.' ) ]
- self.log( 'Tag: "%s"' % tag )
- self.unpack_tarball( self.local, self.boost_root )
-
- elif self.have_source:
- if not self.incremental: self.command_cleanup( 'bin' )
-
- else:
- if self.incremental or self.force_update:
- if not self.incremental: self.command_cleanup( 'bin' )
- else:
- self.command_cleanup()
- self.command_get_source()
-
- self.command_setup()
-
- # Not specifying --toolset in command line is not enough
- # that would mean to use Boost.Build default ones
- # We can skip test only we were explictly
- # told to have no toolsets in command line "--toolset="
- if self.toolsets != '': # --toolset=,
- if not self.skip_tests:
- self.command_test()
- self.command_collect_logs()
- self.command_upload_logs()
-
- if self.mail:
- self.log( 'Sending report to "%s"' % self.mail )
- end_time = time.localtime()
- self.send_mail(
- '%s completed successfully at %s.' % ( mail_subject, format_time( end_time ) )
- )
- except:
- if self.mail:
- self.log( 'Sending report to "%s"' % self.mail )
- traceback_ = '\n'.join( apply( traceback.format_exception, sys.exc_info() ) )
- end_time = time.localtime()
- self.send_mail(
- '%s failed at %s.' % ( mail_subject, format_time( end_time ) ),
- traceback_ )
- raise
-
- def command_show_revision(self):
- modified = '$Date$'
- revision = '$Revision$'
-
- import re
- re_keyword_value = re.compile( r'^\$\w+:\s+(.*)\s+\$$' )
- print '\n\tRevision: %s' % re_keyword_value.match( revision ).group( 1 )
- print '\tLast modified on: %s\n' % re_keyword_value.match( modified ).group( 1 )
-
- #~ Utilities...
-
- def main(self):
- for action in self.actions:
- action_m = "command_"+action.replace('-','_')
- if hasattr(self,action_m):
- getattr(self,action_m)()
-
- def platform_name(self):
- # See http://article.gmane.org/gmane.comp.lib.boost.testing/933
- if sys.platform == 'win32':
- return 'Windows'
- elif sys.platform == 'cygwin':
- return 'Windows/Cygwin'
- return platform.system()
-
- def log(self,message):
- sys.stdout.flush()
- sys.stderr.flush()
- sys.stderr.write( '# %s\n' % message )
- sys.stderr.flush()
-
- def rmtree(self,path):
- if os.path.exists( path ):
- import shutil
- #~ shutil.rmtree( unicode( path ) )
- if sys.platform == 'win32':
- os.system( 'del /f /s /q "%s" >nul 2>&1' % path )
- shutil.rmtree( unicode( path ) )
- else:
- os.system( 'rm -f -r "%s"' % path )
-
- def refresh_timestamp( self ):
- if os.path.exists( self.timestamp_path ):
- os.unlink( self.timestamp_path )
- open( self.timestamp_path, 'w' ).close()
-
- def timestamp( self ):
- return time.strftime(
- '%Y-%m-%dT%H:%M:%SZ',
- time.gmtime( os.stat( self.timestamp_path ).st_mtime ) )
-
- def retry( self, f, max_attempts=5, sleep_secs=10 ):
- for attempts in range( max_attempts, -1, -1 ):
- try:
- return f()
- except Exception, msg:
- self.log( '%s failed with message "%s"' % ( f.__name__, msg ) )
- if attempts == 0:
- self.log( 'Giving up.' )
- raise
-
- self.log( 'Retrying (%d more attempts).' % attempts )
- time.sleep( sleep_secs )
-
- def http_get( self, source_url, destination_file ):
- import urllib
-
- proxies = None
- if hasattr(self,'proxy') and self.proxy is not None:
- proxies = { 'http' : self.proxy }
-
- src = urllib.urlopen( source_url, proxies = proxies )
-
- f = open( destination_file, 'wb' )
- while True:
- data = src.read( 16*1024 )
- if len( data ) == 0: break
- f.write( data )
-
- f.close()
- src.close()
-
- def import_utils(self):
- global utils
- if utils is None:
- sys.path.append( self.xsl_reports_dir )
- import utils as utils_module
- utils = utils_module
-
- def build_if_needed( self, tool, toolset ):
- self.import_utils()
- if os.path.exists( tool[ 'path' ] ):
- self.log( 'Found preinstalled "%s"; will use it.' % tool[ 'path' ] )
- return
-
- self.log( 'Preinstalled "%s" is not found; building one...' % tool[ 'path' ] )
-
- if toolset is None:
- if self.toolsets is not None:
- toolset = string.split( self.toolsets, ',' )[0]
- else:
- toolset = tool[ 'default_toolset' ]
- self.log( 'Warning: No bootstrap toolset for "%s" was specified.' % tool[ 'name' ] )
- self.log( ' Using default toolset for the platform (%s).' % toolset )
-
- if os.path.exists( tool[ 'source_dir' ] ):
- self.log( 'Found "%s" source directory "%s"' % ( tool[ 'name' ], tool[ 'source_dir' ] ) )
- build_cmd = tool[ 'build_cmd' ]( toolset, tool['build_args'] )
- self.log( 'Building "%s" (%s)...' % ( tool[ 'name'], build_cmd ) )
- utils.system( [ 'cd "%s"' % tool[ 'source_dir' ], build_cmd ] )
- else:
- raise 'Could not find "%s" source directory "%s"' % ( tool[ 'name' ], tool[ 'source_dir' ] )
-
- if not tool.has_key( 'build_path' ):
- tool[ 'build_path' ] = self.tool_path( tool )
-
- if not os.path.exists( tool[ 'build_path' ] ):
- raise 'Failed to find "%s" after build.' % tool[ 'build_path' ]
-
- self.log( '%s succesfully built in "%s" location' % ( tool[ 'name' ], tool[ 'build_path' ] ) )
-
- def tool_path( self, name_or_spec ):
- if isinstance( name_or_spec, basestring ):
- return os.path.join( self.regression_root, name_or_spec )
-
- if os.path.exists( name_or_spec[ 'path' ] ):
- return name_or_spec[ 'path' ]
-
- if name_or_spec.has_key( 'build_path' ):
- return name_or_spec[ 'build_path' ]
-
- build_dir = name_or_spec[ 'build_dir' ]
- self.log( 'Searching for "%s" in "%s"...' % ( name_or_spec[ 'name' ], build_dir ) )
- for root, dirs, files in os.walk( build_dir ):
- if name_or_spec[ 'name' ] in files:
- return os.path.join( root, name_or_spec[ 'name' ] )
-
- raise Exception( 'Cannot find "%s" in any of the following locations:\n%s' % (
- name_or_spec[ 'name' ]
- , '\n'.join( [ name_or_spec[ 'path' ], build_dir ] )
- ) )
-
- def bjam_build_cmd( self, *rest ):
- if sys.platform == 'win32':
- cmd = 'build.bat %s' % self.bjam_toolset
- else:
- cmd = './build.sh %s' % self.bjam_toolset
- env_setup_key = 'BJAM_ENVIRONMENT_SETUP'
- if os.environ.has_key( env_setup_key ):
- return '%s & %s' % ( os.environ[env_setup_key], cmd )
- return cmd
-
- def bjam_cmd( self, toolsets, args = '', *rest ):
- build_path = self.regression_root
- if build_path[-1] == '\\': build_path += '\\'
-
- if self.timeout > 0:
- args += ' -l%s' % (self.timeout*60)
-
- cmd = '"%(bjam)s"' +\
- ' "-sBOOST_BUILD_PATH=%(bbpath)s"' +\
- ' "-sBOOST_ROOT=%(boost)s"' +\
- ' "--boost=%(boost)s"' +\
- ' "--boost-build=%(bb)s"' +\
- ' "--debug-configuration"' +\
- ' %(arg)s'
- cmd %= {
- 'bjam' : self.tool_path( self.bjam ),
- 'bbpath' : os.pathsep.join([build_path,self.tools_bb_root]),
- 'bb' : self.tools_bb_root,
- 'boost' : self.boost_root,
- 'arg' : args }
-
- if toolsets:
- import string
- cmd += ' ' + string.join(string.split( toolsets, ',' ), ' ' )
-
- return cmd
-
- def send_mail( self, subject, msg = '' ):
- import smtplib
- if not self.smtp_login:
- server_name = 'mail.%s' % mail.split( '@' )[-1]
- user_name = None
- password = None
- else:
- server_name = self.smtp_login.split( '@' )[-1]
- ( user_name, password ) = string.split( self.smtp_login.split( '@' )[0], ':' )
-
- log( ' Sending mail through "%s"...' % server_name )
- smtp_server = smtplib.SMTP( server_name )
- smtp_server.set_debuglevel( self.debug_level )
- if user_name:
- smtp_server.login( user_name, password )
-
- smtp_server.sendmail( self.mail, [ self.mail ],
- 'Subject: %s\nTo: %s\n\n%s' % ( subject, self.mail, msg ) )
-
- def compress_file( self, file_path, archive_path ):
- self.import_utils()
- utils.log( 'Compressing "%s"...' % file_path )
-
- try:
- import zipfile
- z = zipfile.ZipFile( archive_path, 'w', zipfile.ZIP_DEFLATED )
- z.write( file_path, os.path.basename( file_path ) )
- z.close()
- utils.log( 'Done writing "%s".'% archive_path )
- except Exception, msg:
- utils.log( 'Warning: Compressing falied (%s)' % msg )
- utils.log( ' Trying to compress using a platform-specific tool...' )
- try:
- import zip_cmd
- except ImportError:
- script_dir = os.path.dirname( os.path.abspath( sys.argv[0] ) )
- utils.log( 'Could not find \'zip_cmd\' module in the script directory (%s).' % script_dir )
- raise Exception( 'Compressing failed!' )
- else:
- if os.path.exists( archive_path ):
- os.unlink( archive_path )
- utils.log( 'Removing stale "%s".' % archive_path )
-
- zip_cmd.main( file_path, archive_path )
- utils.log( 'Done compressing "%s".' % archive_path )
-
- #~ Dowloading source, from SVN...
-
- def svn_checkout( self ):
- os.chdir( self.regression_root )
- self.svn_command( 'co %s %s' % (self.svn_repository_url(self.tag),'boost') )
-
- def svn_update( self ):
- os.chdir( self.boost_root )
- self.svn_command( 'update' )
-
- def svn_command( self, command ):
- svn_anonymous_command_line = 'svn --non-interactive %(command)s'
- svn_command_line = 'svn --non-interactive --username=%(user)s %(command)s'
-
- if not hasattr(self,'user') or self.user is None or self.user == 'anonymous':
- cmd = svn_anonymous_command_line % { 'command': command }
- else:
- cmd = svn_command_line % { 'user': self.user, 'command': command }
-
- self.log( 'Executing SVN command "%s"' % cmd )
- rc = os.system( cmd )
- if rc != 0:
- raise Exception( 'SVN command "%s" failed with code %d' % ( cmd, rc ) )
-
- def svn_repository_url( self, path ):
- if self.user != 'anonymous' and self.user != '':
- return '%s%s' % (repo_root['user'],path)
- else:
- return '%s%s' % (repo_root['anon'],path)
-
- #~ Downloading and extracting source archives, from tarballs or zipballs...
-
- def get_tarball( self, *args ):
- if not args or args == []:
- args = [ 'download', 'unpack' ]
-
- tarball_path = None
-
- if hasattr(self,'local') and self.local is not None:
- tarball_path = self.local
- elif 'download' in args:
- tarball_path = self.download_tarball(self.boost_tarball_name(),self.boost_tarball_url())
- if not tarball_path:
- tarball_path = os.path.join( self.regression_root, self.boost_tarball_url() )
-
- if 'unpack' in args:
- self.unpack_tarball( tarball_path, self.boost_root )
- pass
-
- def download_tarball( self, tarball_name, tarball_url ):
- tarball_path = os.path.join( self.regression_root, tarball_name )
-
- self.log( 'Downloading "%s" to "%s"...' % ( tarball_url, os.path.dirname( tarball_path ) ) )
-
- if os.path.exists( tarball_path ):
- os.unlink( tarball_path )
- self.http_get( tarball_url, tarball_path )
-
- return tarball_path
-
- def tarball_url( self, path ):
- return 'http://beta.boost.org/development/snapshot.php/%s' % path
-
- def boost_tarball_name( self ):
- return 'boost-%s.tar.bz2' % self.tag.split( '/' )[-1]
-
- def boost_tarball_url( self ):
- return self.tarball_url( self.tag )
-
- def unpack_tarball( self, tarball_path, target_path ):
- self.log( 'Looking for old unpacked archives...' )
- old_boost_dirs = self.find_boost_dirs( )
-
- for old_boost_dir in old_boost_dirs:
- if old_boost_dir != tarball_path:
- self.log( 'Deleting old directory %s.' % old_boost_dir )
- self.rmtree( old_boost_dir )
-
- self.log( 'Unpacking boost tarball ("%s")...' % tarball_path )
-
- tarball_name = os.path.basename( tarball_path )
- extension = tarball_name[ tarball_name.find( '.' ) : ]
-
- if extension in ( ".tar.gz", ".tar.bz2" ):
- import tarfile
- import stat
-
- mode = os.path.splitext( extension )[1][1:]
- tar = tarfile.open( tarball_path, 'r:%s' % mode )
- for tarinfo in tar:
- tar.extract( tarinfo, self.regression_root )
- if sys.platform == 'win32' and not tarinfo.isdir():
- # workaround what appears to be a Win32-specific bug in 'tarfile'
- # (modification times for extracted files are not set properly)
- f = os.path.join( self.regression_root, tarinfo.name )
- os.chmod( f, stat.S_IWRITE )
- os.utime( f, ( tarinfo.mtime, tarinfo.mtime ) )
- tar.close()
- elif extension in ( ".zip" ):
- import zipfile
-
- z = zipfile.ZipFile( tarball_path, 'r', zipfile.ZIP_DEFLATED )
- for f in z.infolist():
- destination_file_path = os.path.join( self.regression_root, f.filename )
- if destination_file_path[-1] == "/": # directory
- if not os.path.exists( destination_file_path ):
- os.makedirs( destination_file_path )
- else: # file
- result = open( destination_file_path, 'wb' )
- result.write( z.read( f.filename ) )
- result.close()
- z.close()
- else:
- raise 'Do not know how to unpack archives with extension \"%s\"' % extension
-
- boost_dir = self.find_boost_dirs()[0]
- self.log( ' Unpacked into directory "%s"' % boost_dir )
-
- if os.path.exists( target_path ):
- self.log( 'Deleting "%s" directory...' % target_path )
- self.rmtree( target_path )
-
- self.log( 'Renaming "%s" into "%s"' % ( boost_dir, target_path ) )
- os.rename( boost_dir, target_path )
-
- def find_boost_dirs( self ):
- return [
- x for x in
- glob.glob( os.path.join( self.regression_root, 'boost[-_]*' ) )
- if os.path.isdir( x )
- ]
-
-
diff --git a/tools/regression/src/run.py b/tools/regression/src/run.py
deleted file mode 100644
index 5e8e0c7d01..0000000000
--- a/tools/regression/src/run.py
+++ /dev/null
@@ -1,60 +0,0 @@
-#!/usr/bin/python
-
-# Copyright Redshift Software, Inc. 2007
-#
-# Distributed under the Boost Software License, Version 1.0.
-# (See accompanying file LICENSE_1_0.txt or copy at
-# http://www.boost.org/LICENSE_1_0.txt)
-
-import os
-import os.path
-import shutil
-import sys
-import urllib
-
-#~ Using --skip-script-download is useful to avoid repeated downloading of
-#~ the regression scripts when doing the regression commands individually.
-no_update_argument = "--skip-script-download"
-no_update = no_update_argument in sys.argv
-if no_update:
- del sys.argv[sys.argv.index(no_update_argument)]
-
-#~ The directory this file is in.
-root = os.path.abspath(os.path.dirname(os.path.realpath(__file__)))
-print '# Running regressions in %s...' % root
-
-script_sources = [ 'collect_and_upload_logs.py', 'process_jam_log.py', 'regression.py' ]
-script_local = os.path.join(root,'tools','regression','src')
-script_remote = 'http://svn.boost.org/svn/boost/trunk/tools/regression/src'
-script_dir = os.path.join(root,'tools_regression_src')
-
-if not no_update:
- #~ Bootstrap.
- #~ * Clear out any old versions of the scripts
- print '# Creating regression scripts at %s...' % script_dir
- if os.path.exists(script_dir):
- shutil.rmtree(script_dir)
- os.mkdir(script_dir)
- #~ * Get new scripts, either from local working copy, or from svn
- if os.path.exists(script_local):
- print '# Copying regression scripts from %s...' % script_local
- for src in script_sources:
- shutil.copyfile( os.path.join(script_local,src), os.path.join(script_dir,src) )
- else:
- print '# Dowloading regression scripts from %s...' % script_remote
- proxy = None
- for a in sys.argv[1:]:
- if a.startswith('--proxy='):
- proxy = {'http' : a.split('=')[1] }
- print '--- %s' %(proxy['http'])
- break
- for src in script_sources:
- urllib.FancyURLopener(proxy).retrieve(
- '%s/%s' % (script_remote,src), os.path.join(script_dir,src) )
-
-#~ * Make the scripts available to Python
-sys.path.insert(0,os.path.join(root,'tools_regression_src'))
-
-#~ Launch runner.
-from regression import runner
-runner(root)
diff --git a/tools/regression/src/run_tests.sh b/tools/regression/src/run_tests.sh
deleted file mode 100644
index d4c82f7d61..0000000000
--- a/tools/regression/src/run_tests.sh
+++ /dev/null
@@ -1,197 +0,0 @@
-#!/bin/sh
-#
-# Copyright John Maddock
-# Copyright Rene Rivera
-#
-# Distributed under the Boost Software License, Version 1.0.
-# See http://www.boost.org/LICENSE_1_0.txt
-#
-# shell script for running the boost regression test suite and generating
-# a html table of results.
-
-# Set the following variables to configure the operation. Variables you
-# should set, i.e. usually required are listed first. Optional variables
-# have reasonable defaults for most situations.
-
-
-### THESE SHOULD BE CHANGED!
-
-#
-# "boost_root" points to the root of you boost installation:
-# This can be either a non-exitent directory or an already complete Boost
-# source tree.
-#
-boost_root="$HOME/CVSROOTs/Boost/boost_regression"
-
-#
-# Wether to fetch the most current Boost code from CVS (yes/no):
-# There are two contexts to use this script in: on an active Boost CVS
-# tree, and on a fresh Boost CVS tree. If "yes" is specified here an attempt
-# to fetch the latest CVS Boost files is made. For an active Boost CVS
-# the CVS connection information is used. If an empty tree is detected
-# the code is fetched with the anonymous read only information.
-#
-cvs_update=no
-
-#
-# "test_tools" are the Boost.Build toolsets to use for building and running the
-# regression tests. Specify a space separated list, of the Boost.Build toolsets.
-# Each will be built and tested in sequence.
-#
-test_tools=gcc
-
-#
-# "toolset" is the Boost.Build toolset to use for building the helper programs.
-# This is usually different than the toolsets one is testing. And this is
-# normally a toolset that corresponds to the compiler built into your platform.
-#
-toolset=gcc
-
-#
-# "comment_path" is the path to an html-file describing the test environment.
-# The content of this file will be embedded in the status pages being produced.
-#
-comment_path="$boost_root/../regression_comment.html"
-#
-# "test_dir" is the relative path to the directory to run the tests in,
-# defaults to "status" and runs all the tests, but could be a sub-directory
-# for example "libs/regex/test" to run the regex tests alone.
-#
-test_dir="status"
-
-
-### DEFAULTS ARE OK FOR THESE.
-
-#
-# "exe_suffix" the suffix used by exectable files:
-# In case your platform requires use of a special suffix for executables specify
-# it here, including the "." if needed. This should not be needed even in Windows
-# like platforms as they will execute without the suffix anyway.
-#
-exe_suffix=
-
-#
-# "bjam" points to your built bjam executable:
-# The location of the binary for running bjam. The default should work
-# under most circumstances.
-#
-bjam="$boost_root/tools/build/engine/bin/bjam$exe_suffix"
-
-#
-# "process_jam_log", and "compiler_status" paths to built helper programs:
-# The location of the executables of the regression help programs. These
-# are built locally so the default should work in most situations.
-#
-process_jam_log="$boost_root/dist/bin/process_jam_log$exe_suffix"
-compiler_status="$boost_root/dist/bin/compiler_status$exe_suffix"
-
-#
-# "boost_build_path" can point to additional locations to find toolset files.
-#
-boost_build_path="$HOME/.boost-build"
-
-
-### NO MORE CONFIGURABLE PARTS.
-
-#
-# Some setup.
-#
-boost_dir=`basename "$boost_root"`
-if test -n "${BOOST_BUILD_PATH}" ; then
- BOOST_BUILD_PATH="$boost_build_path:$BOOST_BUILD_PATH"
-else
- BOOST_BUILD_PATH="$boost_build_path"
-fi
-export BOOST_BUILD_PATH
-
-#
-# STEP 0:
-#
-# Get the source code:
-#
-if test ! -d "$boost_root" ; then
- mkdir -p "$boost_root"
- if test $? -ne 0 ; then
- echo "creation of $boost_root directory failed."
- exit 256
- fi
-fi
-if test $cvs_update = yes ; then
- echo fetching Boost:
- echo "/1 :pserver:anonymous@cvs.sourceforge.net:2401/cvsroot/boost A" >> "$HOME/.cvspass"
- cat "$HOME/.cvspass" | sort | uniq > "$HOME/.cvspass"
- cd `dirname "$boost_root"`
- if test -f boost/CVS/Root ; then
- cvs -z3 -d `cat "$boost_dir/CVS/Root"` co -d "$boost_dir" boost
- else
- cvs -z3 -d :pserver:anonymous@cvs.sourceforge.net:2401/cvsroot/boost co -d "$boost_dir" boost
- fi
-fi
-
-#
-# STEP 1:
-# rebuild bjam if required:
-#
-echo building bjam:
-cd "$boost_root/tools/build/engine" && \
-LOCATE_TARGET=bin sh ./build.sh
-if test $? != 0 ; then
- echo "bjam build failed."
- exit 256
-fi
-
-#
-# STEP 2:
-# rebuild the regression test helper programs if required:
-#
-echo building regression test helper programs:
-cd "$boost_root/tools/regression/build" && \
-"$bjam" $toolset release
-if test $? != 0 ; then
- echo "helper program build failed."
- exit 256
-fi
-
-#
-# STEP 5:
-# repeat steps 3 and 4 for each additional toolset:
-#
-for tool in $test_tools ; do
-
-#
-# STEP 3:
-# run the regression tests:
-#
-echo running the $tool regression tests:
-cd "$boost_root/$test_dir"
-"$bjam" $tool --dump-tests 2>&1 | tee regress.log
-
-#
-# STEP 4:
-# post process the results:
-#
-echo processing the regression test results for $tool:
-cat regress.log | "$process_jam_log" --v2
-if test $? != 0 ; then
- echo "Failed regression log post processing."
- exit 256
-fi
-
-done
-
-#
-# STEP 6:
-# create the html table:
-#
-uname=`uname`
-echo generating html tables:
-"$compiler_status" --v2 --comment "$comment_path" "$boost_root" cs-$uname.html cs-$uname-links.html
-if test $? != 0 ; then
- echo "Failed HTML result table generation."
- exit 256
-fi
-
-echo "done!"
-
-
-
diff --git a/tools/regression/src/smoke.py b/tools/regression/src/smoke.py
deleted file mode 100755
index 1b17cfaaee..0000000000
--- a/tools/regression/src/smoke.py
+++ /dev/null
@@ -1,197 +0,0 @@
-# smoke test - every so many minutes, check svn revision, and if changed:
-# update working copy, run tests, upload results
-
-# Copyright Beman Dawes 2007
-
-# Distributed under the Boost Software License, Version 1.0. (See accompanying
-# file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
-
-# ---------------------------------------------------------------------------- #
-
-import os
-import sys
-import platform
-import time
-import ftplib
-
-# invoke the system command line processor
-def cmd(command):
- print "command:", command
- os.system(command)
-
-# update SVN working copy
-def update_working_copy(boost_path):
- os.chdir(boost_path)
- cmd("svn update")
-
-# get repository url
-def repository_url(path, results_path):
- url = ""
- svn_info_file = results_path + "/svn_info.xml"
- command = "svn info --xml " + path + " >" + svn_info_file
- cmd(command)
- f = open( svn_info_file, 'r' )
- svn_info = f.read()
- f.close()
- i = svn_info.find('//svn.boost.org')
- if i >= 0:
- url = svn_info[i:svn_info.find("</url>")]
- return url
-
-# get revision number of a path, which may be a filesystem path or URL
-def revision(path, results_path, test_name):
- rev = 0
- svn_info_file = results_path + "/" + test_name + "-svn_info.xml"
- command = "svn info --xml " + path + " >" + svn_info_file
- cmd(command)
- f = open( svn_info_file, 'r' )
- svn_info = f.read()
- f.close()
- i = svn_info.find( 'revision=' )
- if i >= 0:
- i += 10
- while svn_info[i] >= '0' and svn_info[i] <= '9':
- rev = rev*10 + int(svn_info[i])
- i += 1
- return rev
-
-# run bjam in current directory
-def bjam(boost_path, args, output_path, test_name):
-
- # bjam seems to need BOOST_BUILD_PATH
- #os.environ["BOOST_BUILD_PATH"]=boost_path + "/tools/build/v2"
-
- print "Begin bjam..."
- command = "bjam --v2 --dump-tests -l180"
- if args != "": command += " " + args
- command += " >" + output_path + "/" + test_name +"-bjam.log 2>&1"
- cmd(command)
-
-# run process_jam_log in current directory
-def process_jam_log(boost_path, output_path, test_name):
- print "Begin log processing..."
- command = "process_jam_log " + boost_path + " <" +\
- output_path + "/" + test_name +"-bjam.log"
- cmd(command)
-
-# run compiler_status in current directory
-def compiler_status(boost_path, output_path, test_name):
- print "Begin compiler status html creation... "
- command = "compiler_status --v2 --ignore-pass --no-warn --locate-root " + boost_path + " " +\
- boost_path + " " + output_path + "/" + test_name + "-results.html " +\
- output_path + "/" + test_name + "-details.html "
- cmd(command)
-
-# upload results via ftp
-def upload_to_ftp(results_path, test_name, ftp_url, user, psw, debug_level):
-
- # to minimize the time web pages are not available, upload with temporary
- # names and then rename to the permanent names
-
- i = 0 # dummy variable
- os.chdir(results_path)
-
- tmp_results = "temp-" + test_name + "-results.html"
- results = test_name + "-results.html"
- tmp_details = "temp-" + test_name + "-details.html"
- details = test_name + "-details.html"
-
- print "Uploading results via ftp..."
- ftp = ftplib.FTP( ftp_url, user, psw )
- ftp.set_debuglevel( debug_level )
-
- # ftp.cwd( site_path )
-
- try: ftp.delete(tmp_results)
- except: ++i
-
- f = open( results, 'rb' )
- ftp.storbinary( 'STOR %s' % tmp_results, f )
- f.close()
-
- try: ftp.delete(tmp_details)
- except: ++i
-
- f = open( details, 'rb' )
- ftp.storbinary( 'STOR %s' % tmp_details, f )
- f.close()
-
- try: ftp.delete(results)
- except: ++i
-
- try: ftp.delete(details)
- except: ++i
-
- ftp.rename(tmp_results, results)
- ftp.rename(tmp_details, details)
-
- ftp.dir()
- ftp.quit()
-
-def commit_results(results_path, test_name, rev):
- print "Commit results..."
- cwd = os.getcwd()
- os.chdir(results_path)
- command = "svn commit --non-interactive -m "+'"'+str(rev)+'" '+test_name+"-results.html"
- cmd(command)
- os.chdir(cwd)
-
-
-# ---------------------------------------------------------------------------- #
-
-if len(sys.argv) < 7:
- print "Invoke with: minutes boost-path test-name results-path ftp-url user psw [bjam-args]"
- print " boost-path must be path for a boost svn working directory."
- print " results-path must be path for a svn working directory where an"
- print " svn commit test-name+'-results.html' is valid."
- print "Warning: This program hangs or crashes on network failures."
- exit()
-
-minutes = int(sys.argv[1])
-boost_path = sys.argv[2]
-test_name = sys.argv[3]
-results_path = sys.argv[4]
-ftp_url = sys.argv[5]
-user = sys.argv[6]
-psw = sys.argv[7]
-if len(sys.argv) > 8: bjam_args = sys.argv[8]
-else: bjam_args = ""
-
-os.chdir(boost_path) # convert possible relative path
-boost_path = os.getcwd() # to absolute path
-
-print "minutes is ", minutes
-print "boost_path is ", boost_path
-print "test_name is ", test_name
-print "results_path is ", results_path
-print "ftp_url is ", ftp_url
-print "user is ", user
-print "psw is ", psw
-print 'bjam args are "' + bjam_args + '"'
-
-url = repository_url(boost_path, results_path)
-print "respository url is ", url
-
-first = 1
-while 1:
- working_rev = revision(boost_path, results_path, test_name)
- repos_rev = revision("http:" + url, results_path, test_name)
- print "Working copy revision: ", working_rev, " repository revision: ", repos_rev
- if first or working_rev != repos_rev:
- first = 0
- start_time = time.time()
- print
- print "start at", time.strftime("%H:%M:%S", time.localtime())
- update_working_copy(boost_path)
- os.chdir(boost_path+"/status")
- bjam(boost_path, bjam_args, results_path, test_name)
- process_jam_log(boost_path, results_path, test_name)
- compiler_status(boost_path, results_path, test_name)
- upload_to_ftp(results_path, test_name, ftp_url, user, psw, 0)
- commit_results(results_path, test_name,revision(boost_path, results_path, test_name))
- elapsed_time = time.time() - start_time
- print elapsed_time/60.0, "minutes elapsed time"
- print
-
- print "sleep ", minutes, "minutes..."
- time.sleep(60 * minutes)
diff --git a/tools/regression/test/Jamfile.v2 b/tools/regression/test/Jamfile.v2
deleted file mode 100644
index 43c715b2e0..0000000000
--- a/tools/regression/test/Jamfile.v2
+++ /dev/null
@@ -1,27 +0,0 @@
-# Copyright Misha Bergal 2006
-#
-# Distributed under the Boost Software License, Version 1.0.
-# See http://www.boost.org/LICENSE_1_0.txt
-
-test-suite testlib :
- [ compile-fail compile-fail_fail.cpp ]
- [ compile-fail compile-fail_pass.cpp ]
- [ compile compile_fail.cpp ]
- [ compile compile_pass.cpp ]
- [ compile compile_warn.cpp ]
-# The link test .cpp files were apparently never committed to the repository,
-# and were lost.
-# [ link link_fail.cpp ]
-# [ link link_pass.cpp ]
-# [ link-fail link-fail_fail.cpp ]
-# [ link-fail link-fail_pass.cpp ]
- [ run-fail run-fail_compile-fail.cpp ]
- [ run-fail run-fail_fail-warn.cpp ]
- [ run-fail run-fail_fail.cpp ]
- [ run-fail run-fail_pass.cpp ]
- [ run run_fail.cpp ]
- [ run run_note.cpp ]
- [ run run_pass.cpp ]
- [ run run_warn-note.cpp ]
- [ run run_warn.cpp ]
- ;
diff --git a/tools/regression/test/compile-fail_fail.cpp b/tools/regression/test/compile-fail_fail.cpp
deleted file mode 100644
index 76fc53b9d7..0000000000
--- a/tools/regression/test/compile-fail_fail.cpp
+++ /dev/null
@@ -1,10 +0,0 @@
-// (C) Copyright Beman Dawes 2003. Distributed under the Boost
-// Software License, Version 1.0. (See accompanying file
-// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
-
-// Test naming convention: the portion of the name before the tilde ("~")
-// identifies the bjam test type. The portion after the tilde
-// identifies the correct result to be reported by compiler_status.
-
-int main() { return 0; }
-
diff --git a/tools/regression/test/compile-fail_pass.cpp b/tools/regression/test/compile-fail_pass.cpp
deleted file mode 100644
index cacb17d133..0000000000
--- a/tools/regression/test/compile-fail_pass.cpp
+++ /dev/null
@@ -1,9 +0,0 @@
-// (C) Copyright Beman Dawes 2003. Distributed under the Boost
-// Software License, Version 1.0. (See accompanying file
-// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
-
-// Test naming convention: the portion of the name before the tilde ("~")
-// identifies the bjam test type. The portion after the tilde
-// identifies the correct result to be reported by compiler_status.
-
-#error example of a compile failure
diff --git a/tools/regression/test/compile_fail.cpp b/tools/regression/test/compile_fail.cpp
deleted file mode 100644
index cacb17d133..0000000000
--- a/tools/regression/test/compile_fail.cpp
+++ /dev/null
@@ -1,9 +0,0 @@
-// (C) Copyright Beman Dawes 2003. Distributed under the Boost
-// Software License, Version 1.0. (See accompanying file
-// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
-
-// Test naming convention: the portion of the name before the tilde ("~")
-// identifies the bjam test type. The portion after the tilde
-// identifies the correct result to be reported by compiler_status.
-
-#error example of a compile failure
diff --git a/tools/regression/test/compile_pass.cpp b/tools/regression/test/compile_pass.cpp
deleted file mode 100644
index 384b51fa4a..0000000000
--- a/tools/regression/test/compile_pass.cpp
+++ /dev/null
@@ -1,9 +0,0 @@
-// (C) Copyright Beman Dawes 2003. Distributed under the Boost
-// Software License, Version 1.0. (See accompanying file
-// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
-
-// Test naming convention: the portion of the name before the tilde ("~")
-// identifies the bjam test type. The portion after the tilde
-// identifies the correct result to be reported by compiler_status.
-
-int main() { return 0; }
diff --git a/tools/regression/test/compile_warn.cpp b/tools/regression/test/compile_warn.cpp
deleted file mode 100644
index 7895a229e7..0000000000
--- a/tools/regression/test/compile_warn.cpp
+++ /dev/null
@@ -1,18 +0,0 @@
-// (C) Copyright Beman Dawes 2003. Distributed under the Boost
-// Software License, Version 1.0. (See accompanying file
-// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
-
-// Test naming convention: the portion of the name before the tilde ("~")
-// identifies the bjam test type. The portion after the tilde
-// identifies the correct result to be reported by compiler_status.
-
-// provoke one or more compiler warnings
-
-int main(int argc, char * argv[] )
-{
- short s;
- unsigned long ul;
- s = s & ul; // warning from many compilers
- if ( s == ul ) {} // warning from GCC
- return 0;
-}
diff --git a/tools/regression/test/run-fail_compile-fail.cpp b/tools/regression/test/run-fail_compile-fail.cpp
deleted file mode 100644
index cacb17d133..0000000000
--- a/tools/regression/test/run-fail_compile-fail.cpp
+++ /dev/null
@@ -1,9 +0,0 @@
-// (C) Copyright Beman Dawes 2003. Distributed under the Boost
-// Software License, Version 1.0. (See accompanying file
-// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
-
-// Test naming convention: the portion of the name before the tilde ("~")
-// identifies the bjam test type. The portion after the tilde
-// identifies the correct result to be reported by compiler_status.
-
-#error example of a compile failure
diff --git a/tools/regression/test/run-fail_fail-warn.cpp b/tools/regression/test/run-fail_fail-warn.cpp
deleted file mode 100644
index 577d2bb890..0000000000
--- a/tools/regression/test/run-fail_fail-warn.cpp
+++ /dev/null
@@ -1,16 +0,0 @@
-// (C) Copyright Beman Dawes 2003. Distributed under the Boost
-// Software License, Version 1.0. (See accompanying file
-// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
-
-// Test naming convention: the portion of the name before the tilde ("~")
-// identifies the bjam test type. The portion after the tilde
-// identifies the correct result to be reported by compiler_status.
-
-int main()
-{
- short s;
- unsigned long ul;
- s = s & ul; // warning from many compilers
- if ( s == ul ) {} // warning from GCC
- return 0;
-}
diff --git a/tools/regression/test/run-fail_fail.cpp b/tools/regression/test/run-fail_fail.cpp
deleted file mode 100644
index 865b8eb3dd..0000000000
--- a/tools/regression/test/run-fail_fail.cpp
+++ /dev/null
@@ -1,12 +0,0 @@
-// (C) Copyright Beman Dawes 2003. Distributed under the Boost
-// Software License, Version 1.0. (See accompanying file
-// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
-
-// Test naming convention: the portion of the name before the tilde ("~")
-// identifies the bjam test type. The portion after the tilde
-// identifies the correct result to be reported by compiler_status.
-
-int main()
-{
- return 0;
-}
diff --git a/tools/regression/test/run-fail_pass.cpp b/tools/regression/test/run-fail_pass.cpp
deleted file mode 100644
index 3e3ab13973..0000000000
--- a/tools/regression/test/run-fail_pass.cpp
+++ /dev/null
@@ -1,15 +0,0 @@
-// (C) Copyright Beman Dawes 2003. Distributed under the Boost
-// Software License, Version 1.0. (See accompanying file
-// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
-
-// Test naming convention: the portion of the name before the tilde ("~")
-// identifies the bjam test type. The portion after the tilde
-// identifies the correct result to be reported by compiler_status.
-
-#include <iostream>
-
-int main()
-{
- std::cout << "example of output from a run-time failure\n";
- return 1;
-}
diff --git a/tools/regression/test/run-fail_warn.cpp b/tools/regression/test/run-fail_warn.cpp
deleted file mode 100644
index 8cc21a110a..0000000000
--- a/tools/regression/test/run-fail_warn.cpp
+++ /dev/null
@@ -1,20 +0,0 @@
-// (C) Copyright Beman Dawes 2003. Distributed under the Boost
-// Software License, Version 1.0. (See accompanying file
-// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
-
-// Test naming convention: the portion of the name before the tilde ("~")
-// identifies the bjam test type. The portion after the tilde
-// identifies the correct result to be reported by compiler_status.
-
-#include <iostream>
-
-int main()
-{
- short s;
- unsigned long ul;
- s = s & ul; // warning from many compilers
- if ( s == ul ) {} // warning from GCC
-
- std::cout << "example of output from a run-time failure\n";
- return 1;
-}
diff --git a/tools/regression/test/run_compile-fail.cpp b/tools/regression/test/run_compile-fail.cpp
deleted file mode 100644
index cacb17d133..0000000000
--- a/tools/regression/test/run_compile-fail.cpp
+++ /dev/null
@@ -1,9 +0,0 @@
-// (C) Copyright Beman Dawes 2003. Distributed under the Boost
-// Software License, Version 1.0. (See accompanying file
-// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
-
-// Test naming convention: the portion of the name before the tilde ("~")
-// identifies the bjam test type. The portion after the tilde
-// identifies the correct result to be reported by compiler_status.
-
-#error example of a compile failure
diff --git a/tools/regression/test/run_fail-note.cpp b/tools/regression/test/run_fail-note.cpp
deleted file mode 100644
index b514da0938..0000000000
--- a/tools/regression/test/run_fail-note.cpp
+++ /dev/null
@@ -1,17 +0,0 @@
-// (C) Copyright Beman Dawes 2003. Distributed under the Boost
-// Software License, Version 1.0. (See accompanying file
-// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
-
-// Test naming convention: the portion of the name before the tilde ("~")
-// identifies the bjam test type. The portion after the tilde
-// identifies the correct result to be reported by compiler_status.
-
-#include <iostream>
-
-int main()
-{
- std::cout << "example of output before a <note> line\n";
- std::cout << "<note>\n";
- std::cout << "example of output after a <note> line\n";
- return 1;
-}
diff --git a/tools/regression/test/run_fail-warn.cpp b/tools/regression/test/run_fail-warn.cpp
deleted file mode 100644
index 8cc21a110a..0000000000
--- a/tools/regression/test/run_fail-warn.cpp
+++ /dev/null
@@ -1,20 +0,0 @@
-// (C) Copyright Beman Dawes 2003. Distributed under the Boost
-// Software License, Version 1.0. (See accompanying file
-// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
-
-// Test naming convention: the portion of the name before the tilde ("~")
-// identifies the bjam test type. The portion after the tilde
-// identifies the correct result to be reported by compiler_status.
-
-#include <iostream>
-
-int main()
-{
- short s;
- unsigned long ul;
- s = s & ul; // warning from many compilers
- if ( s == ul ) {} // warning from GCC
-
- std::cout << "example of output from a run-time failure\n";
- return 1;
-}
diff --git a/tools/regression/test/run_fail.cpp b/tools/regression/test/run_fail.cpp
deleted file mode 100644
index d6b8ffacf9..0000000000
--- a/tools/regression/test/run_fail.cpp
+++ /dev/null
@@ -1,14 +0,0 @@
-// (C) Copyright Beman Dawes 2003. Distributed under the Boost
-// Software License, Version 1.0. (See accompanying file
-// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
-
-// Test naming convention: the portion of the name before the tilde ("~")
-// identifies the bjam test type. The portion after the tilde
-// identifies the correct result to be reported by compiler_status.
-
-#include <iostream>
-
-int main()
-{
- return 1;
-}
diff --git a/tools/regression/test/run_note.cpp b/tools/regression/test/run_note.cpp
deleted file mode 100644
index 2841618522..0000000000
--- a/tools/regression/test/run_note.cpp
+++ /dev/null
@@ -1,17 +0,0 @@
-// (C) Copyright Beman Dawes 2003. Distributed under the Boost
-// Software License, Version 1.0. (See accompanying file
-// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
-
-// Test naming convention: the portion of the name before the tilde ("~")
-// identifies the bjam test type. The portion after the tilde
-// identifies the correct result to be reported by compiler_status.
-
-#include <iostream>
-
-int main()
-{
- std::cout << "example of output before a <note> line\n";
- std::cout << "<note>\n";
- std::cout << "example of output after a <note> line\n";
- return 0;
-}
diff --git a/tools/regression/test/run_pass.cpp b/tools/regression/test/run_pass.cpp
deleted file mode 100644
index 865b8eb3dd..0000000000
--- a/tools/regression/test/run_pass.cpp
+++ /dev/null
@@ -1,12 +0,0 @@
-// (C) Copyright Beman Dawes 2003. Distributed under the Boost
-// Software License, Version 1.0. (See accompanying file
-// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
-
-// Test naming convention: the portion of the name before the tilde ("~")
-// identifies the bjam test type. The portion after the tilde
-// identifies the correct result to be reported by compiler_status.
-
-int main()
-{
- return 0;
-}
diff --git a/tools/regression/test/run_warn-note.cpp b/tools/regression/test/run_warn-note.cpp
deleted file mode 100644
index 36e1c5faf3..0000000000
--- a/tools/regression/test/run_warn-note.cpp
+++ /dev/null
@@ -1,24 +0,0 @@
-// (C) Copyright Beman Dawes 2003. Distributed under the Boost
-// Software License, Version 1.0. (See accompanying file
-// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
-
-// Test naming convention: the portion of the name before the tilde ("~")
-// identifies the bjam test type. The portion after the tilde
-// identifies the correct result to be reported by compiler_status.
-
-#include <iostream>
-
-int main()
-{
- std::cout << "example of output before a <note> line\n";
- std::cout << "<note>\n";
- std::cout << "example of output after a <note> line\n";
-
- // provoke a compiler warning to make sure <note> takes priority over
- // a warning, but neither is lost from status reporting links HTML.
- short s;
- unsigned long ul;
- s = s & ul; // warning from many compilers
- if ( s == ul ) {} // warning from GCC
- return 0;
-}
diff --git a/tools/regression/test/run_warn.cpp b/tools/regression/test/run_warn.cpp
deleted file mode 100644
index 7895a229e7..0000000000
--- a/tools/regression/test/run_warn.cpp
+++ /dev/null
@@ -1,18 +0,0 @@
-// (C) Copyright Beman Dawes 2003. Distributed under the Boost
-// Software License, Version 1.0. (See accompanying file
-// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
-
-// Test naming convention: the portion of the name before the tilde ("~")
-// identifies the bjam test type. The portion after the tilde
-// identifies the correct result to be reported by compiler_status.
-
-// provoke one or more compiler warnings
-
-int main(int argc, char * argv[] )
-{
- short s;
- unsigned long ul;
- s = s & ul; // warning from many compilers
- if ( s == ul ) {} // warning from GCC
- return 0;
-}
diff --git a/tools/regression/test/test-boost-build/ignored_rc/ignored_rc.jam b/tools/regression/test/test-boost-build/ignored_rc/ignored_rc.jam
deleted file mode 100644
index 61b1459292..0000000000
--- a/tools/regression/test/test-boost-build/ignored_rc/ignored_rc.jam
+++ /dev/null
@@ -1,11 +0,0 @@
-rule failure
- {
- }
-
-actions failure
- {
- dir _
- echo a
- }
-
-failure f ;
diff --git a/tools/regression/test/test-boost-build/ignored_rc/recognized_rc.jam b/tools/regression/test/test-boost-build/ignored_rc/recognized_rc.jam
deleted file mode 100644
index 6afbc25ed4..0000000000
--- a/tools/regression/test/test-boost-build/ignored_rc/recognized_rc.jam
+++ /dev/null
@@ -1,12 +0,0 @@
-rule failure
- {
- }
-
-actions failure
- {
- dir _
- if errorlevel 1 exit %errorlevel%
- echo a
- }
-
-failure f ;
diff --git a/tools/regression/test/test-boost-build/missing_dependencies/Jamfile.v2 b/tools/regression/test/test-boost-build/missing_dependencies/Jamfile.v2
deleted file mode 100644
index d9e5149e8c..0000000000
--- a/tools/regression/test/test-boost-build/missing_dependencies/Jamfile.v2
+++ /dev/null
@@ -1,9 +0,0 @@
-project
- : requirements
- <library>/boost/filesystem//boost_filesystem
- <define>BOOST_ALL_NO_LIB
- ;
-
- test-suite "missing_dependencies" :
- [ run test.cpp lib//<link>static ]
- ;
diff --git a/tools/regression/test/test-boost-build/missing_dependencies/lib/Jamfile.v2 b/tools/regression/test/test-boost-build/missing_dependencies/lib/Jamfile.v2
deleted file mode 100644
index 410e7edc9b..0000000000
--- a/tools/regression/test/test-boost-build/missing_dependencies/lib/Jamfile.v2
+++ /dev/null
@@ -1,7 +0,0 @@
-SOURCES =
- lib ;
-
-lib lib
- :
- $(SOURCES).cpp
- ;
diff --git a/tools/regression/test/test-boost-build/missing_dependencies/lib/lib.cpp b/tools/regression/test/test-boost-build/missing_dependencies/lib/lib.cpp
deleted file mode 100644
index 09c7cfafd0..0000000000
--- a/tools/regression/test/test-boost-build/missing_dependencies/lib/lib.cpp
+++ /dev/null
@@ -1 +0,0 @@
-#error
diff --git a/tools/regression/test/test-boost-build/missing_dependencies/test.cpp b/tools/regression/test/test-boost-build/missing_dependencies/test.cpp
deleted file mode 100644
index 76e8197013..0000000000
--- a/tools/regression/test/test-boost-build/missing_dependencies/test.cpp
+++ /dev/null
@@ -1 +0,0 @@
-int main() { return 0; }
diff --git a/tools/regression/test/test-cases/Huber2629/bjam.log b/tools/regression/test/test-cases/Huber2629/bjam.log
deleted file mode 100644
index ca1fe1b9f4..0000000000
--- a/tools/regression/test/test-cases/Huber2629/bjam.log
+++ /dev/null
@@ -1,36 +0,0 @@
-boost-test(RUN) "statechart/DllTestNative" : "libs/statechart/test/TuTestMain.cpp"
-boost-test(RUN) "statechart/DllTestNormal" : "libs/statechart/test/TuTestMain.cpp"
-
-compile-c-c++ ..\..\..\bin.v2\libs\statechart\test\DllTestNormal.test\msvc-7.1\debug\threading-multi\TuTestMain.obj
-TuTestMain.cpp
-c:\Users\Misha\Stuff\boost\HEAD\boost\libs\statechart\test\TuTest.hpp(36) : warning C4275: non dll-interface class 'boost::statechart::event_base' used as base for dll-interface class 'boost::statechart::detail::rtti_policy::rtti_derived_type<MostDerived,Base>'
- with
- [
- MostDerived=EvX,
- Base=boost::statechart::event_base
- ]
- ..\..\..\boost\statechart\event_base.hpp(49) : see declaration of 'boost::statechart::event_base'
-compile-c-c++ ..\..\..\bin.v2\libs\statechart\test\msvc-7.1\debug\threading-multi\DllTestNormalLibTuTest.obj
-TuTest.cpp
-c:\Users\Misha\Stuff\boost\HEAD\boost\libs\statechart\test\TuTest.hpp(36) : warning C4275: non dll-interface class 'boost::statechart::event_base' used as base for dll-interface class 'boost::statechart::detail::rtti_policy::rtti_derived_type<MostDerived,Base>'
- with
- [
- MostDerived=EvX,
- Base=boost::statechart::event_base
- ]
- ..\..\..\boost\statechart\event_base.hpp(49) : see declaration of 'boost::statechart::event_base'
-msvc.link.dll ..\..\..\bin.v2\libs\statechart\test\msvc-7.1\debug\threading-multi\DllTestNormalLib-vc71-mt-gd-1_35.dll ..\..\..\bin.v2\libs\statechart\test\msvc-7.1\debug\threading-multi\DllTestNormalLib-vc71-mt-gd-1_35.lib
- Creating library ..\..\..\bin.v2\libs\statechart\test\msvc-7.1\debug\threading-multi\DllTestNormalLib-vc71-mt-gd-1_35.lib and object ..\..\..\bin.v2\libs\statechart\test\msvc-7.1\debug\threading-multi\DllTestNormalLib-vc71-mt-gd-1_35.exp
-
- call "C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\bin\vcvars32.bat" >nul
-link /NOLOGO /INCREMENTAL:NO /DLL /DEBUG /subsystem:console /out:"..\..\..\bin.v2\libs\statechart\test\msvc-7.1\debug\threading-multi\DllTestNormalLib-vc71-mt-gd-1_35.dll" /IMPLIB:"..\..\..\bin.v2\libs\statechart\test\msvc-7.1\debug\threading-multi\DllTestNormalLib-vc71-mt-gd-1_35.lib" @"..\..\..\bin.v2\libs\statechart\test\msvc-7.1\debug\threading-multi\DllTestNormalLib-vc71-mt-gd-1_35.dll.rsp"
- if %errorlevel% 1 exit %errorlevel%
- if exist "..\..\..\bin.v2\libs\statechart\test\msvc-7.1\debug\threading-multi\DllTestNormalLib-vc71-mt-gd-1_35.dll.manifest" (
- mt -nologo -manifest "..\..\..\bin.v2\libs\statechart\test\msvc-7.1\debug\threading-multi\DllTestNormalLib-vc71-mt-gd-1_35.dll.manifest" "-outputresource:..\..\..\bin.v2\libs\statechart\test\msvc-7.1\debug\threading-multi\DllTestNormalLib-vc71-mt-gd-1_35.dll;2"
- )
-
-...failed msvc.link.dll ..\..\..\bin.v2\libs\statechart\test\msvc-7.1\debug\threading-multi\DllTestNormalLib-vc71-mt-gd-1_35.dll ..\..\..\bin.v2\libs\statechart\test\msvc-7.1\debug\threading-multi\DllTestNormalLib-vc71-mt-gd-1_35.lib...
-...removing ..\..\..\bin.v2\libs\statechart\test\msvc-7.1\debug\threading-multi\DllTestNormalLib-vc71-mt-gd-1_35.dll
-...removing ..\..\..\bin.v2\libs\statechart\test\msvc-7.1\debug\threading-multi\DllTestNormalLib-vc71-mt-gd-1_35.lib
-...skipped <p..\..\..\bin.v2\libs\statechart\test\DllTestNormal.test\msvc-7.1\debug\threading-multi>DllTestNormal.exe for lack of <p..\..\..\bin.v2\libs\statechart\test\msvc-7.1\debug\threading-multi>DllTestNormalLib-vc71-mt-gd-1_35.lib...
-...skipped <p..\..\..\bin.v2\libs\statechart\test\DllTestNormal.test\msvc-7.1\debug\threading-multi>DllTestNormal.run for lack of <p..\..\..\bin.v2\libs\statechart\test\DllTestNormal.test\msvc-7.1\debug\threading-multi>DllTestNormal.exe...
diff --git a/tools/regression/test/test-cases/Huber2629/expected/results.xml b/tools/regression/test/test-cases/Huber2629/expected/results.xml
deleted file mode 100644
index 44a32b04f5..0000000000
--- a/tools/regression/test/test-cases/Huber2629/expected/results.xml
+++ /dev/null
@@ -1,27 +0,0 @@
-<test-log library="statechart" test-name="DllTestNormal" test-type="run" test-program="libs/statechart/test/TuTestMain.cpp" target-directory="bin.v2/libs/statechart/test/DllTestNormal.test/msvc-7.1/debug/threading-multi" toolset="msvc-7.1" show-run-output="false">
-<lib result="fail" timestamp="">../../bin.v2/libs/statechart/test/msvc-7.1/debug/threading-multi</lib>
-</test-log>
-
-<test-log library="statechart" test-name="" test-type="" test-program="" target-directory="bin.v2/libs/statechart/test/msvc-7.1/debug/threading-multi" toolset="" show-run-output="true">
-<compile result="succeed" timestamp="">
-TuTest.cpp
-c:\Users\Misha\Stuff\boost\HEAD\boost\libs\statechart\test\TuTest.hpp(36) : warning C4275: non dll-interface class 'boost::statechart::event_base' used as base for dll-interface class 'boost::statechart::detail::rtti_policy::rtti_derived_type&lt;MostDerived,Base&gt;'
- with
- [
- MostDerived=EvX,
- Base=boost::statechart::event_base
- ]
- ..\..\..\boost\statechart\event_base.hpp(49) : see declaration of 'boost::statechart::event_base'
-</compile>
-<link result="fail" timestamp="">
- Creating library ..\..\..\bin.v2\libs\statechart\test\msvc-7.1\debug\threading-multi\DllTestNormalLib-vc71-mt-gd-1_35.lib and object ..\..\..\bin.v2\libs\statechart\test\msvc-7.1\debug\threading-multi\DllTestNormalLib-vc71-mt-gd-1_35.exp
-
- call "C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\bin\vcvars32.bat" &gt;nul
-link /NOLOGO /INCREMENTAL:NO /DLL /DEBUG /subsystem:console /out:"..\..\..\bin.v2\libs\statechart\test\msvc-7.1\debug\threading-multi\DllTestNormalLib-vc71-mt-gd-1_35.dll" /IMPLIB:"..\..\..\bin.v2\libs\statechart\test\msvc-7.1\debug\threading-multi\DllTestNormalLib-vc71-mt-gd-1_35.lib" @"..\..\..\bin.v2\libs\statechart\test\msvc-7.1\debug\threading-multi\DllTestNormalLib-vc71-mt-gd-1_35.dll.rsp"
- if %errorlevel% 1 exit %errorlevel%
- if exist "..\..\..\bin.v2\libs\statechart\test\msvc-7.1\debug\threading-multi\DllTestNormalLib-vc71-mt-gd-1_35.dll.manifest" (
- mt -nologo -manifest "..\..\..\bin.v2\libs\statechart\test\msvc-7.1\debug\threading-multi\DllTestNormalLib-vc71-mt-gd-1_35.dll.manifest" "-outputresource:..\..\..\bin.v2\libs\statechart\test\msvc-7.1\debug\threading-multi\DllTestNormalLib-vc71-mt-gd-1_35.dll;2"
- )
-
-</link>
-</test-log>
diff --git a/tools/regression/test/test-cases/general/bjam.log b/tools/regression/test/test-cases/general/bjam.log
deleted file mode 100644
index a896470f2e..0000000000
--- a/tools/regression/test/test-cases/general/bjam.log
+++ /dev/null
@@ -1,325 +0,0 @@
-locate-root "..\..\..\bin.v2"
-C:\Users\Misha\Stuff\boost\HEAD\boost\tools\regression\test>C:\Users\Misha\Stuff\boost\HEAD\bin\..\boost\tools\jam\src\bin.ntx86\bjam.exe --dump-tests --v2 msvc-7.1 "-sBOOST_BUILD_PATH=C:\Users\Misha\Stuff\boost\HEAD\bin\.." "-sBOOST_ROOT="C:\Users\Misha\Stuff\boost\HEAD\bin\..\boost"
-warning: Python location is not configured
-warning: the Boost.Python library won't be built
-Building Boost.Regex with the optional Unicode/ICU support disabled.
-Please refer to the Boost.Regex documentation for more information
-(and if you don't know what ICU is then you probably don't need it).
-boost-test(RUN) "testlib/run~warn" : "tools/regression/test/run~warn.cpp"
-boost-test(RUN) "testlib/run~warn-note" : "tools/regression/test/run~warn-note.cpp"
-boost-test(RUN) "testlib/run~pass" : "tools/regression/test/run~pass.cpp"
-boost-test(RUN) "testlib/run~note" : "tools/regression/test/run~note.cpp"
-boost-test(RUN) "testlib/run~fail" : "tools/regression/test/run~fail.cpp"
-boost-test(RUN_FAIL) "testlib/run-fail~pass" : "tools/regression/test/run-fail~pass.cpp"
-boost-test(RUN_FAIL) "testlib/run-fail~fail" : "tools/regression/test/run-fail~fail.cpp"
-boost-test(RUN_FAIL) "testlib/run-fail~fail-warn" : "tools/regression/test/run-fail~fail-warn.cpp"
-boost-test(RUN_FAIL) "testlib/run-fail~compile-fail" : "tools/regression/test/run-fail~compile-fail.cpp"
-boost-test(LINK_FAIL) "testlib/link-fail~pass" : "tools/regression/test/link-fail~pass.cpp"
-boost-test(LINK_FAIL) "testlib/link-fail~fail" : "tools/regression/test/link-fail~fail.cpp"
-boost-test(LINK) "testlib/link~pass" : "tools/regression/test/link~pass.cpp"
-boost-test(LINK) "testlib/link~fail" : "tools/regression/test/link~fail.cpp"
-boost-test(COMPILE) "testlib/compile~warn" : "tools/regression/test/compile~warn.cpp"
-boost-test(COMPILE) "testlib/compile~pass" : "tools/regression/test/compile~pass.cpp"
-boost-test(COMPILE) "testlib/compile~fail" : "tools/regression/test/compile~fail.cpp"
-boost-test(COMPILE_FAIL) "testlib/compile-fail~pass" : "tools/regression/test/compile-fail~pass.cpp"
-boost-test(COMPILE_FAIL) "testlib/compile-fail~fail" : "tools/regression/test/compile-fail~fail.cpp"
-...found 210 targets...
-...updating 157 targets...
-MkDir1 ..\..\..\bin.v2\tools\regression\test
-MkDir1 ..\..\..\bin.v2\tools\regression\test\compile-fail~fail.test
-MkDir1 ..\..\..\bin.v2\tools\regression\test\compile-fail~fail.test\msvc-7.1
-MkDir1 ..\..\..\bin.v2\tools\regression\test\compile-fail~fail.test\msvc-7.1\debug
-MkDir1 ..\..\..\bin.v2\tools\regression\test\compile-fail~fail.test\msvc-7.1\debug\link-static
-MkDir1 ..\..\..\bin.v2\tools\regression\test\compile-fail~fail.test\msvc-7.1\debug\link-static\threading-multi
-compile-c-c++ ..\..\..\bin.v2\tools\regression\test\compile-fail~fail.test\msvc-7.1\debug\link-static\threading-multi\compile-fail~fail.obj
-compile-fail~fail.cpp
-
- call "C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\bin\vcvars32.bat" >nul
-cl /Zm800 -nologo @"..\..\..\bin.v2\tools\regression\test\compile-fail~fail.test\msvc-7.1\debug\link-static\threading-multi\compile-fail~fail.obj.rsp"
-
-...failed compile-c-c++ ..\..\..\bin.v2\tools\regression\test\compile-fail~fail.test\msvc-7.1\debug\link-static\threading-multi\compile-fail~fail.obj...
-...removing ..\..\..\bin.v2\tools\regression\test\compile-fail~fail.test\msvc-7.1\debug\link-static\threading-multi\compile-fail~fail.obj
-MkDir1 ..\..\..\bin.v2\tools\regression\test\compile-fail~pass.test
-MkDir1 ..\..\..\bin.v2\tools\regression\test\compile-fail~pass.test\msvc-7.1
-MkDir1 ..\..\..\bin.v2\tools\regression\test\compile-fail~pass.test\msvc-7.1\debug
-MkDir1 ..\..\..\bin.v2\tools\regression\test\compile-fail~pass.test\msvc-7.1\debug\link-static
-MkDir1 ..\..\..\bin.v2\tools\regression\test\compile-fail~pass.test\msvc-7.1\debug\link-static\threading-multi
-compile-c-c++ ..\..\..\bin.v2\tools\regression\test\compile-fail~pass.test\msvc-7.1\debug\link-static\threading-multi\compile-fail~pass.obj
-compile-fail~pass.cpp
-compile-fail~pass.cpp(9) : fatal error C1189: #error : example of a compile failure
-(failed-as-expected) ..\..\..\bin.v2\tools\regression\test\compile-fail~pass.test\msvc-7.1\debug\link-static\threading-multi\compile-fail~pass.obj
-**passed** ..\..\..\bin.v2\tools\regression\test\compile-fail~pass.test\msvc-7.1\debug\link-static\threading-multi\compile-fail~pass.test
-MkDir1 ..\..\..\bin.v2\tools\regression\test\compile~fail.test
-MkDir1 ..\..\..\bin.v2\tools\regression\test\compile~fail.test\msvc-7.1
-MkDir1 ..\..\..\bin.v2\tools\regression\test\compile~fail.test\msvc-7.1\debug
-MkDir1 ..\..\..\bin.v2\tools\regression\test\compile~fail.test\msvc-7.1\debug\link-static
-MkDir1 ..\..\..\bin.v2\tools\regression\test\compile~fail.test\msvc-7.1\debug\link-static\threading-multi
-compile-c-c++ ..\..\..\bin.v2\tools\regression\test\compile~fail.test\msvc-7.1\debug\link-static\threading-multi\compile~fail.obj
-compile~fail.cpp
-compile~fail.cpp(9) : fatal error C1189: #error : example of a compile failure
-
- call "C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\bin\vcvars32.bat" >nul
-cl /Zm800 -nologo @"..\..\..\bin.v2\tools\regression\test\compile~fail.test\msvc-7.1\debug\link-static\threading-multi\compile~fail.obj.rsp"
-
-...failed compile-c-c++ ..\..\..\bin.v2\tools\regression\test\compile~fail.test\msvc-7.1\debug\link-static\threading-multi\compile~fail.obj...
-MkDir1 ..\..\..\bin.v2\tools\regression\test\compile~pass.test
-MkDir1 ..\..\..\bin.v2\tools\regression\test\compile~pass.test\msvc-7.1
-MkDir1 ..\..\..\bin.v2\tools\regression\test\compile~pass.test\msvc-7.1\debug
-MkDir1 ..\..\..\bin.v2\tools\regression\test\compile~pass.test\msvc-7.1\debug\link-static
-MkDir1 ..\..\..\bin.v2\tools\regression\test\compile~pass.test\msvc-7.1\debug\link-static\threading-multi
-compile-c-c++ ..\..\..\bin.v2\tools\regression\test\compile~pass.test\msvc-7.1\debug\link-static\threading-multi\compile~pass.obj
-compile~pass.cpp
-**passed** ..\..\..\bin.v2\tools\regression\test\compile~pass.test\msvc-7.1\debug\link-static\threading-multi\compile~pass.test
-MkDir1 ..\..\..\bin.v2\tools\regression\test\compile~warn.test
-MkDir1 ..\..\..\bin.v2\tools\regression\test\compile~warn.test\msvc-7.1
-MkDir1 ..\..\..\bin.v2\tools\regression\test\compile~warn.test\msvc-7.1\debug
-MkDir1 ..\..\..\bin.v2\tools\regression\test\compile~warn.test\msvc-7.1\debug\link-static
-MkDir1 ..\..\..\bin.v2\tools\regression\test\compile~warn.test\msvc-7.1\debug\link-static\threading-multi
-compile-c-c++ ..\..\..\bin.v2\tools\regression\test\compile~warn.test\msvc-7.1\debug\link-static\threading-multi\compile~warn.obj
-compile~warn.cpp
-compile~warn.cpp(15) : warning C4244: '=' : conversion from 'unsigned long' to 'short', possible loss of data
-c:\users\misha\stuff\boost\head\boost\tools\regression\test\compile~warn.cpp(15) : warning C4700: local variable 'ul' used without having been initialized
-**passed** ..\..\..\bin.v2\tools\regression\test\compile~warn.test\msvc-7.1\debug\link-static\threading-multi\compile~warn.test
-MkDir1 ..\..\..\bin.v2\tools\regression\test\link~fail.test
-MkDir1 ..\..\..\bin.v2\tools\regression\test\link~fail.test\msvc-7.1
-MkDir1 ..\..\..\bin.v2\tools\regression\test\link~fail.test\msvc-7.1\debug
-MkDir1 ..\..\..\bin.v2\tools\regression\test\link~fail.test\msvc-7.1\debug\link-static
-MkDir1 ..\..\..\bin.v2\tools\regression\test\link~fail.test\msvc-7.1\debug\link-static\threading-multi
-compile-c-c++ ..\..\..\bin.v2\tools\regression\test\link~fail.test\msvc-7.1\debug\link-static\threading-multi\link~fail.obj
-link~fail.cpp
-msvc.link ..\..\..\bin.v2\tools\regression\test\link~fail.test\msvc-7.1\debug\link-static\threading-multi\link~fail.exe
-link~fail.obj : error LNK2019: unresolved external symbol "int __cdecl f(void)" (?f@@YAHXZ) referenced in function _main
-..\..\..\bin.v2\tools\regression\test\link~fail.test\msvc-7.1\debug\link-static\threading-multi\link~fail.exe : fatal error LNK1120: 1 unresolved externals
-
- call "C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\bin\vcvars32.bat" >nul
-link /NOLOGO /INCREMENTAL:NO /DEBUG /subsystem:console /out:"..\..\..\bin.v2\tools\regression\test\link~fail.test\msvc-7.1\debug\link-static\threading-multi\link~fail.exe" @"..\..\..\bin.v2\tools\regression\test\link~fail.test\msvc-7.1\debug\link-static\threading-multi\link~fail.exe.rsp"
- if errorlevel 1 exit %errorlevel%
- if exist "..\..\..\bin.v2\tools\regression\test\link~fail.test\msvc-7.1\debug\link-static\threading-multi\link~fail.exe.manifest" (
- mt -nologo -manifest "..\..\..\bin.v2\tools\regression\test\link~fail.test\msvc-7.1\debug\link-static\threading-multi\link~fail.exe.manifest" "-outputresource:..\..\..\bin.v2\tools\regression\test\link~fail.test\msvc-7.1\debug\link-static\threading-multi\link~fail.exe;1"
- )
-
-...failed msvc.link ..\..\..\bin.v2\tools\regression\test\link~fail.test\msvc-7.1\debug\link-static\threading-multi\link~fail.exe...
-MkDir1 ..\..\..\bin.v2\tools\regression\test\link~pass.test
-MkDir1 ..\..\..\bin.v2\tools\regression\test\link~pass.test\msvc-7.1
-MkDir1 ..\..\..\bin.v2\tools\regression\test\link~pass.test\msvc-7.1\debug
-MkDir1 ..\..\..\bin.v2\tools\regression\test\link~pass.test\msvc-7.1\debug\link-static
-MkDir1 ..\..\..\bin.v2\tools\regression\test\link~pass.test\msvc-7.1\debug\link-static\threading-multi
-compile-c-c++ ..\..\..\bin.v2\tools\regression\test\link~pass.test\msvc-7.1\debug\link-static\threading-multi\link~pass.obj
-link~pass.cpp
-msvc.link ..\..\..\bin.v2\tools\regression\test\link~pass.test\msvc-7.1\debug\link-static\threading-multi\link~pass.exe
-**passed** ..\..\..\bin.v2\tools\regression\test\link~pass.test\msvc-7.1\debug\link-static\threading-multi\link~pass.test
-MkDir1 ..\..\..\bin.v2\tools\regression\test\link-fail~fail.test
-MkDir1 ..\..\..\bin.v2\tools\regression\test\link-fail~fail.test\msvc-7.1
-MkDir1 ..\..\..\bin.v2\tools\regression\test\link-fail~fail.test\msvc-7.1\debug
-MkDir1 ..\..\..\bin.v2\tools\regression\test\link-fail~fail.test\msvc-7.1\debug\link-static
-MkDir1 ..\..\..\bin.v2\tools\regression\test\link-fail~fail.test\msvc-7.1\debug\link-static\threading-multi
-compile-c-c++ ..\..\..\bin.v2\tools\regression\test\link-fail~fail.test\msvc-7.1\debug\link-static\threading-multi\link-fail~fail.obj
-link-fail~fail.cpp
-msvc.link ..\..\..\bin.v2\tools\regression\test\link-fail~fail.test\msvc-7.1\debug\link-static\threading-multi\link-fail~fail.exe
-
- call "C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\bin\vcvars32.bat" >nul
-link /NOLOGO /INCREMENTAL:NO /DEBUG /subsystem:console /out:"..\..\..\bin.v2\tools\regression\test\link-fail~fail.test\msvc-7.1\debug\link-static\threading-multi\link-fail~fail.exe" @"..\..\..\bin.v2\tools\regression\test\link-fail~fail.test\msvc-7.1\debug\link-static\threading-multi\link-fail~fail.exe.rsp"
- if errorlevel 1 exit %errorlevel%
- if exist "..\..\..\bin.v2\tools\regression\test\link-fail~fail.test\msvc-7.1\debug\link-static\threading-multi\link-fail~fail.exe.manifest" (
- mt -nologo -manifest "..\..\..\bin.v2\tools\regression\test\link-fail~fail.test\msvc-7.1\debug\link-static\threading-multi\link-fail~fail.exe.manifest" "-outputresource:..\..\..\bin.v2\tools\regression\test\link-fail~fail.test\msvc-7.1\debug\link-static\threading-multi\link-fail~fail.exe;1"
- )
-
-...failed msvc.link ..\..\..\bin.v2\tools\regression\test\link-fail~fail.test\msvc-7.1\debug\link-static\threading-multi\link-fail~fail.exe...
-...removing ..\..\..\bin.v2\tools\regression\test\link-fail~fail.test\msvc-7.1\debug\link-static\threading-multi\link-fail~fail.exe
-MkDir1 ..\..\..\bin.v2\tools\regression\test\link-fail~pass.test
-MkDir1 ..\..\..\bin.v2\tools\regression\test\link-fail~pass.test\msvc-7.1
-MkDir1 ..\..\..\bin.v2\tools\regression\test\link-fail~pass.test\msvc-7.1\debug
-MkDir1 ..\..\..\bin.v2\tools\regression\test\link-fail~pass.test\msvc-7.1\debug\link-static
-MkDir1 ..\..\..\bin.v2\tools\regression\test\link-fail~pass.test\msvc-7.1\debug\link-static\threading-multi
-compile-c-c++ ..\..\..\bin.v2\tools\regression\test\link-fail~pass.test\msvc-7.1\debug\link-static\threading-multi\link-fail~pass.obj
-link-fail~pass.cpp
-msvc.link ..\..\..\bin.v2\tools\regression\test\link-fail~pass.test\msvc-7.1\debug\link-static\threading-multi\link-fail~pass.exe
-link-fail~pass.obj : error LNK2019: unresolved external symbol "int __cdecl f(void)" (?f@@YAHXZ) referenced in function _main
-..\..\..\bin.v2\tools\regression\test\link-fail~pass.test\msvc-7.1\debug\link-static\threading-multi\link-fail~pass.exe : fatal error LNK1120: 1 unresolved externals
-(failed-as-expected) ..\..\..\bin.v2\tools\regression\test\link-fail~pass.test\msvc-7.1\debug\link-static\threading-multi\link-fail~pass.exe
-**passed** ..\..\..\bin.v2\tools\regression\test\link-fail~pass.test\msvc-7.1\debug\link-static\threading-multi\link-fail~pass.test
-MkDir1 ..\..\..\bin.v2\tools\regression\test\run-fail~compile-fail.test
-MkDir1 ..\..\..\bin.v2\tools\regression\test\run-fail~compile-fail.test\msvc-7.1
-MkDir1 ..\..\..\bin.v2\tools\regression\test\run-fail~compile-fail.test\msvc-7.1\debug
-MkDir1 ..\..\..\bin.v2\tools\regression\test\run-fail~compile-fail.test\msvc-7.1\debug\link-static
-MkDir1 ..\..\..\bin.v2\tools\regression\test\run-fail~compile-fail.test\msvc-7.1\debug\link-static\threading-multi
-compile-c-c++ ..\..\..\bin.v2\tools\regression\test\run-fail~compile-fail.test\msvc-7.1\debug\link-static\threading-multi\run-fail~compile-fail.obj
-run-fail~compile-fail.cpp
-run-fail~compile-fail.cpp(9) : fatal error C1189: #error : example of a compile failure
-
- call "C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\bin\vcvars32.bat" >nul
-cl /Zm800 -nologo @"..\..\..\bin.v2\tools\regression\test\run-fail~compile-fail.test\msvc-7.1\debug\link-static\threading-multi\run-fail~compile-fail.obj.rsp"
-
-...failed compile-c-c++ ..\..\..\bin.v2\tools\regression\test\run-fail~compile-fail.test\msvc-7.1\debug\link-static\threading-multi\run-fail~compile-fail.obj...
-...skipped <p..\..\..\bin.v2\tools\regression\test\run-fail~compile-fail.test\msvc-7.1\debug\link-static\threading-multi>run-fail~compile-fail.exe for lack of <p..\..\..\bin.v2\tools\regression\test\run-fail~compile-fail.test\msvc-7.1\debug\link-static\threading-multi>run-fail~compile-fail.obj...
-...skipped <p..\..\..\bin.v2\tools\regression\test\run-fail~compile-fail.test\msvc-7.1\debug\link-static\threading-multi>run-fail~compile-fail.run for lack of <p..\..\..\bin.v2\tools\regression\test\run-fail~compile-fail.test\msvc-7.1\debug\link-static\threading-multi>run-fail~compile-fail.exe...
-MkDir1 ..\..\..\bin.v2\tools\regression\test\run-fail~fail-warn.test
-MkDir1 ..\..\..\bin.v2\tools\regression\test\run-fail~fail-warn.test\msvc-7.1
-MkDir1 ..\..\..\bin.v2\tools\regression\test\run-fail~fail-warn.test\msvc-7.1\debug
-MkDir1 ..\..\..\bin.v2\tools\regression\test\run-fail~fail-warn.test\msvc-7.1\debug\link-static
-MkDir1 ..\..\..\bin.v2\tools\regression\test\run-fail~fail-warn.test\msvc-7.1\debug\link-static\threading-multi
-compile-c-c++ ..\..\..\bin.v2\tools\regression\test\run-fail~fail-warn.test\msvc-7.1\debug\link-static\threading-multi\run-fail~fail-warn.obj
-run-fail~fail-warn.cpp
-run-fail~fail-warn.cpp(13) : warning C4244: '=' : conversion from 'unsigned long' to 'short', possible loss of data
-c:\users\misha\stuff\boost\head\boost\tools\regression\test\run-fail~fail-warn.cpp(13) : warning C4700: local variable 'ul' used without having been initialized
-msvc.link ..\..\..\bin.v2\tools\regression\test\run-fail~fail-warn.test\msvc-7.1\debug\link-static\threading-multi\run-fail~fail-warn.exe
-testing.capture-output ..\..\..\bin.v2\tools\regression\test\run-fail~fail-warn.test\msvc-7.1\debug\link-static\threading-multi\run-fail~fail-warn.run
- 1 file(s) copied.
-
-
- ..\..\..\bin.v2\tools\regression\test\run-fail~fail-warn.test\msvc-7.1\debug\link-static\threading-multi\run-fail~fail-warn.exe > ..\..\..\bin.v2\tools\regression\test\run-fail~fail-warn.test\msvc-7.1\debug\link-static\threading-multi\run-fail~fail-warn.output 2>&1
- set status=%ERRORLEVEL%
- echo. >> ..\..\..\bin.v2\tools\regression\test\run-fail~fail-warn.test\msvc-7.1\debug\link-static\threading-multi\run-fail~fail-warn.output
- echo EXIT STATUS: %status% >> ..\..\..\bin.v2\tools\regression\test\run-fail~fail-warn.test\msvc-7.1\debug\link-static\threading-multi\run-fail~fail-warn.output
- if %status% EQU 0 (
- copy ..\..\..\bin.v2\tools\regression\test\run-fail~fail-warn.test\msvc-7.1\debug\link-static\threading-multi\run-fail~fail-warn.output ..\..\..\bin.v2\tools\regression\test\run-fail~fail-warn.test\msvc-7.1\debug\link-static\threading-multi\run-fail~fail-warn.run
- )
- set verbose=0
- if %status% NEQ 0 (
- set verbose=1
- )
- if %verbose% EQU 1 (
- echo ====== BEGIN OUTPUT ======
- type ..\..\..\bin.v2\tools\regression\test\run-fail~fail-warn.test\msvc-7.1\debug\link-static\threading-multi\run-fail~fail-warn.output
- echo ====== END OUTPUT ======
- )
- exit %status%
-
-...failed testing.capture-output ..\..\..\bin.v2\tools\regression\test\run-fail~fail-warn.test\msvc-7.1\debug\link-static\threading-multi\run-fail~fail-warn.run...
-...removing ..\..\..\bin.v2\tools\regression\test\run-fail~fail-warn.test\msvc-7.1\debug\link-static\threading-multi\run-fail~fail-warn.run
-MkDir1 ..\..\..\bin.v2\tools\regression\test\run-fail~fail.test
-MkDir1 ..\..\..\bin.v2\tools\regression\test\run-fail~fail.test\msvc-7.1
-MkDir1 ..\..\..\bin.v2\tools\regression\test\run-fail~fail.test\msvc-7.1\debug
-MkDir1 ..\..\..\bin.v2\tools\regression\test\run-fail~fail.test\msvc-7.1\debug\link-static
-MkDir1 ..\..\..\bin.v2\tools\regression\test\run-fail~fail.test\msvc-7.1\debug\link-static\threading-multi
-compile-c-c++ ..\..\..\bin.v2\tools\regression\test\run-fail~fail.test\msvc-7.1\debug\link-static\threading-multi\run-fail~fail.obj
-run-fail~fail.cpp
-msvc.link ..\..\..\bin.v2\tools\regression\test\run-fail~fail.test\msvc-7.1\debug\link-static\threading-multi\run-fail~fail.exe
-testing.capture-output ..\..\..\bin.v2\tools\regression\test\run-fail~fail.test\msvc-7.1\debug\link-static\threading-multi\run-fail~fail.run
- 1 file(s) copied.
-
-
- ..\..\..\bin.v2\tools\regression\test\run-fail~fail.test\msvc-7.1\debug\link-static\threading-multi\run-fail~fail.exe > ..\..\..\bin.v2\tools\regression\test\run-fail~fail.test\msvc-7.1\debug\link-static\threading-multi\run-fail~fail.output 2>&1
- set status=%ERRORLEVEL%
- echo. >> ..\..\..\bin.v2\tools\regression\test\run-fail~fail.test\msvc-7.1\debug\link-static\threading-multi\run-fail~fail.output
- echo EXIT STATUS: %status% >> ..\..\..\bin.v2\tools\regression\test\run-fail~fail.test\msvc-7.1\debug\link-static\threading-multi\run-fail~fail.output
- if %status% EQU 0 (
- copy ..\..\..\bin.v2\tools\regression\test\run-fail~fail.test\msvc-7.1\debug\link-static\threading-multi\run-fail~fail.output ..\..\..\bin.v2\tools\regression\test\run-fail~fail.test\msvc-7.1\debug\link-static\threading-multi\run-fail~fail.run
- )
- set verbose=0
- if %status% NEQ 0 (
- set verbose=1
- )
- if %verbose% EQU 1 (
- echo ====== BEGIN OUTPUT ======
- type ..\..\..\bin.v2\tools\regression\test\run-fail~fail.test\msvc-7.1\debug\link-static\threading-multi\run-fail~fail.output
- echo ====== END OUTPUT ======
- )
- exit %status%
-
-...failed testing.capture-output ..\..\..\bin.v2\tools\regression\test\run-fail~fail.test\msvc-7.1\debug\link-static\threading-multi\run-fail~fail.run...
-...removing ..\..\..\bin.v2\tools\regression\test\run-fail~fail.test\msvc-7.1\debug\link-static\threading-multi\run-fail~fail.run
-MkDir1 ..\..\..\bin.v2\tools\regression\test\run-fail~pass.test
-MkDir1 ..\..\..\bin.v2\tools\regression\test\run-fail~pass.test\msvc-7.1
-MkDir1 ..\..\..\bin.v2\tools\regression\test\run-fail~pass.test\msvc-7.1\debug
-MkDir1 ..\..\..\bin.v2\tools\regression\test\run-fail~pass.test\msvc-7.1\debug\link-static
-MkDir1 ..\..\..\bin.v2\tools\regression\test\run-fail~pass.test\msvc-7.1\debug\link-static\threading-multi
-compile-c-c++ ..\..\..\bin.v2\tools\regression\test\run-fail~pass.test\msvc-7.1\debug\link-static\threading-multi\run-fail~pass.obj
-run-fail~pass.cpp
-msvc.link ..\..\..\bin.v2\tools\regression\test\run-fail~pass.test\msvc-7.1\debug\link-static\threading-multi\run-fail~pass.exe
-testing.capture-output ..\..\..\bin.v2\tools\regression\test\run-fail~pass.test\msvc-7.1\debug\link-static\threading-multi\run-fail~pass.run
-====== BEGIN OUTPUT ======
-example of output from a run-time failure
-
-EXIT STATUS: 1
-====== END OUTPUT ======
-
- del /f /q "..\..\..\bin.v2\tools\regression\test\run-fail~pass.test\msvc-7.1\debug\link-static\threading-multi\run-fail~pass.exe"
-
-...failed RmTemps ..\..\..\bin.v2\tools\regression\test\run-fail~pass.test\msvc-7.1\debug\link-static\threading-multi\run-fail~pass.run...
-MkDir1 ..\..\..\bin.v2\tools\regression\test\run~fail.test
-MkDir1 ..\..\..\bin.v2\tools\regression\test\run~fail.test\msvc-7.1
-MkDir1 ..\..\..\bin.v2\tools\regression\test\run~fail.test\msvc-7.1\debug
-...on 100th target...
-MkDir1 ..\..\..\bin.v2\tools\regression\test\run~fail.test\msvc-7.1\debug\link-static
-MkDir1 ..\..\..\bin.v2\tools\regression\test\run~fail.test\msvc-7.1\debug\link-static\threading-multi
-compile-c-c++ ..\..\..\bin.v2\tools\regression\test\run~fail.test\msvc-7.1\debug\link-static\threading-multi\run~fail.obj
-run~fail.cpp
-msvc.link ..\..\..\bin.v2\tools\regression\test\run~fail.test\msvc-7.1\debug\link-static\threading-multi\run~fail.exe
-testing.capture-output ..\..\..\bin.v2\tools\regression\test\run~fail.test\msvc-7.1\debug\link-static\threading-multi\run~fail.run
-====== BEGIN OUTPUT ======
-
-EXIT STATUS: 1
-====== END OUTPUT ======
-
-
- ..\..\..\bin.v2\tools\regression\test\run~fail.test\msvc-7.1\debug\link-static\threading-multi\run~fail.exe > ..\..\..\bin.v2\tools\regression\test\run~fail.test\msvc-7.1\debug\link-static\threading-multi\run~fail.output 2>&1
- set status=%ERRORLEVEL%
- echo. >> ..\..\..\bin.v2\tools\regression\test\run~fail.test\msvc-7.1\debug\link-static\threading-multi\run~fail.output
- echo EXIT STATUS: %status% >> ..\..\..\bin.v2\tools\regression\test\run~fail.test\msvc-7.1\debug\link-static\threading-multi\run~fail.output
- if %status% EQU 0 (
- copy ..\..\..\bin.v2\tools\regression\test\run~fail.test\msvc-7.1\debug\link-static\threading-multi\run~fail.output ..\..\..\bin.v2\tools\regression\test\run~fail.test\msvc-7.1\debug\link-static\threading-multi\run~fail.run
- )
- set verbose=0
- if %status% NEQ 0 (
- set verbose=1
- )
- if %verbose% EQU 1 (
- echo ====== BEGIN OUTPUT ======
- type ..\..\..\bin.v2\tools\regression\test\run~fail.test\msvc-7.1\debug\link-static\threading-multi\run~fail.output
- echo ====== END OUTPUT ======
- )
- exit %status%
-
-...failed testing.capture-output ..\..\..\bin.v2\tools\regression\test\run~fail.test\msvc-7.1\debug\link-static\threading-multi\run~fail.run...
-MkDir1 ..\..\..\bin.v2\tools\regression\test\run~note.test
-MkDir1 ..\..\..\bin.v2\tools\regression\test\run~note.test\msvc-7.1
-MkDir1 ..\..\..\bin.v2\tools\regression\test\run~note.test\msvc-7.1\debug
-MkDir1 ..\..\..\bin.v2\tools\regression\test\run~note.test\msvc-7.1\debug\link-static
-MkDir1 ..\..\..\bin.v2\tools\regression\test\run~note.test\msvc-7.1\debug\link-static\threading-multi
-compile-c-c++ ..\..\..\bin.v2\tools\regression\test\run~note.test\msvc-7.1\debug\link-static\threading-multi\run~note.obj
-run~note.cpp
-msvc.link ..\..\..\bin.v2\tools\regression\test\run~note.test\msvc-7.1\debug\link-static\threading-multi\run~note.exe
-testing.capture-output ..\..\..\bin.v2\tools\regression\test\run~note.test\msvc-7.1\debug\link-static\threading-multi\run~note.run
- 1 file(s) copied.
-**passed** ..\..\..\bin.v2\tools\regression\test\run~note.test\msvc-7.1\debug\link-static\threading-multi\run~note.test
-MkDir1 ..\..\..\bin.v2\tools\regression\test\run~pass.test
-MkDir1 ..\..\..\bin.v2\tools\regression\test\run~pass.test\msvc-7.1
-MkDir1 ..\..\..\bin.v2\tools\regression\test\run~pass.test\msvc-7.1\debug
-MkDir1 ..\..\..\bin.v2\tools\regression\test\run~pass.test\msvc-7.1\debug\link-static
-MkDir1 ..\..\..\bin.v2\tools\regression\test\run~pass.test\msvc-7.1\debug\link-static\threading-multi
-compile-c-c++ ..\..\..\bin.v2\tools\regression\test\run~pass.test\msvc-7.1\debug\link-static\threading-multi\run~pass.obj
-run~pass.cpp
-msvc.link ..\..\..\bin.v2\tools\regression\test\run~pass.test\msvc-7.1\debug\link-static\threading-multi\run~pass.exe
-testing.capture-output ..\..\..\bin.v2\tools\regression\test\run~pass.test\msvc-7.1\debug\link-static\threading-multi\run~pass.run
- 1 file(s) copied.
-**passed** ..\..\..\bin.v2\tools\regression\test\run~pass.test\msvc-7.1\debug\link-static\threading-multi\run~pass.test
-MkDir1 ..\..\..\bin.v2\tools\regression\test\run~warn-note.test
-MkDir1 ..\..\..\bin.v2\tools\regression\test\run~warn-note.test\msvc-7.1
-MkDir1 ..\..\..\bin.v2\tools\regression\test\run~warn-note.test\msvc-7.1\debug
-MkDir1 ..\..\..\bin.v2\tools\regression\test\run~warn-note.test\msvc-7.1\debug\link-static
-MkDir1 ..\..\..\bin.v2\tools\regression\test\run~warn-note.test\msvc-7.1\debug\link-static\threading-multi
-compile-c-c++ ..\..\..\bin.v2\tools\regression\test\run~warn-note.test\msvc-7.1\debug\link-static\threading-multi\run~warn-note.obj
-run~warn-note.cpp
-run~warn-note.cpp(21) : warning C4244: '=' : conversion from 'unsigned long' to 'short', possible loss of data
-c:\users\misha\stuff\boost\head\boost\tools\regression\test\run~warn-note.cpp(21) : warning C4700: local variable 'ul' used without having been initialized
-msvc.link ..\..\..\bin.v2\tools\regression\test\run~warn-note.test\msvc-7.1\debug\link-static\threading-multi\run~warn-note.exe
-testing.capture-output ..\..\..\bin.v2\tools\regression\test\run~warn-note.test\msvc-7.1\debug\link-static\threading-multi\run~warn-note.run
- 1 file(s) copied.
-**passed** ..\..\..\bin.v2\tools\regression\test\run~warn-note.test\msvc-7.1\debug\link-static\threading-multi\run~warn-note.test
-MkDir1 ..\..\..\bin.v2\tools\regression\test\run~warn.test
-MkDir1 ..\..\..\bin.v2\tools\regression\test\run~warn.test\msvc-7.1
-MkDir1 ..\..\..\bin.v2\tools\regression\test\run~warn.test\msvc-7.1\debug
-MkDir1 ..\..\..\bin.v2\tools\regression\test\run~warn.test\msvc-7.1\debug\link-static
-MkDir1 ..\..\..\bin.v2\tools\regression\test\run~warn.test\msvc-7.1\debug\link-static\threading-multi
-compile-c-c++ ..\..\..\bin.v2\tools\regression\test\run~warn.test\msvc-7.1\debug\link-static\threading-multi\run~warn.obj
-run~warn.cpp
-run~warn.cpp(15) : warning C4244: '=' : conversion from 'unsigned long' to 'short', possible loss of data
-c:\users\misha\stuff\boost\head\boost\tools\regression\test\run~warn.cpp(15) : warning C4700: local variable 'ul' used without having been initialized
-msvc.link ..\..\..\bin.v2\tools\regression\test\run~warn.test\msvc-7.1\debug\link-static\threading-multi\run~warn.exe
-testing.capture-output ..\..\..\bin.v2\tools\regression\test\run~warn.test\msvc-7.1\debug\link-static\threading-multi\run~warn.run
- 1 file(s) copied.
-**passed** ..\..\..\bin.v2\tools\regression\test\run~warn.test\msvc-7.1\debug\link-static\threading-multi\run~warn.test
-...failed updating 9 targets...
-...skipped 17 targets...
-...updated 131 targets...
diff --git a/tools/regression/test/test-cases/general/expected/results.xml b/tools/regression/test/test-cases/general/expected/results.xml
deleted file mode 100644
index 13224e0113..0000000000
--- a/tools/regression/test/test-cases/general/expected/results.xml
+++ /dev/null
@@ -1,167 +0,0 @@
-<test-log library="" test-name="compile-fail~fail" test-type="" test-program="" target-directory="tools/regression/test/compile-fail~fail.test/msvc-7.1/debug/link-static/threading-multi" toolset="msvc-7.1" show-run-output="false">
-<compile result="fail" timestamp="xxx">
-compile-fail~fail.cpp
-
- call "C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\bin\vcvars32.bat" &gt;nul
-cl /Zm800 -nologo @"C:\users\Misha\Stuff\boost\boost\tools\regression\test\test-cases\general\actual\tools\regression\test\compile-fail~fail.test\msvc-7.1\debug\link-static\threading-multi\compile-fail~fail.obj.rsp"
-
-</compile>
-</test-log>
-<test-log library="" test-name="compile-fail~pass" test-type="" test-program="" target-directory="tools/regression/test/compile-fail~pass.test/msvc-7.1/debug/link-static/threading-multi" toolset="msvc-7.1" show-run-output="false">
-<compile result="succeed" timestamp="xxx">
-compile-fail~pass.cpp
-compile-fail~pass.cpp(9) : fatal error C1189: #error : example of a compile failure
-(failed-as-expected) C:\users\Misha\Stuff\boost\boost\tools\regression\test\test-cases\general\actual\tools\regression\test\compile-fail~pass.test\msvc-7.1\debug\link-static\threading-multi\compile-fail~pass.obj
-</compile>
-</test-log>
-<test-log library="" test-name="compile~fail" test-type="" test-program="" target-directory="tools/regression/test/compile~fail.test/msvc-7.1/debug/link-static/threading-multi" toolset="msvc-7.1" show-run-output="false">
-<compile result="fail" timestamp="xxx">
-compile~fail.cpp
-compile~fail.cpp(9) : fatal error C1189: #error : example of a compile failure
-
- call "C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\bin\vcvars32.bat" &gt;nul
-cl /Zm800 -nologo @"C:\users\Misha\Stuff\boost\boost\tools\regression\test\test-cases\general\actual\tools\regression\test\compile~fail.test\msvc-7.1\debug\link-static\threading-multi\compile~fail.obj.rsp"
-
-</compile>
-</test-log>
-<test-log library="" test-name="compile~pass" test-type="" test-program="" target-directory="tools/regression/test/compile~pass.test/msvc-7.1/debug/link-static/threading-multi" toolset="msvc-7.1" show-run-output="false">
-<compile result="succeed" timestamp="xxx">
-compile~pass.cpp
-</compile>
-</test-log>
-<test-log library="" test-name="compile~warn" test-type="" test-program="" target-directory="tools/regression/test/compile~warn.test/msvc-7.1/debug/link-static/threading-multi" toolset="msvc-7.1" show-run-output="false">
-<compile result="succeed" timestamp="xxx">
-compile~warn.cpp
-compile~warn.cpp(15) : warning C4244: '=' : conversion from 'unsigned long' to 'short', possible loss of data
-c:\users\misha\stuff\boost\head\boost\tools\regression\test\compile~warn.cpp(15) : warning C4700: local variable 'ul' used without having been initialized
-</compile>
-</test-log>
-<test-log library="" test-name="link-fail~fail" test-type="" test-program="" target-directory="tools/regression/test/link-fail~fail.test/msvc-7.1/debug/link-static/threading-multi" toolset="msvc-7.1" show-run-output="false">
-<compile result="succeed" timestamp="xxx">
-link-fail~fail.cpp
-</compile>
-<link result="fail" timestamp="xxx">
-
- call "C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\bin\vcvars32.bat" &gt;nul
-link /NOLOGO /INCREMENTAL:NO /DEBUG /subsystem:console /out:"C:\users\Misha\Stuff\boost\boost\tools\regression\test\test-cases\general\actual\tools\regression\test\link-fail~fail.test\msvc-7.1\debug\link-static\threading-multi\link-fail~fail.exe" @"C:\users\Misha\Stuff\boost\boost\tools\regression\test\test-cases\general\actual\tools\regression\test\link-fail~fail.test\msvc-7.1\debug\link-static\threading-multi\link-fail~fail.exe.rsp"
- if errorlevel 1 exit %errorlevel%
- if exist "C:\users\Misha\Stuff\boost\boost\tools\regression\test\test-cases\general\actual\tools\regression\test\link-fail~fail.test\msvc-7.1\debug\link-static\threading-multi\link-fail~fail.exe.manifest" (
- mt -nologo -manifest "C:\users\Misha\Stuff\boost\boost\tools\regression\test\test-cases\general\actual\tools\regression\test\link-fail~fail.test\msvc-7.1\debug\link-static\threading-multi\link-fail~fail.exe.manifest" "-outputresource:C:\users\Misha\Stuff\boost\boost\tools\regression\test\test-cases\general\actual\tools\regression\test\link-fail~fail.test\msvc-7.1\debug\link-static\threading-multi\link-fail~fail.exe;1"
- )
-
-</link>
-</test-log>
-<test-log library="" test-name="link-fail~pass" test-type="" test-program="" target-directory="tools/regression/test/link-fail~pass.test/msvc-7.1/debug/link-static/threading-multi" toolset="msvc-7.1" show-run-output="false">
-<compile result="succeed" timestamp="xxx">
-link-fail~pass.cpp
-</compile>
-<link result="succeed" timestamp="xxx">
-link-fail~pass.obj : error LNK2019: unresolved external symbol "int __cdecl f(void)" (?f@@YAHXZ) referenced in function _main
-C:\users\Misha\Stuff\boost\boost\tools\regression\test\test-cases\general\actual\tools\regression\test\link-fail~pass.test\msvc-7.1\debug\link-static\threading-multi\link-fail~pass.exe : fatal error LNK1120: 1 unresolved externals
-(failed-as-expected) C:\users\Misha\Stuff\boost\boost\tools\regression\test\test-cases\general\actual\tools\regression\test\link-fail~pass.test\msvc-7.1\debug\link-static\threading-multi\link-fail~pass.exe
-</link>
-</test-log>
-<test-log library="" test-name="link~fail" test-type="" test-program="" target-directory="tools/regression/test/link~fail.test/msvc-7.1/debug/link-static/threading-multi" toolset="msvc-7.1" show-run-output="false">
-<compile result="succeed" timestamp="xxx">
-link~fail.cpp
-</compile>
-<link result="fail" timestamp="xxx">
-link~fail.obj : error LNK2019: unresolved external symbol "int __cdecl f(void)" (?f@@YAHXZ) referenced in function _main
-C:\users\Misha\Stuff\boost\boost\tools\regression\test\test-cases\general\actual\tools\regression\test\link~fail.test\msvc-7.1\debug\link-static\threading-multi\link~fail.exe : fatal error LNK1120: 1 unresolved externals
-
- call "C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\bin\vcvars32.bat" &gt;nul
-link /NOLOGO /INCREMENTAL:NO /DEBUG /subsystem:console /out:"C:\users\Misha\Stuff\boost\boost\tools\regression\test\test-cases\general\actual\tools\regression\test\link~fail.test\msvc-7.1\debug\link-static\threading-multi\link~fail.exe" @"C:\users\Misha\Stuff\boost\boost\tools\regression\test\test-cases\general\actual\tools\regression\test\link~fail.test\msvc-7.1\debug\link-static\threading-multi\link~fail.exe.rsp"
- if errorlevel 1 exit %errorlevel%
- if exist "C:\users\Misha\Stuff\boost\boost\tools\regression\test\test-cases\general\actual\tools\regression\test\link~fail.test\msvc-7.1\debug\link-static\threading-multi\link~fail.exe.manifest" (
- mt -nologo -manifest "C:\users\Misha\Stuff\boost\boost\tools\regression\test\test-cases\general\actual\tools\regression\test\link~fail.test\msvc-7.1\debug\link-static\threading-multi\link~fail.exe.manifest" "-outputresource:C:\users\Misha\Stuff\boost\boost\tools\regression\test\test-cases\general\actual\tools\regression\test\link~fail.test\msvc-7.1\debug\link-static\threading-multi\link~fail.exe;1"
- )
-
-</link>
-</test-log>
-<test-log library="" test-name="link~pass" test-type="" test-program="" target-directory="tools/regression/test/link~pass.test/msvc-7.1/debug/link-static/threading-multi" toolset="msvc-7.1" show-run-output="false">
-<compile result="succeed" timestamp="xxx">
-link~pass.cpp
-</compile>
-<link result="succeed" timestamp="xxx">
-</link>
-</test-log>
-<test-log library="" test-name="run-fail~compile-fail" test-type="" test-program="" target-directory="tools/regression/test/run-fail~compile-fail.test/msvc-7.1/debug/link-static/threading-multi" toolset="msvc-7.1" show-run-output="false">
-<compile result="fail" timestamp="xxx">
-run-fail~compile-fail.cpp
-run-fail~compile-fail.cpp(9) : fatal error C1189: #error : example of a compile failure
-
- call "C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\bin\vcvars32.bat" &gt;nul
-cl /Zm800 -nologo @"C:\users\Misha\Stuff\boost\boost\tools\regression\test\test-cases\general\actual\tools\regression\test\run-fail~compile-fail.test\msvc-7.1\debug\link-static\threading-multi\run-fail~compile-fail.obj.rsp"
-
-</compile>
-</test-log>
-<test-log library="" test-name="run-fail~fail-warn" test-type="" test-program="" target-directory="tools/regression/test/run-fail~fail-warn.test/msvc-7.1/debug/link-static/threading-multi" toolset="msvc-7.1" show-run-output="false">
-<compile result="succeed" timestamp="xxx">
-run-fail~fail-warn.cpp
-run-fail~fail-warn.cpp(13) : warning C4244: '=' : conversion from 'unsigned long' to 'short', possible loss of data
-c:\users\misha\stuff\boost\head\boost\tools\regression\test\run-fail~fail-warn.cpp(13) : warning C4700: local variable 'ul' used without having been initialized
-</compile>
-<link result="succeed" timestamp="xxx"></link>
-<run result="fail" timestamp="xxx">
-</run>
-</test-log>
-<test-log library="" test-name="run-fail~fail" test-type="" test-program="" target-directory="tools/regression/test/run-fail~fail.test/msvc-7.1/debug/link-static/threading-multi" toolset="msvc-7.1" show-run-output="false">
-<compile result="succeed" timestamp="xxx">
-run-fail~fail.cpp
-</compile>
-<link result="succeed" timestamp="xxx"></link>
-<run result="fail" timestamp="xxx">
-</run>
-</test-log>
-<test-log library="" test-name="run-fail~pass" test-type="" test-program="" target-directory="tools/regression/test/run-fail~pass.test/msvc-7.1/debug/link-static/threading-multi" toolset="msvc-7.1" show-run-output="false">
-<compile result="succeed" timestamp="xxx">
-run-fail~pass.cpp
-</compile>
-<link result="succeed" timestamp="xxx"></link>
-<run result="succeed" timestamp="xxx">
-</run>
-</test-log>
-<test-log library="" test-name="run~fail" test-type="" test-program="" target-directory="tools/regression/test/run~fail.test/msvc-7.1/debug/link-static/threading-multi" toolset="msvc-7.1" show-run-output="false">
-<compile result="succeed" timestamp="xxx">
-run~fail.cpp
-</compile>
-<link result="succeed" timestamp="xxx"></link>
-<run result="fail" timestamp="xxx">
-</run>
-</test-log>
-<test-log library="" test-name="run~note" test-type="" test-program="" target-directory="tools/regression/test/run~note.test/msvc-7.1/debug/link-static/threading-multi" toolset="msvc-7.1" show-run-output="false">
-<compile result="succeed" timestamp="xxx">
-run~note.cpp
-</compile>
-<link result="succeed" timestamp="xxx"></link>
-<run result="succeed" timestamp="xxx">
-</run>
-</test-log>
-<test-log library="" test-name="run~pass" test-type="" test-program="" target-directory="tools/regression/test/run~pass.test/msvc-7.1/debug/link-static/threading-multi" toolset="msvc-7.1" show-run-output="false">
-<compile result="succeed" timestamp="xxx">
-run~pass.cpp
-</compile>
-<link result="succeed" timestamp="xxx"></link>
-<run result="succeed" timestamp="xxx">
-</run>
-</test-log>
-<test-log library="" test-name="run~warn-note" test-type="" test-program="" target-directory="tools/regression/test/run~warn-note.test/msvc-7.1/debug/link-static/threading-multi" toolset="msvc-7.1" show-run-output="false">
-<compile result="succeed" timestamp="xxx">
-run~warn-note.cpp
-run~warn-note.cpp(21) : warning C4244: '=' : conversion from 'unsigned long' to 'short', possible loss of data
-c:\users\misha\stuff\boost\head\boost\tools\regression\test\run~warn-note.cpp(21) : warning C4700: local variable 'ul' used without having been initialized
-</compile>
-<link result="succeed" timestamp="xxx"></link>
-<run result="succeed" timestamp="xxx">
-</run>
-</test-log>
-<test-log library="" test-name="run~warn" test-type="" test-program="" target-directory="tools/regression/test/run~warn.test/msvc-7.1/debug/link-static/threading-multi" toolset="msvc-7.1" show-run-output="false">
-<compile result="succeed" timestamp="xxx">
-run~warn.cpp
-run~warn.cpp(15) : warning C4244: '=' : conversion from 'unsigned long' to 'short', possible loss of data
-c:\users\misha\stuff\boost\head\boost\tools\regression\test\run~warn.cpp(15) : warning C4700: local variable 'ul' used without having been initialized
-</compile>
-<link result="succeed" timestamp="xxx"></link>
-<run result="succeed" timestamp="xxx">
-</run>
-</test-log>
diff --git a/tools/regression/test/test-cases/incremental/bjam.log b/tools/regression/test/test-cases/incremental/bjam.log
deleted file mode 100644
index 65db0844c2..0000000000
--- a/tools/regression/test/test-cases/incremental/bjam.log
+++ /dev/null
@@ -1,33 +0,0 @@
-locate-root "..\..\..\bin.v2"
-C:\Users\Misha\Stuff\boost\HEAD\boost\tools\regression\test>C:\Users\Misha\Stuff\boost\HEAD\bin\..\boost\tools\jam\src\bin.ntx86\bjam.exe --dump-tests --v2 msvc-7.1 "-sBOOST_BUILD_PATH=C:\Users\Misha\Stuff\boost\HEAD\bin\.." "-sBOOST_ROOT="C:\Users\Misha\Stuff\boost\HEAD\bin\..\boost"
-
-boost-test(RUN) "testlib/run~pass" : "tools/regression/test/run~pass.cpp"
-boost-test(RUN) "testlib/run~pass" : "tools/regression/test/run~pass2s.cpp"
-
-MkDir1 ..\..\..\bin.v2\tools\regression\test\run~pass.test
-MkDir1 ..\..\..\bin.v2\tools\regression\test\run~pass.test\msvc-7.1
-MkDir1 ..\..\..\bin.v2\tools\regression\test\run~pass.test\msvc-7.1\debug
-MkDir1 ..\..\..\bin.v2\tools\regression\test\run~pass.test\msvc-7.1\debug\link-static
-MkDir1 ..\..\..\bin.v2\tools\regression\test\run~pass.test\msvc-7.1\debug\link-static\threading-multi
-compile-c-c++ ..\..\..\bin.v2\tools\regression\test\run~pass.test\msvc-7.1\debug\link-static\threading-multi\run~pass.obj
-run~pass.cpp
-msvc.link ..\..\..\bin.v2\tools\regression\test\run~pass.test\msvc-7.1\debug\link-static\threading-multi\run~pass.exe
-testing.capture-output ..\..\..\bin.v2\tools\regression\test\run~pass.test\msvc-7.1\debug\link-static\threading-multi\run~pass.run
- 1 file(s) copied.
-**passed** ..\..\..\bin.v2\tools\regression\test\run~pass.test\msvc-7.1\debug\link-static\threading-multi\run~pass.test
-
-MkDir1 ..\..\..\bin.v2\tools\regression\test\run~pass2.test
-MkDir1 ..\..\..\bin.v2\tools\regression\test\run~pass2.test\msvc-7.1
-MkDir1 ..\..\..\bin.v2\tools\regression\test\run~pass2.test\msvc-7.1\debug
-MkDir1 ..\..\..\bin.v2\tools\regression\test\run~pass2.test\msvc-7.1\debug\link-static
-MkDir1 ..\..\..\bin.v2\tools\regression\test\run~pass2.test\msvc-7.1\debug\link-static\threading-multi
-compile-c-c++ ..\..\..\bin.v2\tools\regression\test\run~pass2.test\msvc-7.1\debug\link-static\threading-multi\run~pass2.obj
-run~pass2.cpp
-msvc.link ..\..\..\bin.v2\tools\regression\test\run~pass2.test\msvc-7.1\debug\link-static\threading-multi\run~pass2.exe
-testing.capture-output ..\..\..\bin.v2\tools\regression\test\run~pass2.test\msvc-7.1\debug\link-static\threading-multi\run~pass2.run
- 1 file(s) copied.
-**passed** ..\..\..\bin.v2\tools\regression\test\run~pass2.test\msvc-7.1\debug\link-static\threading-multi\run~pass2.test
-
-...failed updating 9 targets...
-...skipped 17 targets...
-...updated 131 targets...
diff --git a/tools/regression/test/test-cases/incremental/bjam.log.1 b/tools/regression/test/test-cases/incremental/bjam.log.1
deleted file mode 100644
index 967ed9eb23..0000000000
--- a/tools/regression/test/test-cases/incremental/bjam.log.1
+++ /dev/null
@@ -1,38 +0,0 @@
-locate-root "..\..\..\bin.v2"
-C:\Users\Misha\Stuff\boost\HEAD\boost\tools\regression\test>C:\Users\Misha\Stuff\boost\HEAD\bin\..\boost\tools\jam\src\bin.ntx86\bjam.exe --dump-tests --v2 msvc-7.1 "-sBOOST_BUILD_PATH=C:\Users\Misha\Stuff\boost\HEAD\bin\.." "-sBOOST_ROOT="C:\Users\Misha\Stuff\boost\HEAD\bin\..\boost"
-
-boost-test(RUN) "testlib/run~pass" : "tools/regression/test/run~pass.cpp"
-
-MkDir1 ..\..\..\bin.v2\tools\regression\test\run~pass.test\msvc-7.1\debug\link-static\threading-multi
-compile-c-c++ ..\..\..\bin.v2\tools\regression\test\run~pass.test\msvc-7.1\debug\link-static\threading-multi\run~pass.obj
-run~pass.cpp
-
- call "C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\bin\vcvars32.bat" >nul
-cl /Zm800 -nologo @"..\..\..\bin.v2\tools\regression\test\run~pass.test\msvc-7.1\debug\link-static\threading-multi\run~pass.obj.rsp"
-
-...failed compile-c-c++ ..\..\..\bin.v2\tools\regression\test\run~pass.test\msvc-7.1\debug\link-static\threading-multi\run~pass.obj...
-
-MkDir1 ..\..\..\bin.v2\tools\regression\test\run~pass2.test
-MkDir1 ..\..\..\bin.v2\tools\regression\test\run~pass2.test\msvc-7.1
-MkDir1 ..\..\..\bin.v2\tools\regression\test\run~pass2.test\msvc-7.1\debug
-MkDir1 ..\..\..\bin.v2\tools\regression\test\run~pass2.test\msvc-7.1\debug\link-static
-MkDir1 ..\..\..\bin.v2\tools\regression\test\run~pass2.test\msvc-7.1\debug\link-static\threading-multi
-compile-c-c++ ..\..\..\bin.v2\tools\regression\test\run~pass2.test\msvc-7.1\debug\link-static\threading-multi\run~pass2.obj
-run~pass2.cpp
-
-msvc.link ..\..\..\bin.v2\tools\regression\test\run~pass2.test\msvc-7.1\debug\link-static\threading-multi\run~pass2.exe
-
- call "C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\bin\vcvars32.bat" >nul
-link /NOLOGO /INCREMENTAL:NO /DEBUG /subsystem:console /out:"..\..\..\bin.v2\tools\regression\test\run~pass2.test\msvc-7.1\debug\link-static\threading-multi\run~pass2.exe" @"..\..\..\bin.v2\tools\regression\test\run~pass2.test\msvc-7.1\debug\link-static\threading-multi\run~pass2.exe.rsp"
- if errorlevel 1 exit %errorlevel%
- if exist "..\..\..\bin.v2\tools\regression\test\run~pass2.test\msvc-7.1\debug\link-static\threading-multi\run~pass2.exe.manifest" (
- mt -nologo -manifest "..\..\..\bin.v2\tools\regression\test\run~pass2.test\msvc-7.1\debug\link-static\threading-multi\run~pass2.exe.manifest" "-outputresource:..\..\..\bin.v2\tools\regression\test\run~pass2.test\msvc-7.1\debug\link-static\threading-multi\run~pass2.exe;1"
- )
-
-...failed msvc.link ..\..\..\bin.v2\tools\regression\test\run~pass2.test\msvc-7.1\debug\link-static\threading-multi\run~pass2.exe...
-...removing ..\..\..\bin.v2\tools\regression\test\run~pass2.test\msvc-7.1\debug\link-static\threading-multi\run~pass2.exe
-
-
-...failed updating 9 targets...
-...skipped 17 targets...
-...updated 131 targets...
diff --git a/tools/regression/test/test-cases/incremental/expected/results.xml b/tools/regression/test/test-cases/incremental/expected/results.xml
deleted file mode 100644
index 0580bd588f..0000000000
--- a/tools/regression/test/test-cases/incremental/expected/results.xml
+++ /dev/null
@@ -1,9 +0,0 @@
-<test-log library="" test-name="run~pass" test-type="" test-program="" target-directory="tools/regression/test/run~pass.test/msvc-7.1/debug/link-static/threading-multi" toolset="msvc-7.1" show-run-output="false">
-<compile result="fail" timestamp="xxx">
-run~pass.cpp
-
- call "C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\bin\vcvars32.bat" &gt;nul
-cl /Zm800 -nologo @"C:\users\Misha\Stuff\boost\boost\tools\regression\test\test-cases\incremental\actual\tools\regression\test\run~pass.test\msvc-7.1\debug\link-static\threading-multi\run~pass.obj.rsp"
-
-</compile>
-</test-log>
diff --git a/tools/regression/test/test.bat b/tools/regression/test/test.bat
deleted file mode 100644
index ce32fb727f..0000000000
--- a/tools/regression/test/test.bat
+++ /dev/null
@@ -1,15 +0,0 @@
-rem Copyright Beman Dawes 2005
-
-rem Distributed under the Boost Software License, Version 1.0.
-rem See http://www.boost.org/LICENSE_1_0.txt
-
-set TEST_LOCATE_ROOT=%TEMP%
-
-echo Begin test processing...
-bjam --dump-tests "-sALL_LOCATE_TARGET=%TEST_LOCATE_ROOT%" %* >bjam.log 2>&1
-echo Begin log processing...
-process_jam_log %TEST_LOCATE_ROOT% <bjam.log
-start bjam.log
-echo Begin compiler status processing...
-compiler_status --locate-root %TEST_LOCATE_ROOT% %BOOST_ROOT% test_status.html test_links.html
-start test_status.html
diff --git a/tools/regression/test/test.py b/tools/regression/test/test.py
deleted file mode 100644
index 5a627ea2b5..0000000000
--- a/tools/regression/test/test.py
+++ /dev/null
@@ -1,181 +0,0 @@
-# Copyright (c) MetaCommunications, Inc. 2003-2005
-#
-# Distributed under the Boost Software License, Version 1.0.
-# (See accompanying file LICENSE_1_0.txt or copy at
-# http://www.boost.org/LICENSE_1_0.txt)
-
-import difflib
-import os
-import re
-import shutil
-import string
-import sys
-
-
-
-def scan_for_test_cases():
- return [ os.path.join( "test-cases", x ) for x in os.listdir( "test-cases" ) if x != "CVS" ]
-
-def clean_dir( dir ):
- if os.path.exists( dir ):
- shutil.rmtree( dir )
- os.makedirs( dir )
-
-def system( commands ):
- if sys.platform == 'win32':
- f = open( 'tmp.cmd', 'w' )
- f.write( string.join( commands, '\n' ) )
- f.close()
- rc = os.system( 'tmp.cmd' )
- os.unlink( 'tmp.cmd' )
- return rc
- else:
- rc = os.system( '&&'.join( commands ) )
- return rc
-
-def checked_system( commands, valid_return_codes = [ 0 ] ):
- rc = system( commands )
- if rc not in [ 0 ] + valid_return_codes:
- raise Exception( 'Command sequence "%s" failed with return code %d' % ( commands, rc ) )
- return rc
-
-def list_recursively( dir ):
- r = []
- for root, dirs, files in os.walk( dir, topdown=False ):
- root = root[ len( dir ) + 1 : ]
- r.extend( [ os.path.join( root, x ) for x in dirs ] )
- r.extend( [ os.path.join( root, x ) for x in files ] )
-
- return r
-
-def find_process_jam_log():
- root = "../../../"
-
- for root, dirs, files in os.walk( os.path.join( root, "bin.v2" ), topdown=False ):
- if "process_jam_log.exe" in files:
- return os.path.abspath( os.path.normpath( os.path.join( root, "process_jam_log.exe" ) ) )
- if "process_jam_log" in files:
- return os.path.abspath( os.path.normpath( os.path.join( root, "process_jam_log" ) ) )
- return None
-
-def process_jam_log( executable, file, locate_root, results_dir ):
- args = []
- args.append( executable )
- # args.append( '--echo' )
- args.append( '--create-directories' )
- args.append( '--v2' )
- args.append( locate_root )
- args.append( '<' )
- args.append( file )
-
- cmd = " ".join( args )
- print "Running process_jam_log (%s)" % cmd
- checked_system( [ cmd ] )
-
-
-def read_file( file_path ):
- f = open( file_path )
- try:
- return f.read()
- finally:
- f.close()
-
-def remove_timestamps( log_lines ):
- return [ re.sub( "timestamp=\"[^\"]+\"", "timestamp=\"\"", x ) for x in log_lines ]
-
-def determine_locate_root( bjam_log ):
- locate_root = None
- f = open( 'bjam.log' )
- try:
- locate_root_re = re.compile( r'locate-root\s+"(.*)"' )
- for l in f.readlines():
- m = locate_root_re.match( l )
- if m:
- locate_root = m.group(1)
- break
- finally:
- f.close()
- return locate_root
-
-def read_file( path ):
- f = open( path )
- try:
- return f.read()
- finally:
- f.close()
-
-def read_file_lines( path ):
- f = open( path )
- try:
- return f.readlines()
- finally:
- f.close()
-
-def write_file( path, content ):
- f = open( path, 'w' )
- try:
- return f.write( content )
- finally:
- f.close()
-
-def write_file_lines( path, content ):
- f = open( path, 'w' )
- try:
- return f.writelines( content )
- finally:
- f.close()
-
-
-def run_test_cases( test_cases ):
- process_jam_log_executable = find_process_jam_log()
- print 'Found process_jam_log: %s' % process_jam_log_executable
- initial_dir = os.getcwd()
- for test_case in test_cases:
- os.chdir( initial_dir )
- print 'Running test case "%s"' % test_case
- os.chdir( test_case )
- if os.path.exists( "expected" ):
- locate_root = determine_locate_root( 'bjam.log' )
- print 'locate_root: %s' % locate_root
-
- actual_results_dir = os.path.join( test_case, "actual" )
- clean_dir( "actual" )
- os.chdir( "actual" )
- root = os.getcwd()
- i = 0
- while 1:
- if i == 0:
- bjam_log_file = 'bjam.log'
- else:
- bjam_log_file = 'bjam.log.%0d' % i
- i += 1
- print 'Looking for %s' % bjam_log_file
- if not os.path.exists( os.path.join( '..', bjam_log_file ) ):
- print ' does not exists'
- break
- print ' found'
- write_file_lines(bjam_log_file.replace( 'bjam', 'bjam_' ),
- [ x.replace( locate_root, root ) for x in read_file_lines( os.path.join( '..', bjam_log_file ) ) ] )
-
- process_jam_log( executable = process_jam_log_executable
- , results_dir = "."
- , locate_root = root
- , file=bjam_log_file.replace( 'bjam', 'bjam_' ) )
-
- actual_content = list_recursively( "." )
- actual_content.sort()
- result_xml = []
- for test_log in [ x for x in actual_content if os.path.splitext( x )[1] == '.xml' ]:
- print 'reading %s' % test_log
- result = [ re.sub( r'timestamp="(.*)"', 'timestamp="xxx"', x ) for x in read_file_lines( test_log ) ]
- result_xml.extend( result )
-
- write_file_lines( 'results.xml', result_xml )
- os.chdir( '..' )
- assert read_file( 'expected/results.xml' ) == read_file( 'actual/results.xml' )
- os.chdir( '..' )
- else:
- raise ' Test case "%s" doesn\'t contain the expected results directory ("expected" )' % ( test_case )
-
-run_test_cases( scan_for_test_cases() )
-# print find_process_jam_log()
diff --git a/tools/regression/xsl_reports/README.txt b/tools/regression/xsl_reports/README.txt
deleted file mode 100644
index 0f9cccda4d..0000000000
--- a/tools/regression/xsl_reports/README.txt
+++ /dev/null
@@ -1,27 +0,0 @@
-
-
-This folder keeps scripts the produce the Boost regression test tables.
-
-The entry point is the boost_wide_report.py script. In the simplest
-case, it should be run as:
-
- python boost_wide_report.py
- --locate-root=XXX
- --results-dir=YYY
- --tag trunk
- --expected-results=XXX
- --failures-markup=XXX
-
-The 'trunk' is the tag of things that are tested, and should match the
-directory name on the server keeping uploaded individual results.
-'results-dir' is a directory where individual results (zip files) will
-be downloaded, and then processed. expected-results and failures-markup
-should be paths to corresponding files in 'status' subdir of boost tree.
-locate-root should point at boost root, it's unclear if it of any use
-now.
-
-This will download and process *all* test results, but it will not
-upload them, so good for local testing. It's possible to run
-this command, interrupt it while it processes results, leave just
-a few .zip files in result dir, and then re-run with --dont-collect-logs
-option, to use downloaded zips only.
diff --git a/tools/regression/xsl_reports/boost_wide_report.py b/tools/regression/xsl_reports/boost_wide_report.py
deleted file mode 100644
index bc598685c4..0000000000
--- a/tools/regression/xsl_reports/boost_wide_report.py
+++ /dev/null
@@ -1,835 +0,0 @@
-
-# Copyright (c) MetaCommunications, Inc. 2003-2007
-#
-# Distributed under the Boost Software License, Version 1.0.
-# (See accompanying file LICENSE_1_0.txt or copy at
-# http://www.boost.org/LICENSE_1_0.txt)
-
-import shutil
-import codecs
-import xml.sax.handler
-import xml.sax.saxutils
-import glob
-import re
-import os.path
-import os
-import string
-import time
-import sys
-import ftplib
-
-import utils
-
-report_types = [ 'us', 'ds', 'ud', 'dd', 'l', 'p', 'i', 'n', 'ddr', 'dsr', 'udr', 'usr' ]
-
-if __name__ == '__main__':
- run_dir = os.path.abspath( os.path.dirname( sys.argv[ 0 ] ) )
-else:
- run_dir = os.path.abspath( os.path.dirname( sys.modules[ __name__ ].__file__ ) )
-
-
-def map_path( path ):
- return os.path.join( run_dir, path )
-
-
-def xsl_path( xsl_file_name ):
- return map_path( os.path.join( 'xsl/v2', xsl_file_name ) )
-
-class file_info:
- def __init__( self, file_name, file_size, file_date ):
- self.name = file_name
- self.size = file_size
- self.date = file_date
-
- def __repr__( self ):
- return "name: %s, size: %s, date %s" % ( self.name, self.size, self.date )
-
-#
-# Find the mod time from unix format directory listing line
-#
-
-def get_date( words ):
- date = words[ 5: -1 ]
- t = time.localtime()
-
- month_names = [ "Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec" ]
-
- year = time.localtime()[0] # If year is not secified is it the current year
- month = month_names.index( date[0] ) + 1
- day = int( date[1] )
- hours = 0
- minutes = 0
-
- if date[2].find( ":" ) != -1:
- ( hours, minutes ) = [ int(x) for x in date[2].split( ":" ) ]
- else:
- # there is no way to get seconds for not current year dates
- year = int( date[2] )
-
- return ( year, month, day, hours, minutes, 0, 0, 0, 0 )
-
-def list_ftp( f ):
- # f is an ftp object
- utils.log( "listing source content" )
- lines = []
-
- # 1. get all lines
- f.dir( lambda x: lines.append( x ) )
-
- # 2. split lines into words
- word_lines = [ x.split( None, 8 ) for x in lines ]
-
- # we don't need directories
- result = [ file_info( l[-1], None, get_date( l ) ) for l in word_lines if l[0][0] != "d" ]
- for f in result:
- utils.log( " %s" % f )
- return result
-
-def list_dir( dir ):
- utils.log( "listing destination content %s" % dir )
- result = []
- for file_path in glob.glob( os.path.join( dir, "*.zip" ) ):
- if os.path.isfile( file_path ):
- mod_time = time.localtime( os.path.getmtime( file_path ) )
- mod_time = ( mod_time[0], mod_time[1], mod_time[2], mod_time[3], mod_time[4], mod_time[5], 0, 0, mod_time[8] )
- # no size (for now)
- result.append( file_info( os.path.basename( file_path ), None, mod_time ) )
- for fi in result:
- utils.log( " %s" % fi )
- return result
-
-def find_by_name( d, name ):
- for dd in d:
- if dd.name == name:
- return dd
- return None
-
-def diff( source_dir_content, destination_dir_content ):
- utils.log( "Finding updated files" )
- result = ( [], [] ) # ( changed_files, obsolete_files )
- for source_file in source_dir_content:
- found = find_by_name( destination_dir_content, source_file.name )
- if found is None: result[0].append( source_file.name )
- elif time.mktime( found.date ) != time.mktime( source_file.date ): result[0].append( source_file.name )
- else:
- pass
- for destination_file in destination_dir_content:
- found = find_by_name( source_dir_content, destination_file.name )
- if found is None: result[1].append( destination_file.name )
- utils.log( " Updated files:" )
- for f in result[0]:
- utils.log( " %s" % f )
- utils.log( " Obsolete files:" )
- for f in result[1]:
- utils.log( " %s" % f )
- return result
-
-def _modtime_timestamp( file ):
- return os.stat( file ).st_mtime
-
-
-root_paths = []
-
-def shorten( file_path ):
- root_paths.sort( lambda x, y: cmp( len(y ), len( x ) ) )
- for root in root_paths:
- if file_path.lower().startswith( root.lower() ):
- return file_path[ len( root ): ].replace( "\\", "/" )
- return file_path.replace( "\\", "/" )
-
-class action:
- def __init__( self, file_path ):
- self.file_path_ = file_path
- self.relevant_paths_ = [ self.file_path_ ]
- self.boost_paths_ = []
- self.dependencies_ = []
- self.other_results_ = []
-
- def run( self ):
- utils.log( "%s: run" % shorten( self.file_path_ ) )
- __log__ = 2
-
- for dependency in self.dependencies_:
- if not os.path.exists( dependency ):
- utils.log( "%s doesn't exists, removing target" % shorten( dependency ) )
- self.clean()
- return
-
- if not os.path.exists( self.file_path_ ):
- utils.log( "target doesn't exists, building" )
- self.update()
- return
-
- dst_timestamp = _modtime_timestamp( self.file_path_ )
- utils.log( " target: %s [%s]" % ( shorten( self.file_path_ ), dst_timestamp ) )
- needs_updating = 0
- utils.log( " dependencies:" )
- for dependency in self.dependencies_:
- dm = _modtime_timestamp( dependency )
- update_mark = ""
- if dm > dst_timestamp:
- needs_updating = 1
- utils.log( ' %s [%s] %s' % ( shorten( dependency ), dm, update_mark ) )
-
- if needs_updating:
- utils.log( "target needs updating, rebuilding" )
- self.update()
- return
- else:
- utils.log( "target is up-to-date" )
-
-
- def clean( self ):
- to_unlink = self.other_results_ + [ self.file_path_ ]
- for result in to_unlink:
- utils.log( ' Deleting obsolete "%s"' % shorten( result ) )
- if os.path.exists( result ):
- os.unlink( result )
-
-class merge_xml_action( action ):
- def __init__( self, source, destination, expected_results_file, failures_markup_file, tag ):
- action.__init__( self, destination )
- self.source_ = source
- self.destination_ = destination
- self.tag_ = tag
-
- self.expected_results_file_ = expected_results_file
- self.failures_markup_file_ = failures_markup_file
-
- self.dependencies_.extend( [
- self.source_
- , self.expected_results_file_
- , self.failures_markup_file_
- ]
- )
-
- self.relevant_paths_.extend( [ self.source_ ] )
- self.boost_paths_.extend( [ self.expected_results_file_, self.failures_markup_file_ ] )
-
-
-
- def update( self ):
- def filter_xml( src, dest ):
-
- class xmlgen( xml.sax.saxutils.XMLGenerator ):
- def __init__( self, writer ):
- xml.sax.saxutils.XMLGenerator.__init__( self, writer )
-
- self.trimmed = 0
- self.character_content = ""
-
- def startElement( self, name, attrs):
- self.flush()
- xml.sax.saxutils.XMLGenerator.startElement( self, name, attrs )
-
- def endElement( self, name ):
- self.flush()
- xml.sax.saxutils.XMLGenerator.endElement( self, name )
-
- def flush( self ):
- content = self.character_content
- self.character_content = ""
- self.trimmed = 0
- xml.sax.saxutils.XMLGenerator.characters( self, content )
-
- def characters( self, content ):
- if not self.trimmed:
- max_size = pow( 2, 16 )
- self.character_content += content
- if len( self.character_content ) > max_size:
- self.character_content = self.character_content[ : max_size ] + "...\n\n[The content has been trimmed by the report system because it exceeds %d bytes]" % max_size
- self.trimmed = 1
-
- o = open( dest, "w" )
- try:
- gen = xmlgen( o )
- xml.sax.parse( src, gen )
- finally:
- o.close()
-
- return dest
-
-
- utils.log( 'Merging "%s" with expected results...' % shorten( self.source_ ) )
- try:
- trimmed_source = filter_xml( self.source_, '%s-trimmed.xml' % os.path.splitext( self.source_ )[0] )
- utils.libxslt(
- utils.log
- , trimmed_source
- , xsl_path( 'add_expected_results.xsl' )
- , self.file_path_
- , {
- "expected_results_file" : self.expected_results_file_
- , "failures_markup_file": self.failures_markup_file_
- , "source" : self.tag_
- }
- )
-
- os.unlink( trimmed_source )
-
- except Exception, msg:
- utils.log( ' Skipping "%s" due to errors (%s)' % ( self.source_, msg ) )
- if os.path.exists( self.file_path_ ):
- os.unlink( self.file_path_ )
-
-
- def _xml_timestamp( xml_path ):
-
- class timestamp_reader( xml.sax.handler.ContentHandler ):
- def startElement( self, name, attrs ):
- if name == 'test-run':
- self.timestamp = attrs.getValue( 'timestamp' )
- raise self
-
- try:
- xml.sax.parse( xml_path, timestamp_reader() )
- raise 'Cannot extract timestamp from "%s". Invalid XML file format?' % xml_path
- except timestamp_reader, x:
- return x.timestamp
-
-
-class make_links_action( action ):
- def __init__( self, source, destination, output_dir, tag, run_date, comment_file, failures_markup_file ):
- action.__init__( self, destination )
- self.dependencies_.append( source )
- self.source_ = source
- self.output_dir_ = output_dir
- self.tag_ = tag
- self.run_date_ = run_date
- self.comment_file_ = comment_file
- self.failures_markup_file_ = failures_markup_file
- self.links_file_path_ = os.path.join( output_dir, 'links.html' )
-
- def update( self ):
- utils.makedirs( os.path.join( os.path.dirname( self.links_file_path_ ), "output" ) )
- utils.makedirs( os.path.join( os.path.dirname( self.links_file_path_ ), "developer", "output" ) )
- utils.makedirs( os.path.join( os.path.dirname( self.links_file_path_ ), "user", "output" ) )
- utils.log( ' Making test output files...' )
- try:
- utils.libxslt(
- utils.log
- , self.source_
- , xsl_path( 'links_page.xsl' )
- , self.links_file_path_
- , {
- 'source': self.tag_
- , 'run_date': self.run_date_
- , 'comment_file': self.comment_file_
- , 'explicit_markup_file': self.failures_markup_file_
- }
- )
- except Exception, msg:
- utils.log( ' Skipping "%s" due to errors (%s)' % ( self.source_, msg ) )
-
- open( self.file_path_, "w" ).close()
-
-
-class unzip_action( action ):
- def __init__( self, source, destination, unzip_func ):
- action.__init__( self, destination )
- self.dependencies_.append( source )
- self.source_ = source
- self.unzip_func_ = unzip_func
-
- def update( self ):
- try:
- utils.log( ' Unzipping "%s" ... into "%s"' % ( shorten( self.source_ ), os.path.dirname( self.file_path_ ) ) )
- self.unzip_func_( self.source_, os.path.dirname( self.file_path_ ) )
- except Exception, msg:
- utils.log( ' Skipping "%s" due to errors (%s)' % ( self.source_, msg ) )
-
-
-def ftp_task( site, site_path , destination ):
- __log__ = 1
- utils.log( '' )
- utils.log( 'ftp_task: "ftp://%s/%s" -> %s' % ( site, site_path, destination ) )
-
- utils.log( ' logging on ftp site %s' % site )
- f = ftplib.FTP( site )
- f.login()
- utils.log( ' cwd to "%s"' % site_path )
- f.cwd( site_path )
-
- source_content = list_ftp( f )
- source_content = [ x for x in source_content if re.match( r'.+[.](?<!log[.])zip', x.name ) and x.name.lower() != 'boostbook.zip' ]
- destination_content = list_dir( destination )
- d = diff( source_content, destination_content )
-
- def synchronize():
- for source in d[0]:
- utils.log( 'Copying "%s"' % source )
- result = open( os.path.join( destination, source ), 'wb' )
- f.retrbinary( 'RETR %s' % source, result.write )
- result.close()
- mod_date = find_by_name( source_content, source ).date
- m = time.mktime( mod_date )
- os.utime( os.path.join( destination, source ), ( m, m ) )
-
- for obsolete in d[1]:
- utils.log( 'Deleting "%s"' % obsolete )
- os.unlink( os.path.join( destination, obsolete ) )
-
- utils.log( " Synchronizing..." )
- __log__ = 2
- synchronize()
-
- f.quit()
-
-def unzip_archives_task( source_dir, processed_dir, unzip_func ):
- utils.log( '' )
- utils.log( 'unzip_archives_task: unpacking updated archives in "%s" into "%s"...' % ( source_dir, processed_dir ) )
- __log__ = 1
-
- target_files = [ os.path.join( processed_dir, os.path.basename( x.replace( ".zip", ".xml" ) ) ) for x in glob.glob( os.path.join( source_dir, "*.zip" ) ) ] + glob.glob( os.path.join( processed_dir, "*.xml" ) )
- actions = [ unzip_action( os.path.join( source_dir, os.path.basename( x.replace( ".xml", ".zip" ) ) ), x, unzip_func ) for x in target_files ]
- for a in actions:
- a.run()
-
-def merge_xmls_task( source_dir, processed_dir, merged_dir, expected_results_file, failures_markup_file, tag ):
- utils.log( '' )
- utils.log( 'merge_xmls_task: merging updated XMLs in "%s"...' % source_dir )
- __log__ = 1
-
- utils.makedirs( merged_dir )
- target_files = [ os.path.join( merged_dir, os.path.basename( x ) ) for x in glob.glob( os.path.join( processed_dir, "*.xml" ) ) ] + glob.glob( os.path.join( merged_dir, "*.xml" ) )
- actions = [ merge_xml_action( os.path.join( processed_dir, os.path.basename( x ) )
- , x
- , expected_results_file
- , failures_markup_file
- , tag ) for x in target_files ]
-
- for a in actions:
- a.run()
-
-
-def make_links_task( input_dir, output_dir, tag, run_date, comment_file, extended_test_results, failures_markup_file ):
- utils.log( '' )
- utils.log( 'make_links_task: make output files for test results in "%s"...' % input_dir )
- __log__ = 1
-
- target_files = [ x + ".links" for x in glob.glob( os.path.join( input_dir, "*.xml" ) ) ] + glob.glob( os.path.join( input_dir, "*.links" ) )
- actions = [ make_links_action( x.replace( ".links", "" )
- , x
- , output_dir
- , tag
- , run_date
- , comment_file
- , failures_markup_file
- ) for x in target_files ]
-
- for a in actions:
- a.run()
-
-
-class xmlgen( xml.sax.saxutils.XMLGenerator ):
- document_started = 0
-
- def startDocument( self ):
- if not self.document_started:
- xml.sax.saxutils.XMLGenerator.startDocument( self )
- self.document_started = 1
-
-
-def merge_processed_test_runs( test_runs_dir, tag, writer ):
- utils.log( '' )
- utils.log( 'merge_processed_test_runs: merging processed test runs from %s into a single XML...' % test_runs_dir )
- __log__ = 1
-
- all_runs_xml = xmlgen( writer, encoding='utf-8' )
- all_runs_xml.startDocument()
- all_runs_xml.startElement( 'all-test-runs', {} )
-
- files = glob.glob( os.path.join( test_runs_dir, '*.xml' ) )
- for test_run in files:
- #file_pos = writer.stream.tell()
- file_pos = writer.tell()
- try:
- utils.log( ' Writing "%s" into the resulting XML...' % test_run )
- xml.sax.parse( test_run, all_runs_xml )
- except Exception, msg:
- utils.log( ' Skipping "%s" due to errors (%s)' % ( test_run, msg ) )
- #writer.stream.seek( file_pos )
- #writer.stream.truncate()
- writer.seek( file_pos )
- writer.truncate()
-
- all_runs_xml.endElement( 'all-test-runs' )
- all_runs_xml.endDocument()
-
-
-def execute_tasks(
- tag
- , user
- , run_date
- , comment_file
- , results_dir
- , output_dir
- , reports
- , warnings
- , extended_test_results
- , dont_collect_logs
- , expected_results_file
- , failures_markup_file
- ):
-
- incoming_dir = os.path.join( results_dir, 'incoming', tag )
- processed_dir = os.path.join( incoming_dir, 'processed' )
- merged_dir = os.path.join( processed_dir, 'merged' )
- if not os.path.exists( incoming_dir ):
- os.makedirs( incoming_dir )
- if not os.path.exists( processed_dir ):
- os.makedirs( processed_dir )
- if not os.path.exists( merged_dir ):
- os.makedirs( merged_dir )
-
- if not dont_collect_logs:
- ftp_site = 'boost.cowic.de'
- site_path = '/boost/do-not-publish-this-url/results/%s' % tag
-
- ftp_task( ftp_site, site_path, incoming_dir )
-
- unzip_archives_task( incoming_dir, processed_dir, utils.unzip )
- merge_xmls_task( incoming_dir, processed_dir, merged_dir, expected_results_file, failures_markup_file, tag )
- make_links_task( merged_dir
- , output_dir
- , tag
- , run_date
- , comment_file
- , extended_test_results
- , failures_markup_file )
-
-
- results_xml_path = os.path.join( output_dir, 'extended_test_results.xml' )
- #writer = codecs.open( results_xml_path, 'w', 'utf-8' )
- writer = open( results_xml_path, 'w' )
- merge_processed_test_runs( merged_dir, tag, writer )
- writer.close()
-
-
- make_result_pages(
- extended_test_results
- , expected_results_file
- , failures_markup_file
- , tag
- , run_date
- , comment_file
- , output_dir
- , reports
- , warnings
- )
-
-
-def make_result_pages(
- extended_test_results
- , expected_results_file
- , failures_markup_file
- , tag
- , run_date
- , comment_file
- , output_dir
- , reports
- , warnings
- ):
-
- utils.log( 'Producing the reports...' )
- __log__ = 1
-
- warnings_text = '+'.join( warnings )
-
- if comment_file != '':
- comment_file = os.path.abspath( comment_file )
-
- links = os.path.join( output_dir, 'links.html' )
-
- utils.makedirs( os.path.join( output_dir, 'output' ) )
- for mode in ( 'developer', 'user' ):
- utils.makedirs( os.path.join( output_dir, mode , 'output' ) )
-
- issues = os.path.join( output_dir, 'developer', 'issues.html' )
- if 'i' in reports:
- utils.log( ' Making issues list...' )
- utils.libxslt(
- utils.log
- , extended_test_results
- , xsl_path( 'issues_page.xsl' )
- , issues
- , {
- 'source': tag
- , 'run_date': run_date
- , 'warnings': warnings_text
- , 'comment_file': comment_file
- , 'expected_results_file': expected_results_file
- , 'explicit_markup_file': failures_markup_file
- , 'release': "yes"
- }
- )
-
- for mode in ( 'developer', 'user' ):
- if mode[0] + 'd' in reports:
- utils.log( ' Making detailed %s report...' % mode )
- utils.libxslt(
- utils.log
- , extended_test_results
- , xsl_path( 'result_page.xsl' )
- , os.path.join( output_dir, mode, 'index.html' )
- , {
- 'links_file': 'links.html'
- , 'mode': mode
- , 'source': tag
- , 'run_date': run_date
- , 'warnings': warnings_text
- , 'comment_file': comment_file
- , 'expected_results_file': expected_results_file
- , 'explicit_markup_file' : failures_markup_file
- }
- )
-
- for mode in ( 'developer', 'user' ):
- if mode[0] + 's' in reports:
- utils.log( ' Making summary %s report...' % mode )
- utils.libxslt(
- utils.log
- , extended_test_results
- , xsl_path( 'summary_page.xsl' )
- , os.path.join( output_dir, mode, 'summary.html' )
- , {
- 'mode' : mode
- , 'source': tag
- , 'run_date': run_date
- , 'warnings': warnings_text
- , 'comment_file': comment_file
- , 'explicit_markup_file' : failures_markup_file
- }
- )
-
- for mode in ( 'developer', 'user' ):
- if mode[0] + 'dr' in reports:
- utils.log( ' Making detailed %s release report...' % mode )
- utils.libxslt(
- utils.log
- , extended_test_results
- , xsl_path( 'result_page.xsl' )
- , os.path.join( output_dir, mode, 'index_release.html' )
- , {
- 'links_file': 'links.html'
- , 'mode': mode
- , 'source': tag
- , 'run_date': run_date
- , 'warnings': warnings_text
- , 'comment_file': comment_file
- , 'expected_results_file': expected_results_file
- , 'explicit_markup_file' : failures_markup_file
- , 'release': "yes"
- }
- )
-
- for mode in ( 'developer', 'user' ):
- if mode[0] + 'sr' in reports:
- utils.log( ' Making summary %s release report...' % mode )
- utils.libxslt(
- utils.log
- , extended_test_results
- , xsl_path( 'summary_page.xsl' )
- , os.path.join( output_dir, mode, 'summary_release.html' )
- , {
- 'mode' : mode
- , 'source': tag
- , 'run_date': run_date
- , 'warnings': warnings_text
- , 'comment_file': comment_file
- , 'explicit_markup_file' : failures_markup_file
- , 'release': 'yes'
- }
- )
-
- if 'e' in reports:
- utils.log( ' Generating expected_results ...' )
- utils.libxslt(
- utils.log
- , extended_test_results
- , xsl_path( 'produce_expected_results.xsl' )
- , os.path.join( output_dir, 'expected_results.xml' )
- )
-
- if 'n' in reports:
- utils.log( ' Making runner comment files...' )
- utils.libxslt(
- utils.log
- , extended_test_results
- , xsl_path( 'runners.xsl' )
- , os.path.join( output_dir, 'runners.html' )
- )
-
- shutil.copyfile(
- xsl_path( 'html/master.css' )
- , os.path.join( output_dir, 'master.css' )
- )
-
- fix_file_names( output_dir )
-
-
-def fix_file_names( dir ):
- """
- The current version of xslproc doesn't correctly handle
- spaces. We have to manually go through the
- result set and decode encoded spaces (%20).
- """
- utils.log( 'Fixing encoded file names...' )
- for root, dirs, files in os.walk( dir ):
- for file in files:
- if file.find( "%20" ) > -1:
- new_name = file.replace( "%20", " " )
- utils.rename(
- utils.log
- , os.path.join( root, file )
- , os.path.join( root, new_name )
- )
-
-
-def build_xsl_reports(
- locate_root_dir
- , tag
- , expected_results_file
- , failures_markup_file
- , comment_file
- , results_dir
- , result_file_prefix
- , dont_collect_logs = 0
- , reports = report_types
- , warnings = []
- , user = None
- , upload = False
- ):
-
- ( run_date ) = time.strftime( '%Y-%m-%dT%H:%M:%SZ', time.gmtime() )
-
- root_paths.append( locate_root_dir )
- root_paths.append( results_dir )
-
- bin_boost_dir = os.path.join( locate_root_dir, 'bin', 'boost' )
-
- output_dir = os.path.join( results_dir, result_file_prefix )
- utils.makedirs( output_dir )
-
- if expected_results_file != '':
- expected_results_file = os.path.abspath( expected_results_file )
- else:
- expected_results_file = os.path.abspath( map_path( 'empty_expected_results.xml' ) )
-
-
- extended_test_results = os.path.join( output_dir, 'extended_test_results.xml' )
-
- execute_tasks(
- tag
- , user
- , run_date
- , comment_file
- , results_dir
- , output_dir
- , reports
- , warnings
- , extended_test_results
- , dont_collect_logs
- , expected_results_file
- , failures_markup_file
- )
-
- if upload:
- upload_dir = 'regression-logs/'
- utils.log( 'Uploading results into "%s" [connecting as %s]...' % ( upload_dir, user ) )
-
- archive_name = '%s.tar.gz' % result_file_prefix
- utils.tar(
- os.path.join( results_dir, result_file_prefix )
- , archive_name
- )
-
- utils.sourceforge.upload( os.path.join( results_dir, archive_name ), upload_dir, user )
- utils.sourceforge.untar( os.path.join( upload_dir, archive_name ), user, background = True )
-
-
-def accept_args( args ):
- args_spec = [
- 'locate-root='
- , 'tag='
- , 'expected-results='
- , 'failures-markup='
- , 'comment='
- , 'results-dir='
- , 'results-prefix='
- , 'dont-collect-logs'
- , 'reports='
- , 'user='
- , 'upload'
- , 'help'
- ]
-
- options = {
- '--comment': ''
- , '--expected-results': ''
- , '--failures-markup': ''
- , '--reports': string.join( report_types, ',' )
- , '--tag': None
- , '--user': None
- , 'upload': False
- }
-
- utils.accept_args( args_spec, args, options, usage )
- if not options.has_key( '--results-dir' ):
- options[ '--results-dir' ] = options[ '--locate-root' ]
-
- if not options.has_key( '--results-prefix' ):
- options[ '--results-prefix' ] = 'all'
-
- return (
- options[ '--locate-root' ]
- , options[ '--tag' ]
- , options[ '--expected-results' ]
- , options[ '--failures-markup' ]
- , options[ '--comment' ]
- , options[ '--results-dir' ]
- , options[ '--results-prefix' ]
- , options.has_key( '--dont-collect-logs' )
- , options[ '--reports' ].split( ',' )
- , options[ '--user' ]
- , options.has_key( '--upload' )
- )
-
-
-def usage():
- print 'Usage: %s [options]' % os.path.basename( sys.argv[0] )
- print '''
-\t--locate-root the same as --locate-root in compiler_status
-\t--tag the tag for the results (i.e. 'trunk')
-\t--expected-results the file with the results to be compared with
-\t the current run
-\t--failures-markup the file with the failures markup
-\t--comment an html comment file (will be inserted in the reports)
-\t--results-dir the directory containing -links.html, -fail.html
-\t files produced by compiler_status (by default the
-\t same as specified in --locate-root)
-\t--results-prefix the prefix of -links.html, -fail.html
-\t files produced by compiler_status
-\t--user SourceForge user name for a shell account
-\t--upload upload reports to SourceForge
-
-The following options are useful in debugging:
-
-\t--dont-collect-logs dont collect the test logs
-\t--reports produce only the specified reports
-\t us - user summary
-\t ds - developer summary
-\t ud - user detailed
-\t dd - developer detailed
-\t l - links
-\t p - patches
-\t x - extended results file
-\t i - issues
-\t n - runner comment files
-'''
-
-def main():
- build_xsl_reports( *accept_args( sys.argv[ 1 : ] ) )
-
-if __name__ == '__main__':
- main()
diff --git a/tools/regression/xsl_reports/boostbook_report.py b/tools/regression/xsl_reports/boostbook_report.py
deleted file mode 100644
index 6c91a939dd..0000000000
--- a/tools/regression/xsl_reports/boostbook_report.py
+++ /dev/null
@@ -1,179 +0,0 @@
-import ftplib
-import optparse
-import os
-import time
-import urlparse
-import utils
-import shutil
-import sys
-import zipfile
-import xml.sax.saxutils
-
-
-import utils.libxslt
-
-def get_date( words ):
- date = words[ 5: -1 ]
- t = time.localtime()
-
- month_names = [ "Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec" ]
-
- year = time.localtime()[0] # If year is not secified is it the current year
- month = month_names.index( date[0] ) + 1
- day = int( date[1] )
- hours = 0
- minutes = 0
-
- if date[2].find( ":" ) != -1:
- ( hours, minutes ) = [ int(x) for x in date[2].split( ":" ) ]
- else:
- # there is no way to get seconds for not current year dates
- year = int( date[2] )
-
- return ( year, month, day, hours, minutes, 0, 0, 0, 0 )
-
-#def check_for_new_upload( target_dir, boostbook_info ):
-
-def accept_args( args ):
- parser = optparse.OptionParser()
- parser.add_option( '-t', '--tag', dest='tag', help="the tag for the results (i.e. 'RC_1_34_0')" )
- parser.add_option( '-d', '--destination', dest='destination', help='destination directory' )
-
- if len(args) == 0:
- parser.print_help()
- sys.exit( 1 )
-
- (options, args) = parser.parse_args()
- if not options.destination:
- print '-d is required'
- parser.print_help()
- sys.exit( 1 )
- return options
-
-def unzip( archive_path, result_dir ):
- utils.log( 'Unpacking %s into %s' % ( archive_path, result_dir ) )
- z = zipfile.ZipFile( archive_path, 'r', zipfile.ZIP_DEFLATED )
- for f in z.infolist():
- dir = os.path.join( result_dir, os.path.dirname( f.filename ) )
- if not os.path.exists( dir ):
- os.makedirs( dir )
- result = open( os.path.join( result_dir, f.filename ), 'wb' )
- result.write( z.read( f.filename ) )
- result.close()
-
- z.close()
-
-def boostbook_report( options ):
- site = 'fx.meta-comm.com'
- site_path = '/boost-regression/%s' % options.tag
-
- utils.log( 'Opening %s ...' % site )
- f = ftplib.FTP( site )
- f.login()
- utils.log( ' cd %s ...' % site_path )
- f.cwd( site_path )
-
- utils.log( ' dir' )
- lines = []
- f.dir( lambda x: lines.append( x ) )
- word_lines = [ x.split( None, 8 ) for x in lines ]
- boostbook_info = [ ( l[-1], get_date( l ) ) for l in word_lines if l[-1] == "BoostBook.zip" ]
- if len( boostbook_info ) > 0:
- boostbook_info = boostbook_info[0]
- utils.log( 'BoostBook found! (%s)' % ( boostbook_info, ) )
- local_copy = os.path.join( options.destination,'BoostBook-%s.zip' % options.tag )
-
- if 1:
- if os.path.exists( local_copy ):
- utils.log( 'Local copy exists. Checking if it is older than uploaded one...' )
- uploaded_mtime = time.mktime( boostbook_info[1] )
- local_mtime = os.path.getmtime( local_copy )
- utils.log( ' uploaded: %s %s, local: %s %s' %
- ( uploaded_mtime
- , boostbook_info[1]
- , local_mtime
- , time.localtime( local_mtime )) )
- modtime = time.localtime( os.path.getmtime( local_copy ) )
- if uploaded_mtime <= local_mtime:
- utils.log( 'Local copy is newer: exiting' )
- sys.exit()
-
- if 1:
- temp = os.path.join( options.destination,'BoostBook.zip' )
- result = open( temp, 'wb' )
- f.retrbinary( 'RETR %s' % boostbook_info[0], result.write )
- result.close()
-
- if os.path.exists( local_copy ):
- os.unlink( local_copy )
- os.rename( temp, local_copy )
- m = time.mktime( boostbook_info[1] )
- os.utime( local_copy, ( m, m ) )
-
-
- docs_name = os.path.splitext( os.path.basename( local_copy ) )[0]
- if 1:
- unpacked_docs_dir = os.path.join( options.destination, docs_name )
- utils.log( 'Dir %s ' % unpacked_docs_dir )
- if os.path.exists( unpacked_docs_dir ):
- utils.log( 'Cleaning up...' )
- shutil.rmtree( unpacked_docs_dir )
- os.makedirs( unpacked_docs_dir )
-
- unzip( local_copy, unpacked_docs_dir )
-
- utils.system( [ 'cd %s' % unpacked_docs_dir
- , 'tar -c -f ../%s.tar.gz -z --exclude=tarball *' % docs_name ] )
-
- process_boostbook_build_log( os.path.join( unpacked_docs_dir, 'boostbook.log' ), read_timestamp( unpacked_docs_dir ) )
- utils.libxslt( log
- , os.path.abspath( os.path.join( unpacked_docs_dir, 'boostbook.log.xml' ) )
- , os.path.abspath( os.path.join( os.path.dirname( __file__ ), 'xsl', 'v2', 'boostbook_log.xsl' ) )
- , os.path.abspath( os.path.join( unpacked_docs_dir, 'boostbook.log.html' ) ) )
-
-
-def log( msg ):
- print msg
-
-def process_boostbook_build_log( path, timestamp ):
- f = open( path + '.xml', 'w' )
- g = xml.sax.saxutils.XMLGenerator( f )
- lines = open( path ).read().splitlines()
- output_lines = []
- result = 'success'
- for line in lines:
- type = 'output'
- if line.startswith( '...failed' ):
- type = 'failure'
- result='failure'
-
- if line.startswith( 'runtime error:' ):
- type = 'failure'
-
- if line.startswith( '...skipped' ):
- type = 'skipped'
- output_lines.append( ( type, line ) )
-
- g.startDocument()
- g.startElement( 'build', { 'result': result, 'timestamp': timestamp } )
- for line in output_lines:
- g.startElement( 'line', { 'type': line[0]} )
- g.characters( line[1] )
- g.endElement( 'line' )
- g.endElement( 'build' )
- g.endDocument()
-
-
-def read_timestamp( docs_directory ):
- f = open( os.path.join( docs_directory, 'timestamp' ) )
- try:
- return f.readline()
- finally:
- f.close()
-
-def main():
- options = accept_args( sys.argv[1:])
- boostbook_report( options )
-
-if __name__ == '__main__':
- main() \ No newline at end of file
diff --git a/tools/regression/xsl_reports/build_results.sh b/tools/regression/xsl_reports/build_results.sh
deleted file mode 100755
index 5947117fa9..0000000000
--- a/tools/regression/xsl_reports/build_results.sh
+++ /dev/null
@@ -1,146 +0,0 @@
-#!/bin/sh
-
-#~ Copyright Redshift Software, Inc. 2007-2008
-#~ Distributed under the Boost Software License, Version 1.0.
-#~ (See accompanying file LICENSE_1_0.txt or http://www.boost.org/LICENSE_1_0.txt)
-
-set -e
-
-build_all()
-{
- update_tools ${1} ${2}
- build_results ${1} ${2}
- upload_results ${1} ${2}
-}
-
-update_tools()
-{
- cwd=`pwd`
- cd boost
- svn up
- cd "${cwd}"
-}
-
-report_info()
-{
-cat - > comment.html <<HTML
-<table style="border-spacing: 0.5em;">
- <tr>
- <td style="vertical-align: top;"><tt>uname</tt></td>
- <td>
- <pre style="border: 1px solid #666; overflow: auto;">
-`uname -a`
- </pre>
- </td>
- </tr>
- <tr>
- <td style="vertical-align: top;"><tt>uptime</tt></td>
- <td>
- <pre style="border: 1px solid #666; overflow: auto;">
-`uptime`
- </pre>
- </td>
- </tr>
- <tr>
- <td style="vertical-align: top;"><tt>vmstat</tt></td>
- <td>
- <pre style="border: 1px solid #666; overflow: auto;">
-`vmstat`
- </pre>
- </td>
- </tr>
- <tr>
- <td style="vertical-align: top;"><tt>xsltproc</tt></td>
- <td>
- <pre style="border: 1px solid #666; overflow: auto;">
-`xsltproc --version`
- </pre>
- </td>
- </tr>
- <tr>
- <td style="vertical-align: top;"><tt>python</tt></td>
- <td>
- <pre style="border: 1px solid #666; overflow: auto;">
-`python --version 2>&1`
- </pre>
- </td>
- </tr>
- <tr>
- <td style="vertical-align: top;">previous run</td>
- <td>
- <pre style="border: 1px solid #666; overflow: auto;">
-`cat previous.txt`
- </pre>
- </td>
- </tr>
- <tr>
- <td style="vertical-align: top;">current run</td>
- <td>
- <pre style="border: 1px solid #666; overflow: auto;">
-`date -u`
- </pre>
- </td>
- </tr>
-</table>
-HTML
- date -u > previous.txt
-}
-
-build_results()
-{
- cwd=`pwd`
- cd ${1}
- root=`pwd`
- boost=${cwd}/boost
- case ${1} in
- trunk)
- tag=trunk
- reports="dd,ds,i,n"
- ;;
-
- release)
- tag=branches/release
- reports="dd,ds,i,n"
- ;;
-
- release-1_35_0)
- tag=tags/release/Boost_1_35_0
- reports="dd,ud,ds,us,ddr,udr,dsr,usr,i,n,e"
- ;;
-
- release-1_36_0)
- tag=tags/release/Boost_1_36_0
- reports="dd,ud,ds,us,ddr,udr,dsr,usr,i,n,e"
- ;;
- esac
- report_info
- python "${boost}/tools/regression/xsl_reports/boost_wide_report.py" \
- --locate-root="${root}" \
- --tag=${tag} \
- --expected-results="${boost}/status/expected_results.xml" \
- --failures-markup="${boost}/status/explicit-failures-markup.xml" \
- --comment="comment.html" \
- --user="" \
- --reports=${reports}
- cd "${cwd}"
-}
-
-upload_results()
-{
- cwd=`pwd`
- upload_dir=/home/grafik/www.boost.org/testing
-
- cd ${1}/all
- rm -f ../../${1}.zip*
- #~ zip -q -r -9 ../../${1} * -x '*.xml'
- 7za a -tzip -mx=9 ../../${1}.zip * '-x!*.xml'
- cd "${cwd}"
- mv ${1}.zip ${1}.zip.uploading
- rsync -vuz --rsh=ssh --stats \
- ${1}.zip.uploading grafik@beta.boost.org:/${upload_dir}/incoming/
- ssh grafik@beta.boost.org \
- cp ${upload_dir}/incoming/${1}.zip.uploading ${upload_dir}/live/${1}.zip
- mv ${1}.zip.uploading ${1}.zip
-}
-
-build_all ${1} ${2}
diff --git a/tools/regression/xsl_reports/email_maintainers.py b/tools/regression/xsl_reports/email_maintainers.py
deleted file mode 100644
index 308ab688f5..0000000000
--- a/tools/regression/xsl_reports/email_maintainers.py
+++ /dev/null
@@ -1,840 +0,0 @@
-#
-# Copyright (C) 2005, 2007 The Trustees of Indiana University
-# Author: Douglas Gregor
-#
-# Distributed under the Boost Software License, Version 1.0. (See
-# accompanying file LICENSE_1_0.txt or copy at
-# http://www.boost.org/LICENSE_1_0.txt)
-#
-import re
-import smtplib
-import os
-import time
-import string
-import datetime
-import sys
-
-report_author = "Douglas Gregor <dgregor@osl.iu.edu>"
-boost_dev_list = "Boost Developer List <boost@lists.boost.org>"
-boost_testing_list = "Boost Testing List <boost-testing@lists.boost.org>"
-
-def sorted_keys( dict ):
- result = dict.keys()
- result.sort()
- return result
-
-
-class Platform:
- """
- All of the failures for a particular platform.
- """
- def __init__(self, name):
- self.name = name
- self.failures = list()
- self.maintainers = list()
- return
-
- def addFailure(self, failure):
- self.failures.append(failure)
- return
-
- def isBroken(self):
- return len(self.failures) > 300
-
- def addMaintainer(self, maintainer):
- """
- Add a new maintainer for this platform.
- """
- self.maintainers.append(maintainer)
- return
-
-class Failure:
- """
- A single test case failure in the report.
- """
- def __init__(self, test, platform):
- self.test = test
- self.platform = platform
- return
-
-class Test:
- """
- All of the failures for a single test name within a library.
- """
- def __init__(self, library, name):
- self.library = library
- self.name = name
- self.failures = list()
- return
-
- def addFailure(self, failure):
- self.failures.append(failure)
- return
-
- def numFailures(self):
- return len(self.failures)
-
- def numReportableFailures(self):
- """
- Returns the number of failures that we will report to the
- maintainers of the library. This doesn't count failures on
- broken platforms.
- """
- count = 0
- for failure in self.failures:
- if not failure.platform.isBroken():
- count += 1
- pass
- pass
- return count
-
-class Library:
- """
- All of the information about the failures in a single library.
- """
- def __init__(self, name):
- self.name = name
- self.maintainers = list()
- self.tests = list()
- return
-
- def addTest(self, test):
- """
- Add another test to the library.
- """
- self.tests.append(test)
- return
-
- def addMaintainer(self, maintainer):
- """
- Add a new maintainer for this library.
- """
- self.maintainers.append(maintainer)
- return
-
- def numFailures(self):
- count = 0
- for test in self.tests:
- count += test.numFailures()
- pass
- return count
-
- def numReportableFailures(self):
- count = 0
- for test in self.tests:
- count += test.numReportableFailures()
- pass
- return count
-
-class Maintainer:
- """
- Information about the maintainer of a library
- """
- def __init__(self, name, email):
- self.name = name
- self.email = email
- self.libraries = list()
- return
-
- def addLibrary(self, library):
- self.libraries.append(library)
- return
-
- def composeEmail(self, report):
- """
- Composes an e-mail to this maintainer with information about
- the failures in his or her libraries, omitting those that come
- from "broken" platforms. Returns the e-mail text if a message
- needs to be sent, or None otherwise.
- """
-
- # Determine if we need to send a message to this developer.
- requires_message = False
- for library in self.libraries:
- if library.numReportableFailures() > 0:
- requires_message = True
- break
-
- if not requires_message:
- return None
-
- # Build the message header
- message = """From: Douglas Gregor <dgregor@osl.iu.edu>
-To: """
- message += self.name + ' <' + self.email + '>'
- message += """
-Reply-To: boost@lists.boost.org
-Subject: Failures in your Boost libraries as of """
- message += str(datetime.date.today()) + " [" + report.branch + "]"
- message += """
-
-You are receiving this report because one or more of the libraries you
-maintain has regression test failures that are not accounted for.
-A full version of the report is sent to the Boost developer's mailing
-list.
-
-Detailed report:
-"""
- message += ' ' + report.url + """
-
-There are failures in these libraries you maintain:
-"""
-
- # List the libraries this maintainer is responsible for and
- # the number of reportable failures in that library.
- for library in self.libraries:
- num_failures = library.numReportableFailures()
- if num_failures > 0:
- message += ' ' + library.name + ' (' + str(num_failures) + ')\n'
- pass
- pass
-
- # Provide the details for the failures in each library.
- for library in self.libraries:
- if library.numReportableFailures() > 0:
- message += '\n|' + library.name + '|\n'
- for test in library.tests:
- if test.numReportableFailures() > 0:
- message += ' ' + test.name + ':'
- for failure in test.failures:
- if not failure.platform.isBroken():
- message += ' ' + failure.platform.name
- pass
- pass
- message += '\n'
- pass
- pass
- pass
- pass
-
- return message
-
-class PlatformMaintainer:
- """
- Information about the platform maintainer of a library
- """
- def __init__(self, name, email):
- self.name = name
- self.email = email
- self.platforms = list()
- return
-
- def addPlatform(self, runner, platform):
- self.platforms.append(platform)
- return
-
- def composeEmail(self, report):
- """
- Composes an e-mail to this platform maintainer if one or more of
- the platforms s/he maintains has a large number of failures.
- Returns the e-mail text if a message needs to be sent, or None
- otherwise.
- """
-
- # Determine if we need to send a message to this developer.
- requires_message = False
- for platform in self.platforms:
- if platform.isBroken():
- requires_message = True
- break
-
- if not requires_message:
- return None
-
- # Build the message header
- message = """From: Douglas Gregor <dgregor@osl.iu.edu>
-To: """
- message += self.name + ' <' + self.email + '>'
- message += """
-Reply-To: boost@lists.boost.org
-Subject: Large number of Boost failures on a platform you maintain as of """
- message += str(datetime.date.today()) + " [" + report.branch + "]"
- message += """
-
-You are receiving this report because one or more of the testing
-platforms that you maintain has a large number of Boost failures that
-are not accounted for. A full version of the report is sent to the
-Boost developer's mailing list.
-
-Detailed report:
-"""
- message += ' ' + report.url + """
-
-The following platforms have a large number of failures:
-"""
-
- for platform in self.platforms:
- if platform.isBroken():
- message += (' ' + platform.name + ' ('
- + str(len(platform.failures)) + ' failures)\n')
-
- return message
-
-class Report:
- """
- The complete report of all failing test cases.
- """
- def __init__(self, branch = 'trunk'):
- self.branch = branch
- self.date = None
- self.url = None
- self.libraries = dict()
- self.platforms = dict()
- self.maintainers = dict()
- self.platform_maintainers = dict()
- return
-
- def getPlatform(self, name):
- """
- Retrieve the platform with the given name.
- """
- if self.platforms.has_key(name):
- return self.platforms[name]
- else:
- self.platforms[name] = Platform(name)
- return self.platforms[name]
-
- def getMaintainer(self, name, email):
- """
- Retrieve the maintainer with the given name and e-mail address.
- """
- if self.maintainers.has_key(name):
- return self.maintainers[name]
- else:
- self.maintainers[name] = Maintainer(name, email)
- return self.maintainers[name]
-
- def getPlatformMaintainer(self, name, email):
- """
- Retrieve the platform maintainer with the given name and
- e-mail address.
- """
- if self.platform_maintainers.has_key(name):
- return self.platform_maintainers[name]
- else:
- self.platform_maintainers[name] = PlatformMaintainer(name, email)
- return self.platform_maintainers[name]
-
- def parseIssuesEmail(self):
- """
- Try to parse the issues e-mail file. Returns True if everything was
- successful, false otherwise.
- """
- # See if we actually got the file
- if not os.path.isfile('issues-email.txt'):
- return False
-
- # Determine the set of libraries that have unresolved failures
- date_regex = re.compile('Report time: (.*)')
- url_regex = re.compile(' (http://.*)')
- library_regex = re.compile('\|(.*)\|')
- failure_regex = re.compile(' ([^:]*): (.*)')
- current_library = None
- for line in file('issues-email.txt', 'r'):
- # Check for the report time line
- m = date_regex.match(line)
- if m:
- self.date = m.group(1)
- continue
-
- # Check for the detailed report URL
- m = url_regex.match(line)
- if m:
- self.url = m.group(1)
- continue
-
- # Check for a library header
- m = library_regex.match(line)
- if m:
- current_library = Library(m.group(1))
- self.libraries[m.group(1)] = current_library
- continue
-
- # Check for a library test and its failures
- m = failure_regex.match(line)
- if m:
- test = Test(current_library, m.group(1))
- for platform_name in re.split('\s*', m.group(2)):
- if platform_name != '':
- platform = self.getPlatform(platform_name)
- failure = Failure(test, platform)
- test.addFailure(failure)
- platform.addFailure(failure)
- pass
- current_library.addTest(test)
- continue
- pass
-
- return True
-
- def getIssuesEmail(self):
- """
- Retrieve the issues email from beta.boost.org, trying a few
- times in case something wonky is happening. If we can retrieve
- the file, calls parseIssuesEmail and return True; otherwise,
- return False.
- """
- base_url = "http://beta.boost.org/development/tests/"
- base_url += self.branch
- base_url += "/developer/";
- got_issues = False
-
- # Ping the server by looking for an HTML file
- print "Pinging the server to initiate extraction..."
- ping_url = base_url + "issues.html"
- os.system('curl -O ' + ping_url)
- os.system('rm -f issues.html')
-
- for x in range(30):
- # Update issues-email.txt
- url = base_url + "issues-email.txt"
- print 'Retrieving issues email from ' + url
- os.system('rm -f issues-email.txt')
- os.system('curl -O ' + url)
-
- if self.parseIssuesEmail():
- return True
-
- print 'Failed to fetch issues email. '
- time.sleep (30)
-
- return False
-
- # Parses the file $BOOST_ROOT/libs/maintainers.txt to create a hash
- # mapping from the library name to the list of maintainers.
- def parseLibraryMaintainersFile(self):
- """
- Parse the maintainers file in ../../../libs/maintainers.txt to
- collect information about the maintainers of broken libraries.
- """
- lib_maintainer_regex = re.compile('(\S+)\s*(.*)')
- name_email_regex = re.compile('\s*(\w*(\s*\w+)+)\s*<\s*(\S*(\s*\S+)+)\S*>')
- at_regex = re.compile('\s*-\s*at\s*-\s*')
- for line in file('../../../libs/maintainers.txt', 'r'):
- if line.startswith('#'):
- continue
- m = lib_maintainer_regex.match (line)
- if m:
- libname = m.group(1)
- if self.libraries.has_key(m.group(1)):
- library = self.libraries[m.group(1)]
- for person in re.split('\s*,\s*', m.group(2)):
- nmm = name_email_regex.match(person)
- if nmm:
- name = nmm.group(1)
- email = nmm.group(3)
- email = at_regex.sub('@', email)
- maintainer = self.getMaintainer(name, email)
- maintainer.addLibrary(library)
- library.addMaintainer(maintainer)
- pass
- pass
- pass
- pass
- pass
- pass
-
- # Parses the file $BOOST_ROOT/libs/platform_maintainers.txt to
- # create a hash mapping from the platform name to the list of
- # maintainers.
- def parsePlatformMaintainersFile(self):
- """
- Parse the platform maintainers file in
- ../../../libs/platform_maintainers.txt to collect information
- about the maintainers of the various platforms.
- """
- platform_maintainer_regex = re.compile('([A-Za-z0-9_.-]*|"[^"]*")\s+(\S+)\s+(.*)')
- name_email_regex = re.compile('\s*(\w*(\s*\w+)+)\s*<\s*(\S*(\s*\S+)+)\S*>')
- at_regex = re.compile('\s*-\s*at\s*-\s*')
- for line in file('../../../libs/platform_maintainers.txt', 'r'):
- if line.startswith('#'):
- continue
- m = platform_maintainer_regex.match (line)
- if m:
- platformname = m.group(2)
- if self.platforms.has_key(platformname):
- platform = self.platforms[platformname]
- for person in re.split('\s*,\s*', m.group(3)):
- nmm = name_email_regex.match(person)
- if nmm:
- name = nmm.group(1)
- email = nmm.group(3)
- email = at_regex.sub('@', email)
- maintainer = self.getPlatformMaintainer(name, email)
- maintainer.addPlatform(m.group(1), platform)
- platform.addMaintainer(maintainer)
- pass
- pass
- pass
- pass
- pass
-
- def numFailures(self):
- count = 0
- for library in self.libraries:
- count += self.libraries[library].numFailures()
- pass
- return count
-
- def numReportableFailures(self):
- count = 0
- for library in self.libraries:
- count += self.libraries[library].numReportableFailures()
- pass
- return count
-
- def composeSummaryEmail(self):
- """
- Compose a message to send to the Boost developer's
- list. Return the message and return it.
- """
- message = """From: Douglas Gregor <dgregor@osl.iu.edu>
-To: boost@lists.boost.org
-Reply-To: boost@lists.boost.org
-Subject: [Report] """
- message += str(self.numFailures()) + " failures on " + branch
- if branch != 'trunk':
- message += ' branch'
- message += " (" + str(datetime.date.today()) + ")"
- message += """
-
-Boost regression test failures
-"""
- message += "Report time: " + self.date + """
-
-This report lists all regression test failures on high-priority platforms.
-
-Detailed report:
-"""
-
- message += ' ' + self.url + '\n\n'
-
- if self.numFailures() == 0:
- message += "No failures! Yay!\n"
- return message
-
- # List the platforms that are broken
- any_broken_platforms = self.numReportableFailures() < self.numFailures()
- if any_broken_platforms:
- message += """The following platforms have a large number of failures:
-"""
- for platform in sorted_keys( self.platforms ):
- if self.platforms[platform].isBroken():
- message += (' ' + platform + ' ('
- + str(len(self.platforms[platform].failures))
- + ' failures)\n')
-
- message += """
-Failures on these "broken" platforms will be omitted from the results below.
-Please see the full report for information about these failures.
-
-"""
-
- # Display the number of failures
- message += (str(self.numReportableFailures()) + ' failures in ' +
- str(len(self.libraries)) + ' libraries')
- if any_broken_platforms:
- message += (' (plus ' + str(self.numFailures() - self.numReportableFailures())
- + ' from broken platforms)')
-
- message += '\n'
-
- # Display the number of failures per library
- for k in sorted_keys( self.libraries ):
- library = self.libraries[k]
- num_failures = library.numFailures()
- message += ' ' + library.name + ' ('
-
- if library.numReportableFailures() > 0:
- message += (str(library.numReportableFailures())
- + " failures")
-
- if library.numReportableFailures() < num_failures:
- if library.numReportableFailures() > 0:
- message += ', plus '
-
- message += (str(num_failures-library.numReportableFailures())
- + ' failures on broken platforms')
- message += ')\n'
- pass
-
- message += '\n'
-
- # Provide the details for the failures in each library.
- for k in sorted_keys( self.libraries ):
- library = self.libraries[k]
- if library.numReportableFailures() > 0:
- message += '\n|' + library.name + '|\n'
- for test in library.tests:
- if test.numReportableFailures() > 0:
- message += ' ' + test.name + ':'
- for failure in test.failures:
- platform = failure.platform
- if not platform.isBroken():
- message += ' ' + platform.name
- message += '\n'
-
- return message
-
- def composeTestingSummaryEmail(self):
- """
- Compose a message to send to the Boost Testing list. Returns
- the message text if a message is needed, returns None
- otherwise.
- """
- brokenPlatforms = 0
- for platform in sorted_keys( self.platforms ):
- if self.platforms[platform].isBroken():
- brokenPlatforms = brokenPlatforms + 1
-
- if brokenPlatforms == 0:
- return None;
-
- message = """From: Douglas Gregor <dgregor@osl.iu.edu>
-To: boost-testing@lists.boost.org
-Reply-To: boost-testing@lists.boost.org
-Subject: [Report] """
- message += str(brokenPlatforms) + " potentially broken platforms on " + branch
- if branch != 'trunk':
- message += ' branch'
- message += " (" + str(datetime.date.today()) + ")"
- message += """
-
-Potentially broken platforms for Boost regression testing
-"""
- message += "Report time: " + self.date + """
-
-This report lists the high-priority platforms that are exhibiting a
-large number of regression test failures, which might indicate a problem
-with the test machines or testing harness.
-
-Detailed report:
-"""
-
- message += ' ' + self.url + '\n'
-
- message += """
-Platforms with a large number of failures:
-"""
- for platform in sorted_keys( self.platforms ):
- if self.platforms[platform].isBroken():
- message += (' ' + platform + ' ('
- + str(len(self.platforms[platform].failures))
- + ' failures)\n')
-
- return message
-
-# Send a message to "person" (a maintainer of a library that is
-# failing).
-# maintainers is the result of get_library_maintainers()
-def send_individualized_message (branch, person, maintainers):
- # There are several states we could be in:
- # 0 Initial state. Eat everything up to the "NNN failures in MMM
- # libraries" line
- # 1 Suppress output within this library
- # 2 Forward output within this library
- state = 0
-
- failures_in_lib_regex = re.compile('\d+ failur.*\d+ librar')
- lib_failures_regex = re.compile(' (\S+) \((\d+)\)')
- lib_start_regex = re.compile('\|(\S+)\|')
- general_pass_regex = re.compile(' http://')
- for line in file('issues-email.txt', 'r'):
- if state == 0:
- lfm = lib_failures_regex.match(line)
- if lfm:
- # Pass the line through if the current person is a
- # maintainer of this library
- if lfm.group(1) in maintainers and person in maintainers[lfm.group(1)]:
- message += line
- print line,
-
- elif failures_in_lib_regex.match(line):
- message += "\nThere are failures in these libraries you maintain:\n"
- elif general_pass_regex.match(line):
- message += line
-
- lib_start = lib_start_regex.match(line)
- if lib_start:
- if state == 0:
- message += '\n'
-
- if lib_start.group(1) in maintainers and person in maintainers[lib_start.group(1)]:
- message += line
- state = 2
- else:
- state = 1
- else:
- if state == 1:
- pass
- elif state == 2:
- message += line
-
- if '--debug' in sys.argv:
- print '-----------------Message text----------------'
- print message
- else:
- print
-
- if '--send' in sys.argv:
- print "Sending..."
- smtp = smtplib.SMTP('milliways.osl.iu.edu')
- smtp.sendmail(from_addr = 'Douglas Gregor <dgregor@osl.iu.edu>',
- to_addrs = person[1],
- msg = message)
- print "Done."
-
-
-# Send a message to the developer's list
-def send_boost_developers_message(branch, maintainers, failing_libraries):
- to_line = 'boost@lists.boost.org'
- from_line = 'Douglas Gregor <dgregor@osl.iu.edu>'
-
- message = """From: Douglas Gregor <dgregor@osl.iu.edu>
-To: boost@lists.boost.org
-Reply-To: boost@lists.boost.org
-Subject: Boost regression testing notification ("""
-
- message += str(datetime.date.today()) + " [" + branch + "]"
- message += ")"
-
- message += """
-
-"""
-
- for line in file('issues-email.txt', 'r'):
- # Right before the detailed report, put out a warning message if
- # any libraries with failures to not have maintainers listed.
- if line.startswith('Detailed report:'):
- missing_maintainers = False
- for lib in failing_libraries:
- if not(lib in maintainers) or maintainers[lib] == list():
- missing_maintainers = True
-
- if missing_maintainers:
- message += """WARNING: The following libraries have failing regression tests but do
-not have a maintainer on file. Once a maintainer is found, add an
-entry to libs/maintainers.txt to eliminate this message.
-"""
-
- for lib in failing_libraries:
- if not(lib in maintainers) or maintainers[lib] == list():
- message += ' ' + lib + '\n'
- message += '\n'
-
- message += line
-
- if '--send' in sys.argv:
- print 'Sending notification email...'
- smtp = smtplib.SMTP('milliways.osl.iu.edu')
- smtp.sendmail(from_addr = from_line, to_addrs = to_line, msg = message)
- print 'Done.'
-
- if '--debug' in sys.argv:
- print "----------Boost developer's message text----------"
- print message
-
-###############################################################################
-# Main program #
-###############################################################################
-
-# Parse command-line options
-branch = "trunk"
-for arg in sys.argv:
- if arg.startswith("--branch="):
- branch = arg[len("--branch="):]
-
-report = Report(branch)
-
-# Try to parse the issues e-mail
-if '--no-get' in sys.argv:
- okay = report.parseIssuesEmail()
-else:
- okay = report.getIssuesEmail()
-
-if not okay:
- print 'Aborting.'
- if '--send' in sys.argv:
- message = """From: Douglas Gregor <dgregor@osl.iu.edu>
- To: Douglas Gregor <dgregor@osl.iu.edu>
- Reply-To: boost@lists.boost.org
- Subject: Regression status script failed on """
- message += str(datetime.date.today()) + " [" + branch + "]"
- smtp = smtplib.SMTP('milliways.osl.iu.edu')
- smtp.sendmail(from_addr = 'Douglas Gregor <dgregor@osl.iu.edu>',
- to_addrs = 'dgregor@osl.iu.edu',
- msg = message)
- sys.exit(1)
-
-# Try to parse maintainers information
-report.parseLibraryMaintainersFile()
-report.parsePlatformMaintainersFile()
-
-# Generate individualized e-mail for library maintainers
-for maintainer_name in report.maintainers:
- maintainer = report.maintainers[maintainer_name]
-
- email = maintainer.composeEmail(report)
- if email:
- if '--send' in sys.argv:
- print ('Sending notification email to ' + maintainer.name + '...')
- smtp = smtplib.SMTP('milliways.osl.iu.edu')
- smtp.sendmail(from_addr = report_author,
- to_addrs = maintainer.email,
- msg = email)
- print 'done.\n'
- else:
- print 'Would send a notification e-mail to',maintainer.name
-
- if '--debug' in sys.argv:
- print ('Message text for ' + maintainer.name + ':\n')
- print email
-
-# Generate individualized e-mail for platform maintainers
-for maintainer_name in report.platform_maintainers:
- maintainer = report.platform_maintainers[maintainer_name]
-
- email = maintainer.composeEmail(report)
- if email:
- if '--send' in sys.argv:
- print ('Sending notification email to ' + maintainer.name + '...')
- smtp = smtplib.SMTP('milliways.osl.iu.edu')
- smtp.sendmail(from_addr = report_author,
- to_addrs = maintainer.email,
- msg = email)
- print 'done.\n'
- else:
- print 'Would send a notification e-mail to',maintainer.name
-
- if '--debug' in sys.argv:
- print ('Message text for ' + maintainer.name + ':\n')
- print email
-
-email = report.composeSummaryEmail()
-if '--send' in sys.argv:
- print 'Sending summary email to Boost developer list...'
- smtp = smtplib.SMTP('milliways.osl.iu.edu')
- smtp.sendmail(from_addr = report_author,
- to_addrs = boost_dev_list,
- msg = email)
- print 'done.\n'
-if '--debug' in sys.argv:
- print 'Message text for summary:\n'
- print email
-
-email = report.composeTestingSummaryEmail()
-if email:
- if '--send' in sys.argv:
- print 'Sending summary email to Boost testing list...'
- smtp = smtplib.SMTP('milliways.osl.iu.edu')
- smtp.sendmail(from_addr = report_author,
- to_addrs = boost_testing_list,
- msg = email)
- print 'done.\n'
- if '--debug' in sys.argv:
- print 'Message text for testing summary:\n'
- print email
-
-if not ('--send' in sys.argv):
- print 'Chickening out and not sending any e-mail.'
- print 'Use --send to actually send e-mail, --debug to see e-mails.'
diff --git a/tools/regression/xsl_reports/empty_expected_results.xml b/tools/regression/xsl_reports/empty_expected_results.xml
deleted file mode 100644
index 43e72ca406..0000000000
--- a/tools/regression/xsl_reports/empty_expected_results.xml
+++ /dev/null
@@ -1,5 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<root>
-<expected-failures>
-</expected-failures>
-</root> \ No newline at end of file
diff --git a/tools/regression/xsl_reports/make_snapshot.py b/tools/regression/xsl_reports/make_snapshot.py
deleted file mode 100644
index b060a10406..0000000000
--- a/tools/regression/xsl_reports/make_snapshot.py
+++ /dev/null
@@ -1,174 +0,0 @@
-
-# Copyright (c) MetaCommunications, Inc. 2003-2007
-#
-# Distributed under the Boost Software License, Version 1.0.
-# (See accompanying file LICENSE_1_0.txt or copy at
-# http://www.boost.org/LICENSE_1_0.txt)
-
-import tarfile
-import shutil
-import time
-import os.path
-import string
-import sys
-import traceback
-
-
-def retry( f, args, max_attempts=5, sleep_secs=10 ):
- for attempts in range( max_attempts, -1, -1 ):
- try:
- return f( *args )
- except Exception, msg:
- utils.log( '%s failed with message "%s"' % ( f.__name__, msg ) )
- if attempts == 0:
- utils.log( 'Giving up.' )
- raise
-
- utils.log( 'Retrying (%d more attempts).' % attempts )
- time.sleep( sleep_secs )
-
-
-def rmtree( path ):
- if os.path.exists( path ):
- if sys.platform == 'win32':
- os.system( 'del /f /s /q "%s" >nul 2>&1' % path )
- shutil.rmtree( path )
- else:
- os.system( 'rm -f -r "%s"' % path )
-
-
-def svn_command( command ):
- utils.log( 'Executing SVN command "%s"' % command )
- rc = os.system( command )
- if rc != 0:
- raise Exception( 'SVN command "%s" failed with code %d' % ( command, rc ) )
-
-
-def svn_export( sources_dir, user, tag ):
- if user is None or user == 'anonymous':
- command = 'svn export --force http://svn.boost.org/svn/boost/%s %s' % ( tag, sources_dir )
- else:
- command = 'svn export --force --non-interactive --username=%s https://svn.boost.org/svn/boost/%s %s' \
- % ( user, tag, sources_dir )
-
- os.chdir( os.path.basename( sources_dir ) )
- retry(
- svn_command
- , ( command, )
- )
-
-
-def make_tarball(
- working_dir
- , tag
- , user
- , site_dir
- ):
- timestamp = time.time()
- timestamp_suffix = time.strftime( '%y-%m-%d-%H%M', time.gmtime( timestamp ) )
-
- tag_suffix = tag.split( '/' )[-1]
- sources_dir = os.path.join(
- working_dir
- , 'boost-%s-%s' % ( tag_suffix, timestamp_suffix )
- )
-
- if os.path.exists( sources_dir ):
- utils.log( 'Directory "%s" already exists, cleaning it up...' % sources_dir )
- rmtree( sources_dir )
-
- try:
- os.mkdir( sources_dir )
- utils.log( 'Exporting files from SVN...' )
- svn_export( sources_dir, user, tag )
- except:
- utils.log( 'Cleaning up...' )
- rmtree( sources_dir )
- raise
-
-
- tarball_name = 'boost-%s.tar.bz2' % tag_suffix
- tarball_path = os.path.join( working_dir, tarball_name )
-
- utils.log( 'Archiving "%s" to "%s"...' % ( sources_dir, tarball_path ) )
- tar = tarfile.open( tarball_path, 'w|bz2' )
- tar.posix = False # see http://tinyurl.com/4ebd8
-
- tar.add( sources_dir, os.path.basename( sources_dir ) )
- tar.close()
-
- tarball_timestamp_path = os.path.join( working_dir, 'boost-%s.timestamp' % tag_suffix )
-
- utils.log( 'Writing timestamp into "%s"...' % tarball_timestamp_path )
- timestamp_file = open( tarball_timestamp_path, 'w' )
- timestamp_file.write( '%f' % timestamp )
- timestamp_file.close()
-
- md5sum_path = os.path.join( working_dir, 'boost-%s.md5' % tag_suffix )
- utils.log( 'Writing md5 checksum into "%s"...' % md5sum_path )
- old_dir = os.getcwd()
- os.chdir( os.path.dirname( tarball_path ) )
- os.system( 'md5sum -b "%s" >"%s"' % ( os.path.basename( tarball_path ), md5sum_path ) )
- os.chdir( old_dir )
-
- if site_dir is not None:
- utils.log( 'Moving "%s" to the site location "%s"...' % ( tarball_name, site_dir ) )
- temp_site_dir = os.path.join( site_dir, 'temp' )
- if not os.path.exists( temp_site_dir ):
- os.mkdir( temp_site_dir )
-
- shutil.move( tarball_path, temp_site_dir )
- shutil.move( os.path.join( temp_site_dir, tarball_name ), site_dir )
- shutil.move( tarball_timestamp_path, site_dir )
- shutil.move( md5sum_path, site_dir )
- utils.log( 'Removing "%s"...' % sources_dir )
- rmtree( sources_dir )
-
-
-def accept_args( args ):
- args_spec = [
- 'working-dir='
- , 'tag='
- , 'user='
- , 'site-dir='
- , 'mail='
- , 'help'
- ]
-
- options = {
- '--tag': 'trunk'
- , '--user': None
- , '--site-dir': None
- }
-
- utils.accept_args( args_spec, args, options, usage )
-
- return (
- options[ '--working-dir' ]
- , options[ '--tag' ]
- , options[ '--user' ]
- , options[ '--site-dir' ]
- )
-
-
-def usage():
- print 'Usage: %s [options]' % os.path.basename( sys.argv[0] )
- print '''
-\t--working-dir working directory
-\t--tag snapshot tag (i.e. 'trunk')
-\t--user Boost SVN user ID (optional)
-\t--site-dir site directory to copy the snapshot to (optional)
-'''
-
-def main():
- make_tarball( *accept_args( sys.argv[ 1: ] ) )
-
-if __name__ != '__main__': import utils
-else:
- # in absense of relative import...
- xsl_path = os.path.abspath( os.path.dirname( sys.argv[ 0 ] ) )
- while os.path.basename( xsl_path ) != 'xsl_reports': xsl_path = os.path.dirname( xsl_path )
- sys.path.append( xsl_path )
-
- import utils
- main()
diff --git a/tools/regression/xsl_reports/report.py b/tools/regression/xsl_reports/report.py
deleted file mode 100644
index 75ee1b31bc..0000000000
--- a/tools/regression/xsl_reports/report.py
+++ /dev/null
@@ -1,371 +0,0 @@
-
-# Copyright (c) MetaCommunications, Inc. 2003-2004
-#
-# Distributed under the Boost Software License, Version 1.0.
-# (See accompanying file LICENSE_1_0.txt or copy at
-# http://www.boost.org/LICENSE_1_0.txt)
-
-import shutil
-import os.path
-import os
-import string
-import time
-import sys
-
-import utils
-import runner
-
-
-report_types = [ 'us', 'ds', 'ud', 'dd', 'l', 'p', 'x', 'i', 'n', 'ddr', 'dsr' ]
-
-if __name__ == '__main__':
- run_dir = os.path.abspath( os.path.dirname( sys.argv[ 0 ] ) )
-else:
- run_dir = os.path.abspath( os.path.dirname( sys.modules[ __name__ ].__file__ ) )
-
-
-def map_path( path ):
- return os.path.join( run_dir, path )
-
-
-def xsl_path( xsl_file_name, v2 = 0 ):
- if v2:
- return map_path( os.path.join( 'xsl/v2', xsl_file_name ) )
- else:
- return map_path( os.path.join( 'xsl', xsl_file_name ) )
-
-
-def make_result_pages(
- test_results_file
- , expected_results_file
- , failures_markup_file
- , tag
- , run_date
- , comment_file
- , results_dir
- , result_prefix
- , reports
- , v2
- ):
-
- utils.log( 'Producing the reports...' )
- __log__ = 1
-
- output_dir = os.path.join( results_dir, result_prefix )
- utils.makedirs( output_dir )
-
- if comment_file != '':
- comment_file = os.path.abspath( comment_file )
-
- if expected_results_file != '':
- expected_results_file = os.path.abspath( expected_results_file )
- else:
- expected_results_file = os.path.abspath( map_path( 'empty_expected_results.xml' ) )
-
-
- extended_test_results = os.path.join( output_dir, 'extended_test_results.xml' )
- if 'x' in reports:
- utils.log( ' Merging with expected results...' )
- utils.libxslt(
- utils.log
- , test_results_file
- , xsl_path( 'add_expected_results.xsl', v2 )
- , extended_test_results
- , { 'expected_results_file': expected_results_file
- , 'failures_markup_file' : failures_markup_file
- , 'source' : tag }
- )
-
- links = os.path.join( output_dir, 'links.html' )
-
- utils.makedirs( os.path.join( output_dir, 'output' ) )
- for mode in ( 'developer', 'user' ):
- utils.makedirs( os.path.join( output_dir, mode , 'output' ) )
-
- if 'l' in reports:
- utils.log( ' Making test output files...' )
- utils.libxslt(
- utils.log
- , extended_test_results
- , xsl_path( 'links_page.xsl', v2 )
- , links
- , {
- 'source': tag
- , 'run_date': run_date
- , 'comment_file': comment_file
- , 'explicit_markup_file': failures_markup_file
- }
- )
-
-
- issues = os.path.join( output_dir, 'developer', 'issues.html' )
- if 'i' in reports:
- utils.log( ' Making issues list...' )
- utils.libxslt(
- utils.log
- , extended_test_results
- , xsl_path( 'issues_page.xsl', v2 )
- , issues
- , {
- 'source': tag
- , 'run_date': run_date
- , 'comment_file': comment_file
- , 'explicit_markup_file': failures_markup_file
- }
- )
-
- for mode in ( 'developer', 'user' ):
- if mode[0] + 'd' in reports:
- utils.log( ' Making detailed %s report...' % mode )
- utils.libxslt(
- utils.log
- , extended_test_results
- , xsl_path( 'result_page.xsl', v2 )
- , os.path.join( output_dir, mode, 'index.html' )
- , {
- 'links_file': 'links.html'
- , 'mode': mode
- , 'source': tag
- , 'run_date': run_date
- , 'comment_file': comment_file
- , 'expected_results_file': expected_results_file
- , 'explicit_markup_file' : failures_markup_file
- }
- )
-
- for mode in ( 'developer', 'user' ):
- if mode[0] + 's' in reports:
- utils.log( ' Making summary %s report...' % mode )
- utils.libxslt(
- utils.log
- , extended_test_results
- , xsl_path( 'summary_page.xsl', v2 )
- , os.path.join( output_dir, mode, 'summary.html' )
- , {
- 'mode' : mode
- , 'source': tag
- , 'run_date': run_date
- , 'comment_file': comment_file
- , 'explicit_markup_file' : failures_markup_file
- }
- )
-
- if v2 and "ddr" in reports:
- utils.log( ' Making detailed %s release report...' % mode )
- utils.libxslt(
- utils.log
- , extended_test_results
- , xsl_path( 'result_page.xsl', v2 )
- , os.path.join( output_dir, "developer", 'index_release.html' )
- , {
- 'links_file': 'links.html'
- , 'mode': "developer"
- , 'source': tag
- , 'run_date': run_date
- , 'comment_file': comment_file
- , 'expected_results_file': expected_results_file
- , 'explicit_markup_file' : failures_markup_file
- , 'release': "yes"
- }
- )
-
- if v2 and "dsr" in reports:
- utils.log( ' Making summary %s release report...' % mode )
- utils.libxslt(
- utils.log
- , extended_test_results
- , xsl_path( 'summary_page.xsl', v2 )
- , os.path.join( output_dir, "developer", 'summary_release.html' )
- , {
- 'mode' : "developer"
- , 'source': tag
- , 'run_date': run_date
- , 'comment_file': comment_file
- , 'explicit_markup_file' : failures_markup_file
- , 'release': 'yes'
- }
- )
-
- if 'e' in reports:
- utils.log( ' Generating expected_results ...' )
- utils.libxslt(
- utils.log
- , extended_test_results
- , xsl_path( 'produce_expected_results.xsl', v2 )
- , os.path.join( output_dir, 'expected_results.xml' )
- )
-
- if v2 and 'n' in reports:
- utils.log( ' Making runner comment files...' )
- utils.libxslt(
- utils.log
- , extended_test_results
- , xsl_path( 'runners.xsl', v2 )
- , os.path.join( output_dir, 'runners.html' )
- )
-
- shutil.copyfile(
- xsl_path( 'html/master.css', v2 )
- , os.path.join( output_dir, 'master.css' )
- )
-
-
-def build_xsl_reports(
- locate_root_dir
- , tag
- , expected_results_file
- , failures_markup_file
- , comment_file
- , results_dir
- , result_file_prefix
- , dont_collect_logs = 0
- , reports = report_types
- , v2 = 0
- , user = None
- , upload = False
- ):
-
- ( run_date ) = time.strftime( '%Y-%m-%dT%H:%M:%SZ', time.gmtime() )
-
- test_results_file = os.path.join( results_dir, 'test_results.xml' )
- bin_boost_dir = os.path.join( locate_root_dir, 'bin', 'boost' )
-
- if v2:
- import merger
- merger.merge_logs(
- tag
- , user
- , results_dir
- , test_results_file
- , dont_collect_logs
- )
- else:
- utils.log( ' dont_collect_logs: %s' % dont_collect_logs )
- if not dont_collect_logs:
- f = open( test_results_file, 'w+' )
- f.write( '<tests>\n' )
- runner.collect_test_logs( [ bin_boost_dir ], f )
- f.write( '</tests>\n' )
- f.close()
-
- make_result_pages(
- test_results_file
- , expected_results_file
- , failures_markup_file
- , tag
- , run_date
- , comment_file
- , results_dir
- , result_file_prefix
- , reports
- , v2
- )
-
- if v2 and upload:
- upload_dir = 'regression-logs/'
- utils.log( 'Uploading v2 results into "%s" [connecting as %s]...' % ( upload_dir, user ) )
-
- archive_name = '%s.tar.gz' % result_file_prefix
- utils.tar(
- os.path.join( results_dir, result_file_prefix )
- , archive_name
- )
-
- utils.sourceforge.upload( os.path.join( results_dir, archive_name ), upload_dir, user )
- utils.sourceforge.untar( os.path.join( upload_dir, archive_name ), user, background = True )
-
-
-def accept_args( args ):
- args_spec = [
- 'locate-root='
- , 'tag='
- , 'expected-results='
- , 'failures-markup='
- , 'comment='
- , 'results-dir='
- , 'results-prefix='
- , 'dont-collect-logs'
- , 'reports='
- , 'v2'
- , 'user='
- , 'upload'
- , 'help'
- ]
-
- options = {
- '--comment': ''
- , '--expected-results': ''
- , '--failures-markup': ''
- , '--reports': string.join( report_types, ',' )
- , '--tag': None
- , '--user': None
- , 'upload': False
- }
-
- utils.accept_args( args_spec, args, options, usage )
- if not options.has_key( '--results-dir' ):
- options[ '--results-dir' ] = options[ '--locate-root' ]
-
- if not options.has_key( '--results-prefix' ):
- if options.has_key( '--v2' ):
- options[ '--results-prefix' ] = 'all'
- else:
- options[ '--results-prefix' ] = ''
-
- return (
- options[ '--locate-root' ]
- , options[ '--tag' ]
- , options[ '--expected-results' ]
- , options[ '--failures-markup' ]
- , options[ '--comment' ]
- , options[ '--results-dir' ]
- , options[ '--results-prefix' ]
- , options.has_key( '--dont-collect-logs' )
- , options[ '--reports' ].split( ',' )
- , options.has_key( '--v2' )
- , options[ '--user' ]
- , options.has_key( '--upload' )
- )
-
-
-def usage():
- print 'Usage: %s [options]' % os.path.basename( sys.argv[0] )
- print '''
-\t--locate-root the same as --locate-root in compiler_status
-\t--tag the tag for the results (i.e. 'CVS-HEAD')
-\t--expected-results the file with the results to be compared with
-\t the current run
-\t--failures-markup the file with the failures markup
-\t--comment an html comment file (will be inserted in the reports)
-\t--results-dir the directory containing -links.html, -fail.html
-\t files produced by compiler_status (by default the
-\t same as specified in --locate-root)
-\t--results-prefix the prefix of -links.html, -fail.html
-\t files produced by compiler_status
-\t--v2 v2 reports (combine multiple runners results into a
-\t single set of reports)
-
-The following options are valid only for v2 reports:
-
-\t--user SourceForge user name for a shell account
-\t--upload upload v2 reports to SourceForge
-
-The following options are useful in debugging:
-
-\t--dont-collect-logs dont collect the test logs
-\t--reports produce only the specified reports
-\t us - user summary
-\t ds - developer summary
-\t ud - user detailed
-\t dd - developer detailed
-\t l - links
-\t p - patches
-\t x - extended results file
-\t i - issues
-'''
-
-def main():
- build_xsl_reports( *accept_args( sys.argv[ 1 : ] ) )
-
-if __name__ == '__main__':
- main()
diff --git a/tools/regression/xsl_reports/test/common.py b/tools/regression/xsl_reports/test/common.py
deleted file mode 100644
index cd9e5729a2..0000000000
--- a/tools/regression/xsl_reports/test/common.py
+++ /dev/null
@@ -1,165 +0,0 @@
-import xml.sax.saxutils
-import time
-
-def make_test_name( library_idx, test_idx ):
- return "test_%02d_%02d" % ( library_idx, test_idx )
-
-def make_library_name( library_idx ):
- if library_idx % 4 in ( 0, 1 ):
- return "library_%02d/%02d" % ( int( library_idx / 4 ) * 4, library_idx % 4 )
- else:
- return "library_%02d" % library_idx
-
-def make_toolset_name( toolset_idx ):
- return "toolset_%02d" % toolset_idx
-
-def make_library_target_directory( library_idx, toolset_idx, variant = None ):
- base = "lib/%s/%s" % ( make_library_name( library_idx )
- , make_toolset_name( toolset_idx ) )
- if variant is not None:
- return "%s/%s" % ( base, variant )
- else:
- return base
-
-def make_test_target_directory( library_idx, toolset_idx, test_name, variant ):
- base = "%s/%s/%s" % ( make_library_name( library_idx )
- , make_toolset_name( toolset_idx )
- , test_name )
- if variant is not None:
- return "%s/%s" % ( base, variant )
- else:
- return base
-
-def format_timestamp( timestamp ):
- return time.strftime( "%Y-%m-%dT%H:%M:%SZ", timestamp )
-
-def make_test_log( xml_generator
- , library_idx
- , toolset_idx
- , test_name
- , test_type
- , test_result
- , show_run_output
- , variant ):
- library = make_library_name( library_idx )
- toolset_name = make_toolset_name( toolset_idx )
-
- target_directory = ""
- if test_type != "lib":
- target_directory = make_test_target_directory( library_idx, toolset_idx, test_name, variant )
- else:
- target_directory = make_library_target_directory( library_idx, toolset_idx, variant )
-
- xml_generator.startElement( "test-log", { "library": library
- , "test-name": test_name
- , "toolset": toolset_name
- , "test-type": test_type
- , "test-program": "some_program"
- , "target-directory": target_directory
- , "show-run-output": show_run_output
- } )
-
- if test_type != "lib":
-
- if test_result == "success" and ( toolset_idx + 1 ) % 4:
- xml_generator.startElement( "compile", { "result": "success" } );
- xml_generator.characters( "Compiling in %s" % target_directory )
- xml_generator.endElement( "compile" )
-
- if test_type.find( "link" ) == 0 or test_type.find( "run" ) == 0 and toolset_idx % 4:
- xml_generator.startElement( "lib", { "result": test_result } );
- xml_generator.characters( make_library_target_directory( library_idx, toolset_idx ) )
- xml_generator.endElement( "lib" )
-
- xml_generator.startElement( "link", { "result": "success" } );
- xml_generator.characters( "Linking in %s" % target_directory )
- xml_generator.endElement( "link" )
-
- if test_type.find( "run" ) == 0 and ( toolset_idx + 2 ) % 4:
- xml_generator.startElement( "run", { "result": test_result } );
- xml_generator.characters( "Running in %s" % target_directory )
- xml_generator.endElement( "run" )
-
- else:
- xml_generator.startElement( "compile", { "result": test_result } );
- xml_generator.characters( "Compiling in %s" % make_library_target_directory( library_idx, toolset_idx ) )
- xml_generator.endElement( "compile" )
-
-
-
- xml_generator.endElement( "test-log" )
-
-
-def make_expicit_failure_markup( num_of_libs, num_of_toolsets, num_of_tests ):
- g = xml.sax.saxutils.XMLGenerator( open( "explicit-failures-markup.xml", "w" ), "utf-8" )
- g.startDocument()
- g.startElement( "explicit-failures-markup", {} );
-
- # required toolsets
- for i_toolset in range( 0, num_of_toolsets ):
- if i_toolset < 2:
- g.startElement( "mark-toolset", { "name": "toolset_%02d" % i_toolset, "status":"required"} )
- g.endElement( "mark-toolset" )
-
- for i_library in range( 0, num_of_libs ):
- g.startElement( "library", { "name": make_library_name( i_library ) } )
- if i_library % 4 == 0:
- g.startElement( "mark-unusable", {} )
- for i_toolset in range( 0, num_of_toolsets ):
- if i_toolset % 2 == 1:
- g.startElement( "toolset", { "name": make_toolset_name( i_toolset ) } )
- g.endElement( "toolset" )
- g.startElement( "note", { "author": u"T. T\xe8st" } )
- g.characters( "Test note" )
- g.endElement( "note" )
- g.endElement( "mark-unusable" )
-
- for i_test in range( 0, num_of_tests ):
-
- category = 0
- explicitly_marked_failure = 0
- unresearched = 0
-
- if i_test % 2 == 0:
- category = i_test % 3
-
- if i_test % 3 == 0:
- explicitly_marked_failure = 1
- if i_test % 2 == 0:
- unresearched = 1
-
- if category or explicitly_marked_failure:
- test_attrs = { "name": make_test_name( i_library, i_test ) }
- if category:
- test_attrs[ "category" ] = "Category %s" % category
- g.startElement( "test", test_attrs )
- if explicitly_marked_failure:
- failure_attrs = {}
- if unresearched: failure_attrs[ "reason" ] = "not-researched"
-
- g.startElement( "mark-failure", failure_attrs )
-
- g.startElement( "toolset", { "name": make_toolset_name( 1 ) } )
- g.endElement( "toolset" )
- g.startElement( "toolset", { "name": make_toolset_name( 0 ) } )
- g.endElement( "toolset" )
- g.startElement( "toolset", { "name": make_toolset_name( 2 ) } )
- g.endElement( "toolset" )
-
- g.startElement( "note", { "author": u"V. Ann\xf3tated" } )
- g.characters( "Some thoughtful note" )
- g.endElement( "note" )
-
- g.endElement( "mark-failure" )
-
- g.endElement( "test" );
- g.endElement( "library" )
-
-
- g.endElement( "explicit-failures-markup" )
- g.endDocument()
-
-
-def make_expected_results( num_of_libs, num_of_toolsets, num_of_tests ):
- pass
-
diff --git a/tools/regression/xsl_reports/test/expected_results.xml b/tools/regression/xsl_reports/test/expected_results.xml
deleted file mode 100644
index d9fdd26cc9..0000000000
--- a/tools/regression/xsl_reports/test/expected_results.xml
+++ /dev/null
@@ -1,3 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<expected-failures>
-</expected-failures>
diff --git a/tools/regression/xsl_reports/test/generate_test_results.py b/tools/regression/xsl_reports/test/generate_test_results.py
deleted file mode 100644
index ba6a7ee39f..0000000000
--- a/tools/regression/xsl_reports/test/generate_test_results.py
+++ /dev/null
@@ -1,160 +0,0 @@
-#
-# Generates test test results for testing of boost_wide_report.py
-#
-import common
-import xml.sax.saxutils
-
-import os
-import time
-
-num_of_libs = 5
-num_of_runners = 5
-num_of_toolsets = 3
-num_of_tests = 10
-
-results_directory = "results/incoming/CVS-HEAD/processed"
-
-
-# Generated results follow the rules:
-#
-# * odd runners are testing on Win32, even runners are testin on Unix
-# * the third toolset has 2 variants
-#
-
-# Generated expected markup:
-#
-# * First two toolset are required
-# * Every fourth library is unusable on event toolsets
-# * Last two tests are corner-ase tests
-# * Every 4th test is explicitly marked up as expected-failure
-
-
-def library_build_failed( library_idx ):
- return library_idx % 2
-
-def test_run_source( runner_idx ):
- if runner_idx % 2: return "tarball"
- else: return "cvs head"
-
-def test_run_type( runner_idx ):
- if runner_idx % 2: return "incremental"
- else: return "full"
-
-
-def test_type( i ):
- types = [ "compile", "compile_fail", "link", "link_fail", "run", "run_fail", "run_pyd" ]
- return types[ i % len( types) ]
-
-
-def make_test_results():
- if not os.path.exists( results_directory ):
- os.makedirs( results_directory )
-
- for i_runner in range( 0, num_of_runners ):
- runner_id = "runner %02d" % i_runner
- g = xml.sax.saxutils.XMLGenerator( open( os.path.join( results_directory, runner_id + ".xml" ), "w" ), "utf-8" )
- g.startDocument()
- if i_runner % 2:
- platform = "Win32"
- else:
- platform = "Unix"
-
- g.startElement( "test-run", { "platform": platform
- , "runner": runner_id
- , "timestamp": common.format_timestamp(
- time.gmtime( time.time() - i_runner * 24*60*60 )
- )
- , "revision": '%d' % ( 7000 + i_runner )
- , "source": test_run_source( i_runner )
- , "run-type": test_run_type( i_runner )
- } )
-
- g.startElement( "comment", {} )
- g.characters( "<b>Runner</b> is who <i>running</i> does." )
- g.endElement( "comment" )
-
- for i_lib in range( 0, num_of_libs ):
- for i_toolset in range( num_of_toolsets ):
- if library_build_failed( i_lib ): test_result = "fail"
- else: test_result = "success"
-
- common.make_test_log( xml_generator = g
- , library_idx = i_lib
- , toolset_idx = i_toolset
- , test_name = ""
- , test_type = "lib"
- , test_result = test_result
- , show_run_output = "false"
- , variant = None )
-
-
- for i_lib in range( 0, num_of_libs ):
- library_name = "library_%02d" % i_lib
- if num_of_runners - 1 == i_runner and i_lib % 2:
- continue
-
- for i_toolset in range( num_of_toolsets ):
- toolset_name = "toolset %02d" % ( i_toolset )
-
- if num_of_runners - 1 == i_runner and i_toolset % 2:
- continue
-
- for i_test in range( num_of_tests ):
- test_name = "test_%02d_%02d" % ( i_lib, i_test )
- test_result = ""
- show_run_output = "false"
-
- if num_of_runners - 1 == i_runner and i_test % 2:
- continue
-
- if i_runner % 2: test_result = "success"
- else: test_result = "fail"
-
- if i_runner == 1 and i_toolset == 2 and i_test % 6 == 0:
- test_result = "fail"
-
- if test_result == "success" and ( 0 == i_test % 5 ):
- show_run_output = "true"
-
- if i_toolset == 2:
- variants = [ "static-lib", "shared-lib" ]
- else:
- variants = [ None ]
-
- for variant in variants:
- common.make_test_log( xml_generator = g
- , library_idx = i_lib
- , toolset_idx = i_toolset
- , test_name = test_name
- , test_type = test_type( i_test )
- , test_result = test_result
- , show_run_output = show_run_output
- , variant = variant )
- g.endElement( "test-run" )
- g.endDocument()
-
-
-
-## <test-log library="algorithm" test-name="container" test-type="run" test-program="libs/algorithm/string/test/container_test.cpp" target-directory="bin/boost/libs/algorithm/string/test/container.test/borland-5.6.4/debug" toolset="borland-5.6.4" show-run-output="false">
-## <compile result="fail" timestamp="2004-06-29 17:02:27 UTC">
-
-## "C:\Progra~1\Borland\CBuilder6\bin\bcc32" -j5 -g255 -q -c -P -w -Ve -Vx -a8 -b- -v -Od -vi- -tWC -tWR -tWC -WM- -DBOOST_ALL_NO_LIB=1 -w-8001 -I"C:\Users\Administrator\boost\main\results\bin\boost\libs\algorithm\string\test" -I"C:\Users\Administrator\boost\main\boost" -I"C:\Progra~1\Borland\CBuilder6\include" -o"C:\Users\Administrator\boost\main\results\bin\boost\libs\algorithm\string\test\container.test\borland-5.6.4\debug\container_test.obj" "..\libs\algorithm\string\test\container_test.cpp"
-
-## ..\libs\algorithm\string\test\container_test.cpp:
-## Warning W8091 C:\Users\Administrator\boost\main\boost\libs/test/src/unit_test_result.cpp 323: template argument _InputIter passed to 'for_each' is a output iterator: input iterator required in function unit_test_result::~unit_test_result()
-## Warning W8091 C:\Users\Administrator\boost\main\boost\libs/test/src/unit_test_suite.cpp 63: template argument _InputIter passed to 'find_if' is a output iterator: input iterator required in function test_case::Impl::check_dependencies()
-## Warning W8091 C:\Users\Administrator\boost\main\boost\libs/test/src/unit_test_suite.cpp 204: template argument _InputIter passed to 'for_each' is a output iterator: input iterator required in function test_suite::~test_suite()
-## Error E2401 C:\Users\Administrator\boost\main\boost\boost/algorithm/string/finder.hpp 45: Invalid template argument list
-## Error E2040 C:\Users\Administrator\boost\main\boost\boost/algorithm/string/finder.hpp 46: Declaration terminated incorrectly
-## Error E2090 C:\Users\Administrator\boost\main\boost\boost/algorithm/string/finder.hpp 277: Qualifier 'algorithm' is not a class or namespace name
-## Error E2272 C:\Users\Administrator\boost\main\boost\boost/algorithm/string/finder.hpp 277: Identifier expected
-## Error E2090 C:\Users\Administrator\boost\main\boost\boost/algorithm/string/finder.hpp 278: Qualifier 'algorithm' is not a class or namespace name
-## Error E2228 C:\Users\Administrator\boost\main\boost\boost/algorithm/string/finder.hpp 278: Too many error or warning messages
-## *** 6 errors in Compile ***
-## </compile>
-## </test-log>
-
-
-make_test_results()
-common.make_expicit_failure_markup( num_of_libs, num_of_toolsets, num_of_tests )
-
diff --git a/tools/regression/xsl_reports/test/generate_test_results_v1.py b/tools/regression/xsl_reports/test/generate_test_results_v1.py
deleted file mode 100644
index 0f7f8f796a..0000000000
--- a/tools/regression/xsl_reports/test/generate_test_results_v1.py
+++ /dev/null
@@ -1,85 +0,0 @@
-import xml.sax.saxutils
-
-import common
-
-import os
-import time
-
-num_of_libs = 2
-num_of_toolsets = 3
-num_of_tests = 10
-
-tag = "1_30_0"
-
-def library_build_failed( library_idx ):
- return library_idx % 2
-
-def make_test_results():
- if not os.path.exists( tag ):
- os.makedirs( tag )
-
- g = xml.sax.saxutils.XMLGenerator( open( os.path.join( tag, "test.xml" ), "w" ) )
- platform = "Win32"
- g.startElement( "test-results", {} )
-
- for i_lib in range( 0, num_of_libs ):
- for i_toolset in range( num_of_toolsets ):
- if library_build_failed( i_lib ): test_result = "fail"
- else: test_result = "success"
-
- common.make_test_log( xml_generator = g
- , library_idx = i_lib
- , toolset_idx = i_toolset
- , test_name = ""
- , test_type = "lib"
- , test_result = test_result
- , show_run_output = "false" )
-
-
- for i_lib in range( 0, num_of_libs ):
- library_name = "library_%02d" % i_lib
-
- for i_toolset in range( num_of_toolsets ):
- toolset_name = "toolset_%02d" % ( i_toolset )
-
- for i_test in range( num_of_tests ):
- test_name = "test_%02d_%02d" % ( i_lib, i_test )
- test_result = ""
- test_type = "run"
- show_run_output = "false"
-
- if i_lib % 2: test_result = "success"
- else: test_result = "fail"
-
- if test_result == "success" and ( 0 == i_test % 5 ):
- show_run_output = "true"
-
- common.make_test_log( g, i_lib, i_toolset, test_name, test_type, test_result, show_run_output )
-
- g.endElement( "test-results" )
-
-
-
-
-## <test-log library="algorithm" test-name="container" test-type="run" test-program="libs/algorithm/string/test/container_test.cpp" target-directory="bin/boost/libs/algorithm/string/test/container.test/borland-5.6.4/debug" toolset="borland-5.6.4" show-run-output="false">
-## <compile result="fail" timestamp="2004-06-29 17:02:27 UTC">
-
-## "C:\Progra~1\Borland\CBuilder6\bin\bcc32" -j5 -g255 -q -c -P -w -Ve -Vx -a8 -b- -v -Od -vi- -tWC -tWR -tWC -WM- -DBOOST_ALL_NO_LIB=1 -w-8001 -I"C:\Users\Administrator\boost\main\results\bin\boost\libs\algorithm\string\test" -I"C:\Users\Administrator\boost\main\boost" -I"C:\Progra~1\Borland\CBuilder6\include" -o"C:\Users\Administrator\boost\main\results\bin\boost\libs\algorithm\string\test\container.test\borland-5.6.4\debug\container_test.obj" "..\libs\algorithm\string\test\container_test.cpp"
-
-## ..\libs\algorithm\string\test\container_test.cpp:
-## Warning W8091 C:\Users\Administrator\boost\main\boost\libs/test/src/unit_test_result.cpp 323: template argument _InputIter passed to 'for_each' is a output iterator: input iterator required in function unit_test_result::~unit_test_result()
-## Warning W8091 C:\Users\Administrator\boost\main\boost\libs/test/src/unit_test_suite.cpp 63: template argument _InputIter passed to 'find_if' is a output iterator: input iterator required in function test_case::Impl::check_dependencies()
-## Warning W8091 C:\Users\Administrator\boost\main\boost\libs/test/src/unit_test_suite.cpp 204: template argument _InputIter passed to 'for_each' is a output iterator: input iterator required in function test_suite::~test_suite()
-## Error E2401 C:\Users\Administrator\boost\main\boost\boost/algorithm/string/finder.hpp 45: Invalid template argument list
-## Error E2040 C:\Users\Administrator\boost\main\boost\boost/algorithm/string/finder.hpp 46: Declaration terminated incorrectly
-## Error E2090 C:\Users\Administrator\boost\main\boost\boost/algorithm/string/finder.hpp 277: Qualifier 'algorithm' is not a class or namespace name
-## Error E2272 C:\Users\Administrator\boost\main\boost\boost/algorithm/string/finder.hpp 277: Identifier expected
-## Error E2090 C:\Users\Administrator\boost\main\boost\boost/algorithm/string/finder.hpp 278: Qualifier 'algorithm' is not a class or namespace name
-## Error E2228 C:\Users\Administrator\boost\main\boost\boost/algorithm/string/finder.hpp 278: Too many error or warning messages
-## *** 6 errors in Compile ***
-## </compile>
-## </test-log>
-
-
-make_test_results( )
-common.make_expicit_failure_markup( num_of_libs, num_of_toolsets, num_of_tests )
diff --git a/tools/regression/xsl_reports/test/restrict_to_library.xsl b/tools/regression/xsl_reports/test/restrict_to_library.xsl
deleted file mode 100644
index 8de3354d84..0000000000
--- a/tools/regression/xsl_reports/test/restrict_to_library.xsl
+++ /dev/null
@@ -1,36 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
- version="1.0">
-
- <xsl:output method="xml" encoding="ascii"/>
- <xsl:param name="library"/>
-
-
- <xsl:template match="/">
- <xsl:message>
- <xsl:value-of select="$library"/>
- </xsl:message>
- <xsl:apply-templates/>
- </xsl:template>
-
- <xsl:template match="*">
- <xsl:copy>
- <xsl:apply-templates select="@*"/>
- <xsl:apply-templates />
- </xsl:copy>
- </xsl:template>
-
- <xsl:template match="test-log">
- <xsl:if test="@library=$library">
- <xsl:copy>
- <xsl:apply-templates select="@*"/>
- <xsl:apply-templates/>
- </xsl:copy>
- </xsl:if>
- </xsl:template>
-
- <xsl:template match="@*">
- <xsl:copy-of select="."/>
- </xsl:template>
-
-</xsl:stylesheet>
diff --git a/tools/regression/xsl_reports/test/run_notes_regression.py b/tools/regression/xsl_reports/test/run_notes_regression.py
deleted file mode 100644
index 884dcfe9db..0000000000
--- a/tools/regression/xsl_reports/test/run_notes_regression.py
+++ /dev/null
@@ -1,32 +0,0 @@
-import sys
-
-sys.path.append( '..' )
-
-import os
-
-import report
-import merger
-import utils
-
-
-tag = "1_32_0"
-
-# utils.makedirs( "results" )
-
-all_xml_file = "a.xml"
-
-report.make_result_pages(
- test_results_file = os.path.abspath( all_xml_file )
- , expected_results_file = ""
- , failures_markup_file = os.path.abspath( "../../../../status/explicit-failures-markup.xml" )
- , tag = tag
- , run_date = "Today date"
- , comment_file = os.path.abspath( "comment.html" )
- , results_dir = "results"
- , result_prefix = ""
- , reports = [ "dd" ]
- , v2 = 1
- )
-
-
-
diff --git a/tools/regression/xsl_reports/test/run_v1.py b/tools/regression/xsl_reports/test/run_v1.py
deleted file mode 100644
index a995ed635d..0000000000
--- a/tools/regression/xsl_reports/test/run_v1.py
+++ /dev/null
@@ -1,35 +0,0 @@
-import sys
-
-sys.path.append( '..' )
-
-import os
-
-import report
-import merger
-import utils
-
-
-tag = "1_30_0"
-
-utils.makedirs( "results" )
-
-all_xml_file = "results/all.xml"
-all_xml_writer = open( all_xml_file, "w" )
-merger.merge_test_runs( ".", tag, all_xml_writer )
-all_xml_writer.close()
-
-report.make_result_pages(
- test_results_file = os.path.abspath( all_xml_file )
- , expected_results_file = ""
- , failures_markup_file = os.path.abspath( "explicit-failures-markup.xml" )
- , source = tag
- , run_date = "Today date"
- , comment_file = os.path.abspath( "comment.html" )
- , results_dir = os.path.abspath( "results" )
- , result_prefix = ""
- , reports = [ "l", "dd" ]
- , v2 = 0
- )
-
-
-
diff --git a/tools/regression/xsl_reports/test/test.py b/tools/regression/xsl_reports/test/test.py
deleted file mode 100644
index 1378586c1d..0000000000
--- a/tools/regression/xsl_reports/test/test.py
+++ /dev/null
@@ -1,34 +0,0 @@
-import sys
-
-sys.path.append( '..' )
-
-import os
-
-import boost_wide_report
-import common
-import utils
-import shutil
-import time
-
-tag = "CVS-HEAD"
-
-if os.path.exists( "results/incoming/CVS-HEAD/processed/merged" ):
- shutil.rmtree( "results/incoming/CVS-HEAD/processed/merged" )
-
-boost_wide_report.ftp_task = lambda ftp_site, site_path, incoming_dir: 1
-boost_wide_report.unzip_archives_task = lambda incoming_dir, processed_dir, unzip: 1
-
-boost_wide_report.execute_tasks(
- tag = tag
- , user = None
- , run_date = common.format_timestamp( time.gmtime() )
- , comment_file = os.path.abspath( "comment.html" )
- , results_dir = os.path.abspath( "results" )
- , output_dir = os.path.abspath( "output" )
- , reports = [ "i", "x", "ds", "dd", "dsr", "ddr", "us", "ud", "usr", "udr" ]
- , warnings = [ 'Warning text 1', 'Warning text 2' ]
- , extended_test_results = os.path.abspath( "output/extended_test_results.xml" )
- , dont_collect_logs = 1
- , expected_results_file = os.path.abspath( "expected_results.xml" )
- , failures_markup_file = os.path.abspath( "explicit-failures-markup.xml" )
- )
diff --git a/tools/regression/xsl_reports/test/test_boost_wide_report.py b/tools/regression/xsl_reports/test/test_boost_wide_report.py
deleted file mode 100644
index f7d52fc2ff..0000000000
--- a/tools/regression/xsl_reports/test/test_boost_wide_report.py
+++ /dev/null
@@ -1,36 +0,0 @@
-import unittest
-import sys
-import time
-
-sys.path.append( ".." )
-
-import boost_wide_report
-
-class test_boost_wide_report(unittest.TestCase):
- def test_diff( self ):
- test_cases = [
- ( []
- , []
- , ( [], [] ) )
- , ( [ boost_wide_report.file_info( "a", 1, time.localtime( 0 ) ) ]
- , []
- , ( [ "a" ], [] ) )
- , ( []
- , [ boost_wide_report.file_info( "a", 1, time.localtime( 0 ) ) ]
- , ( [], [ "a" ] ) )
- , ( [ boost_wide_report.file_info( "a", 1, time.localtime( 0 ) ) ]
- , [ boost_wide_report.file_info( "a", 1, time.localtime( 1 ) ) ]
- , ( [ "a" ], [] ) )
- ]
-
- for test_case in test_cases:
- source_dir_content = test_case[0]
- destination_dir_content = test_case[1]
- expected_result = test_case[2]
- d = boost_wide_report.diff( source_dir_content, destination_dir_content )
- self.failUnlessEqual( d, expected_result )
-
-if __name__ == '__main__':
- unittest.main()
-
-
diff --git a/tools/regression/xsl_reports/test_results.xsd b/tools/regression/xsl_reports/test_results.xsd
deleted file mode 100644
index bd54208488..0000000000
--- a/tools/regression/xsl_reports/test_results.xsd
+++ /dev/null
@@ -1,107 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified">
- <!--
- The following online services can be used to validate collected test results:
-
- - http://apps.gotdotnet.com/xmltools/xsdvalidator/
- - http://tools.decisionsoft.com/schemaValidate.html
- -->
-
- <xs:simpleType name="test_result">
- <xs:restriction base="xs:NMTOKEN">
- <xs:enumeration value="fail"/>
- <xs:enumeration value="succeed"/>
- </xs:restriction>
- </xs:simpleType>
-
- <xs:simpleType name="run_test_result">
- <xs:restriction base="xs:NMTOKEN">
- <xs:enumeration value="fail"/>
- <xs:enumeration value="succeed"/>
- <xs:enumeration value="note"/>
- </xs:restriction>
- </xs:simpleType>
-
- <xs:simpleType name="test_type">
- <xs:restriction base="xs:NMTOKEN">
- <xs:enumeration value="compile"/>
- <xs:enumeration value="compile_fail"/>
- <xs:enumeration value="lib"/>
- <xs:enumeration value="pyd"/>
- <xs:enumeration value="run"/>
- <xs:enumeration value="run_fail"/>
- <xs:enumeration value="run_pyd"/>
- </xs:restriction>
- </xs:simpleType>
-
- <xs:element name="compile">
- <xs:complexType>
- <xs:simpleContent>
- <xs:extension base="xs:string">
- <xs:attribute name="result" type="test_result" use="required"/>
- <xs:attribute name="timestamp" type="xs:string" use="required"/>
- </xs:extension>
- </xs:simpleContent>
- </xs:complexType>
- </xs:element>
-
- <xs:element name="link">
- <xs:complexType>
- <xs:simpleContent>
- <xs:extension base="xs:string">
- <xs:attribute name="result" type="test_result" use="required"/>
- <xs:attribute name="timestamp" type="xs:string" use="required"/>
- </xs:extension>
- </xs:simpleContent>
- </xs:complexType>
- </xs:element>
-
- <xs:element name="lib">
- <xs:complexType>
- <xs:simpleContent>
- <xs:extension base="xs:string">
- <xs:attribute name="result" type="test_result" use="required"/>
- <xs:attribute name="timestamp" type="xs:string" use="required"/>
- </xs:extension>
- </xs:simpleContent>
- </xs:complexType>
- </xs:element>
-
- <xs:element name="run">
- <xs:complexType>
- <xs:simpleContent>
- <xs:extension base="xs:string">
- <xs:attribute name="result" type="run_test_result" use="required"/>
- <xs:attribute name="timestamp" type="xs:string" use="required"/>
- </xs:extension>
- </xs:simpleContent>
- </xs:complexType>
- </xs:element>
-
- <xs:element name="test-log">
- <xs:complexType>
- <xs:sequence>
- <xs:element ref="compile" minOccurs="0"/>
- <xs:element ref="link" minOccurs="0"/>
- <xs:element ref="run" minOccurs="0"/>
- <xs:element ref="lib" minOccurs="0"/>
- </xs:sequence>
- <xs:attribute name="library" type="xs:string" use="required"/>
- <xs:attribute name="test-name" type="xs:string" use="required"/>
- <xs:attribute name="test-type" type="test_type" use="required"/>
- <xs:attribute name="test-program" type="xs:string" use="required"/>
- <xs:attribute name="target-directory" type="xs:string" use="required"/>
- <xs:attribute name="toolset" type="xs:string" use="required"/>
- <xs:attribute name="show-run-output" type="xs:boolean" use="required"/>
- </xs:complexType>
- </xs:element>
-
- <xs:element name="tests">
- <xs:complexType>
- <xs:sequence>
- <xs:element ref="test-log" maxOccurs="unbounded"/>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
-
-</xs:schema>
diff --git a/tools/regression/xsl_reports/utils/__init__.py b/tools/regression/xsl_reports/utils/__init__.py
deleted file mode 100644
index 6d542083d9..0000000000
--- a/tools/regression/xsl_reports/utils/__init__.py
+++ /dev/null
@@ -1,13 +0,0 @@
-
-from accept_args import *
-from char_translation_table import *
-from check_existance import *
-from checked_system import *
-from libxslt import *
-from log import *
-from makedirs import *
-from rename import *
-from tar import *
-from zip import *
-
-import sourceforge
diff --git a/tools/regression/xsl_reports/utils/accept_args.py b/tools/regression/xsl_reports/utils/accept_args.py
deleted file mode 100644
index b08739f40b..0000000000
--- a/tools/regression/xsl_reports/utils/accept_args.py
+++ /dev/null
@@ -1,30 +0,0 @@
-
-import getopt
-import re
-import sys
-
-def accept_args( args_spec, args, options, usage ):
-
- defaults_num = len(options)
-
- ( option_pairs, rest_args ) = getopt.getopt( args, '', args_spec )
- map( lambda x: options.__setitem__( x[0], x[1] ), option_pairs )
-
- if ( options.has_key( '--help' ) or len( options.keys() ) == defaults_num ):
- usage()
- sys.exit( 1 )
-
- if len( rest_args ) > 0 and rest_args[0][0] == '@':
- f = open( rest_args[0][1:], 'r' )
- config_lines = f.read().splitlines()
- f.close()
- for l in config_lines:
- if re.search( r'^\s*#', l ): continue
- if re.search( r'^\s*$', l ): continue
- m = re.match( r'^(?P<name>.*?)=(?P<value>.*)', l )
- if m:
- options[ '--%s' % m.group( 'name' ) ] = m.group( 'value' )
- else:
- raise 'Invalid format of config line "%s"' % l
-
- return rest_args
diff --git a/tools/regression/xsl_reports/utils/char_translation_table.py b/tools/regression/xsl_reports/utils/char_translation_table.py
deleted file mode 100644
index c2d8fb6c95..0000000000
--- a/tools/regression/xsl_reports/utils/char_translation_table.py
+++ /dev/null
@@ -1,13 +0,0 @@
-
-import string
-
-def chr_or_question_mark( c ):
- if chr(c) in string.printable and c < 128 and c not in ( 0x09, 0x0b, 0x0c ):
- return chr(c)
- else:
- return '?'
-
-char_translation_table = string.maketrans(
- ''.join( map( chr, range(0, 256) ) )
- , ''.join( map( chr_or_question_mark, range(0, 256) ) )
- )
diff --git a/tools/regression/xsl_reports/utils/check_existance.py b/tools/regression/xsl_reports/utils/check_existance.py
deleted file mode 100644
index 9e3d0e7b21..0000000000
--- a/tools/regression/xsl_reports/utils/check_existance.py
+++ /dev/null
@@ -1,9 +0,0 @@
-
-import os
-
-def check_existance( name ):
- a = os.popen( '%s --version' % name )
- output = a.read()
- rc = a.close()
- if rc is not None:
- raise Exception( '"%s" is required' % name )
diff --git a/tools/regression/xsl_reports/utils/checked_system.py b/tools/regression/xsl_reports/utils/checked_system.py
deleted file mode 100644
index bdb8e8f8e6..0000000000
--- a/tools/regression/xsl_reports/utils/checked_system.py
+++ /dev/null
@@ -1,22 +0,0 @@
-
-import os
-import string
-import sys
-
-def system( commands ):
- if sys.platform == 'win32':
- f = open( 'tmp.cmd', 'w' )
- f.write( string.join( commands, '\n' ) )
- f.close()
- rc = os.system( 'tmp.cmd' )
- return rc
- else:
- rc = os.system( '&&'.join( commands ) )
- return rc
-
-
-def checked_system( commands, valid_return_codes = [ 0 ] ):
- rc = system( commands )
- if rc not in [ 0 ] + valid_return_codes:
- raise Exception( 'Command sequence "%s" failed with return code %d' % ( commands, rc ) )
- return rc
diff --git a/tools/regression/xsl_reports/utils/libxslt.py b/tools/regression/xsl_reports/utils/libxslt.py
deleted file mode 100644
index d9184100e2..0000000000
--- a/tools/regression/xsl_reports/utils/libxslt.py
+++ /dev/null
@@ -1,49 +0,0 @@
-
-# Copyright (c) MetaCommunications, Inc. 2003-2007
-#
-# Distributed under the Boost Software License, Version 1.0.
-# (See accompanying file LICENSE_1_0.txt or copy at
-# http://www.boost.org/LICENSE_1_0.txt)
-
-import utils.makedirs
-import utils.rename
-import os.path
-import os
-import sys
-
-
-def xslt_param( path, replace_spaces = 1 ):
- path = path.replace( '\\', '/' )
- if sys.platform == 'win32' and replace_spaces:
- path = path.replace( ' ', '%20' )
- return path
-
-
-def libxslt( log, xml_file, xsl_file, output_file, parameters = None ):
-
- utils.makedirs( os.path.dirname( output_file ) )
-
- if sys.platform == 'win32':
- os.chdir( os.path.dirname( xsl_file ) )
-
- transform_command = 'xsltproc'
- transform_command = transform_command + ' -o ' + '"%s"' % xslt_param( output_file )
-
- if parameters is not None:
- for i in parameters:
- if parameters[i]:
- parameters[i] = xslt_param( parameters[i] )
- transform_command = transform_command + ' --param %s "\'%s\'" ' % ( i, parameters[ i ] )
-
- transform_command = transform_command + ' "%s" ' % xslt_param( xsl_file )
- transform_command = transform_command + ' "%s" ' % xslt_param( xml_file )
- log( transform_command )
- rc = os.system( transform_command )
- if rc != 0:
- raise Exception( '"%s" failed with return code %d' % ( transform_command, rc ) )
-
- output_file = xslt_param( output_file, 0 )
- xlst_output_file = xslt_param( output_file )
- if output_file != xlst_output_file and os.path.exists( xlst_output_file ):
- utils.rename( log, xlst_output_file, output_file )
-
diff --git a/tools/regression/xsl_reports/utils/log.py b/tools/regression/xsl_reports/utils/log.py
deleted file mode 100644
index 28b1366f88..0000000000
--- a/tools/regression/xsl_reports/utils/log.py
+++ /dev/null
@@ -1,18 +0,0 @@
-
-import inspect
-import sys
-
-def log_level():
- frames = inspect.stack()
- level = 0
- for i in frames[ 3: ]:
- if i[0].f_locals.has_key( '__log__' ):
- level = level + i[0].f_locals[ '__log__' ]
- return level
-
-
-def stdlog( message ):
- sys.stderr.write( '# ' + ' ' * log_level() + message + '\n' )
- sys.stderr.flush()
-
-log = stdlog
diff --git a/tools/regression/xsl_reports/utils/makedirs.py b/tools/regression/xsl_reports/utils/makedirs.py
deleted file mode 100644
index 94b68d32f1..0000000000
--- a/tools/regression/xsl_reports/utils/makedirs.py
+++ /dev/null
@@ -1,7 +0,0 @@
-
-import os.path
-import os
-
-def makedirs( path ):
- if not os.path.exists( path ):
- os.makedirs( path )
diff --git a/tools/regression/xsl_reports/utils/rename.py b/tools/regression/xsl_reports/utils/rename.py
deleted file mode 100644
index 95fb36ff48..0000000000
--- a/tools/regression/xsl_reports/utils/rename.py
+++ /dev/null
@@ -1,17 +0,0 @@
-
-# Copyright (c) MetaCommunications, Inc. 2003-2007
-#
-# Distributed under the Boost Software License, Version 1.0.
-# (See accompanying file LICENSE_1_0.txt or copy at
-# http://www.boost.org/LICENSE_1_0.txt)
-
-import os.path
-import os
-
-
-def rename( log, src, dst ):
- log( 'Renaming %s to %s' % ( src, dst ) )
- if os.path.exists( dst ):
- os.unlink( dst )
-
- os.rename( src, dst )
diff --git a/tools/regression/xsl_reports/utils/send_mail.py b/tools/regression/xsl_reports/utils/send_mail.py
deleted file mode 100644
index d0ed98fd18..0000000000
--- a/tools/regression/xsl_reports/utils/send_mail.py
+++ /dev/null
@@ -1,13 +0,0 @@
-
-import smtplib
-
-def send_mail( mail, subject, msg = '' ):
- smtp_server = smtplib.SMTP( 'mail.%s' % mail.split( '@' )[-1] )
- smtp_server.sendmail(
- mail
- , [ mail ]
- , 'Subject: %s\n' % subject
- + 'To: %s\n' % mail
- + '\n'
- + msg
- )
diff --git a/tools/regression/xsl_reports/utils/sourceforge.py b/tools/regression/xsl_reports/utils/sourceforge.py
deleted file mode 100644
index 0c6b085286..0000000000
--- a/tools/regression/xsl_reports/utils/sourceforge.py
+++ /dev/null
@@ -1,48 +0,0 @@
-
-import utils.checked_system
-import os
-import sys
-
-site_dir = '/home/groups/b/bo/boost/htdocs/'
-
-def download( source, destination, user ):
- if sys.platform == 'win32':
- destination = os.popen( 'cygpath "%s"' % destination ).read().splitlines()[0]
-
- utils.checked_system( [
- 'rsync -v -r -z --progress %(user)s@shell.sourceforge.net:%(site_dir)s%(source)s %(dest)s'
- % { 'user': user, 'site_dir': site_dir, 'source': source, 'dest': destination }
- ] )
-
-
-def upload( source, destination, user ):
- if sys.platform == 'win32':
- source = os.popen( 'cygpath "%s"' % source ).read().splitlines()[0]
-
- utils.checked_system( [
- 'rsync -v -r -z --progress %(source)s %(user)s@shell.sourceforge.net:%(site_dir)s%(dest)s'
- % { 'user': user, 'site_dir': site_dir, 'source': source, 'dest': destination }
- ] )
-
-
-def checked_system( commands, user, background = False ):
- if not background:
- cmd = 'ssh -l %s shell.sourceforge.net "%s"'
- else:
- cmd = 'ssh -f -l %s shell.sourceforge.net "%s"'
-
- utils.checked_system(
- [ cmd % ( user, '&&'.join( commands ) ) ]
- )
-
-
-def untar( archive, user, background ):
- checked_system(
- [
- 'cd %s' % os.path.join( site_dir, os.path.dirname( archive ) )
- , 'tar -x -z --overwrite --mode=+w -f %s' % os.path.basename( archive )
- , 'rm -f %s' % archive
- ]
- , user = user
- , background = background
- )
diff --git a/tools/regression/xsl_reports/utils/tar.py b/tools/regression/xsl_reports/utils/tar.py
deleted file mode 100644
index 19deb1992b..0000000000
--- a/tools/regression/xsl_reports/utils/tar.py
+++ /dev/null
@@ -1,16 +0,0 @@
-
-import utils.checked_system
-import os.path
-
-def tar( source_dir, archive_name ):
- utils.checked_system( [
- 'cd %s' % source_dir
- , 'tar -c -f ../%s -z *' % archive_name
- ] )
-
-def untar( archive_path ):
- #utils.checked_system( [ 'tar -xjf "%s"' % archive_path ] )
- utils.checked_system( [
- 'cd %s' % os.path.dirname( archive_path )
- , 'tar -xjf "%s"' % os.path.basename( archive_path )
- ] )
diff --git a/tools/regression/xsl_reports/utils/zip.py b/tools/regression/xsl_reports/utils/zip.py
deleted file mode 100644
index 7473aa0051..0000000000
--- a/tools/regression/xsl_reports/utils/zip.py
+++ /dev/null
@@ -1,12 +0,0 @@
-
-import zipfile
-import os.path
-
-def unzip( archive_path, result_dir ):
- z = zipfile.ZipFile( archive_path, 'r', zipfile.ZIP_DEFLATED )
- for f in z.infolist():
- result = open( os.path.join( result_dir, f.filename ), 'wb' )
- result.write( z.read( f.filename ) )
- result.close()
-
- z.close()
diff --git a/tools/regression/xsl_reports/xsl/add_expected_results.xsl b/tools/regression/xsl_reports/xsl/add_expected_results.xsl
deleted file mode 100644
index 6771f0034f..0000000000
--- a/tools/regression/xsl_reports/xsl/add_expected_results.xsl
+++ /dev/null
@@ -1,144 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!--
-
-Copyright MetaCommunications, Inc. 2003-2004.
-
-Distributed under the Boost Software License, Version 1.0. (See
-accompanying file LICENSE_1_0.txt or copy at
-http://www.boost.org/LICENSE_1_0.txt)
-
--->
-
-<xsl:stylesheet
- xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
- xmlns:meta="http://www.meta-comm.com"
- exclude-result-prefixes="meta"
- version="1.0">
-
- <xsl:import href="common.xsl"/>
-
- <xsl:output method="xml" encoding="utf-8"/>
-
- <xsl:param name="expected_results_file"/>
- <xsl:param name="failures_markup_file"/>
- <xsl:variable name="expected_results" select="document( $expected_results_file )" />
- <xsl:variable name="failures_markup" select="document( $failures_markup_file )" />
-
- <xsl:template match="/">
- <xsl:apply-templates/>
- </xsl:template>
-
- <xsl:template match="test-log">
- <xsl:variable name="library" select="@library"/>
- <xsl:variable name="test-name" select="@test-name"/>
- <xsl:variable name="toolset" select="@toolset"/>
-
- <xsl:element name="{local-name()}">
- <xsl:apply-templates select="@*"/>
-
- <xsl:variable name="actual_result">
- <xsl:choose>
- <!-- Hack: needs to be researched (and removed). See M.Wille's incident. -->
- <xsl:when test="run/@result='succeed' and lib/@result='fail'">
- <xsl:text>success</xsl:text>
- </xsl:when>
- <xsl:when test="./*/@result = 'fail'" >
- <xsl:text>fail</xsl:text>
- </xsl:when>
- <xsl:otherwise>
- <xsl:text>success</xsl:text>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:variable>
-
- <xsl:variable name="expected_results_test_case" select="$expected_results//*/test-result[ @library=$library and ( @test-name=$test-name or @test-name='*' ) and @toolset = $toolset]"/>
- <xsl:variable name="new_failures_markup" select="$failures_markup//library[@name=$library]/mark-expected-failures[ meta:re_match( test/@name, $test-name ) and meta:re_match( toolset/@name, $toolset ) ]"/>
- <xsl:variable name="failures_markup" select="$failures_markup//library[@name=$library]/test[ meta:re_match( @name, $test-name ) ]/mark-failure[ meta:re_match( toolset/@name, $toolset ) ]"/>
- <xsl:variable name="is_new">
- <xsl:choose>
- <xsl:when test="$expected_results_test_case">
- <xsl:text>no</xsl:text>
- </xsl:when>
- <xsl:otherwise>yes</xsl:otherwise>
- </xsl:choose>
- </xsl:variable>
-
- <xsl:variable name="expected_result">
- <xsl:choose>
- <xsl:when test='count( $failures_markup ) &gt; 0 or count( $new_failures_markup ) &gt; 0'>
- <xsl:text>fail</xsl:text>
- </xsl:when>
-
- <xsl:otherwise>
- <xsl:choose>
- <xsl:when test="$expected_results_test_case and $expected_results_test_case/@result = 'fail'">
- <xsl:text>fail</xsl:text>
- </xsl:when>
-
- <xsl:otherwise>success</xsl:otherwise>
- </xsl:choose>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:variable>
-
- <xsl:variable name="status">
- <xsl:choose>
- <xsl:when test="count( $failures_markup ) &gt; 0 or count( $new_failures_markup ) &gt; 0">
- <xsl:choose>
- <xsl:when test="$expected_result = $actual_result">expected</xsl:when>
- <xsl:otherwise>unexpected</xsl:otherwise>
- </xsl:choose>
- </xsl:when>
-
- <xsl:otherwise>
- <xsl:choose>
- <xsl:when test="$expected_result = $actual_result">expected</xsl:when>
- <xsl:otherwise>unexpected</xsl:otherwise>
- </xsl:choose>
- </xsl:otherwise>
-
- </xsl:choose>
- </xsl:variable>
-
- <xsl:variable name="notes">
- <xsl:choose>
-
- <xsl:when test='count( $failures_markup ) &gt; 0'>
- <xsl:for-each select="$failures_markup/note">
- <xsl:copy-of select="."/>
- </xsl:for-each>
- </xsl:when>
-
- <xsl:when test='count( $new_failures_markup ) &gt; 0'>
- <xsl:for-each select="$new_failures_markup/note">
- <xsl:copy-of select="."/>
- </xsl:for-each>
- </xsl:when>
-
- </xsl:choose>
- </xsl:variable>
-
- <xsl:attribute name="result"><xsl:value-of select="$actual_result"/></xsl:attribute>
- <xsl:attribute name="expected-result"><xsl:value-of select="$expected_result"/></xsl:attribute>
- <xsl:attribute name="status"><xsl:value-of select="$status"/></xsl:attribute>
- <xsl:attribute name="is-new"><xsl:value-of select="$is_new"/></xsl:attribute>
- <!--<a><xsl:value-of select="count( $failures_markup )"/></a>-->
- <xsl:element name="notes"><xsl:copy-of select="$notes"/></xsl:element>
-
-
- <xsl:apply-templates select="node()" />
- </xsl:element>
- </xsl:template>
-
- <xsl:template match="*">
- <xsl:element name="{local-name()}">
- <xsl:apply-templates select="@*"/>
- <xsl:apply-templates select="node()" />
- </xsl:element>
- </xsl:template>
-
- <xsl:template match="@*">
- <xsl:copy-of select="." />
- </xsl:template>
-
-</xsl:stylesheet>
diff --git a/tools/regression/xsl_reports/xsl/common.xsl b/tools/regression/xsl_reports/xsl/common.xsl
deleted file mode 100644
index 0029eeaebb..0000000000
--- a/tools/regression/xsl_reports/xsl/common.xsl
+++ /dev/null
@@ -1,182 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!--
-
-Copyright MetaCommunications, Inc. 2003-2004.
-
-Distributed under the Boost Software License, Version 1.0. (See
-accompanying file LICENSE_1_0.txt or copy at
-http://www.boost.org/LICENSE_1_0.txt)
-
--->
-
-<xsl:stylesheet
- xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
- xmlns:exsl="http://exslt.org/common"
- xmlns:func="http://exslt.org/functions"
- xmlns:str="http://exslt.org/strings"
- xmlns:meta="http://www.meta-comm.com"
- extension-element-prefixes="func"
- version="1.0">
-
- <xsl:variable name="output_directory" select="'output'"/>
-
- <xsl:template name="get_toolsets">
- <xsl:param name="toolsets"/>
- <xsl:param name="required-toolsets"/>
-
- <xsl:variable name="toolset_output">
- <xsl:for-each select="$toolsets">
- <xsl:variable name="toolset" select="."/>
- <xsl:element name="toolset">
- <xsl:attribute name="toolset"><xsl:value-of select="$toolset"/></xsl:attribute>
- <xsl:choose>
- <xsl:when test="$required_toolsets[ $toolset = @name ]">
- <xsl:attribute name="required">yes</xsl:attribute>
- <xsl:attribute name="sort">a</xsl:attribute>
- </xsl:when>
- <xsl:otherwise>
- <xsl:attribute name="required">no</xsl:attribute>
- <xsl:attribute name="sort">z</xsl:attribute>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:element>
- </xsl:for-each>
- </xsl:variable>
-
- <xsl:for-each select="exsl:node-set( $toolset_output )/toolset">
- <xsl:sort select="concat( @sort, ' ', @toolset)" order="ascending"/>
- <xsl:copy-of select="."/>
- </xsl:for-each>
-
- </xsl:template>
-
- <func:function name="meta:show_output">
- <xsl:param name="explicit_markup"/>
- <xsl:param name="test_log"/>
- <func:result select="$test_log/@result != 'success' and not( meta:is_unusable( $explicit_markup, $test_log/@library, $test_log/@toolset )) or $test_log/@show-run-output = 'true'"/>
- </func:function>
-
- <func:function name="meta:is_test_log_a_test_case">
- <xsl:param name="test_log"/>
- <func:result select="$test_log/@test-type='compile' or $test_log/@test-type='compile_fail' or $test_log/@test-type='run' or $test_log/@test-type='run_pyd'"/>
- </func:function>
-
- <func:function name="meta:is_unusable">
- <xsl:param name="explicit_markup"/>
- <xsl:param name="library"/>
- <xsl:param name="toolset"/>
-
- <func:result select="$explicit_markup//library[ @name = $library ]/mark-unusable[ toolset/@name = $toolset or toolset/@name='*' ]"/>
- </func:function>
-
- <func:function name="meta:re_match">
- <xsl:param name="pattern"/>
- <xsl:param name="text"/>
-
- <xsl:choose>
- <xsl:when test="not( contains( $pattern, '*' ) )">
- <func:result select="$text = $pattern"/>
- </xsl:when>
- <xsl:when test="$pattern = '*'">
- <func:result select="1 = 1"/>
- </xsl:when>
- <xsl:when test="substring( $pattern, 1, 1 ) = '*' and substring( $pattern, string-length($pattern), 1 ) = '*' ">
- <func:result select="contains( $text, substring( $pattern, 2, string-length($pattern) - 2 ) ) "/>
- </xsl:when>
- <xsl:when test="substring( $pattern, 1, 1 ) = '*'">
- <xsl:variable name="pattern_tail" select="substring( $pattern, 2, string-length($pattern) - 1 )"/>
- <func:result select="substring( $text, string-length($text) - string-length($pattern_tail) + 1, string-length($pattern_tail) ) = $pattern_tail"/>
- </xsl:when>
- <xsl:when test="substring( $pattern, string-length($pattern), 1 ) = '*' ">
- <xsl:variable name="pattern_head" select="substring( $pattern, 1, string-length($pattern) - 2 )"/>
- <func:result select="substring( $text, 1, string-length($pattern_head) ) = $pattern_head "/>
- </xsl:when>
- </xsl:choose>
- </func:function>
-
- <func:function name="meta:encode_path">
- <xsl:param name="path"/>
- <func:result select="translate( translate( $path, '/', '-' ), './', '-' )"/>
- </func:function>
-
- <func:function name="meta:toolset_name">
- <xsl:param name="name"/>
- <func:result select="$name"/>
- </func:function>
-
- <func:function name="meta:output_file_path">
- <xsl:param name="path"/>
- <func:result select="concat( $output_directory, '/', meta:encode_path( $path ), '.html' )"/>
- </func:function>
-
- <xsl:template name="show_notes">
- <xsl:param name="explicit_markup"/>
- <xsl:param name="notes"/>
- <div class="notes">
- <xsl:for-each select="$notes">
- <div>
- <xsl:variable name="refid" select="@refid"/>
- <xsl:call-template name="show_note">
- <xsl:with-param name="note" select="."/>
- <xsl:with-param name="reference" select="$explicit_markup//note[ $refid = @id ]"/>
- </xsl:call-template>
- </div>
- </xsl:for-each>
- </div>
- </xsl:template>
-
- <xsl:template name="show_note">
- <xsl:param name="note"/>
- <xsl:param name="reference"/>
- <div class="note">
- <xsl:variable name="author">
- <xsl:choose>
- <xsl:when test="$note/@author">
- <xsl:value-of select="$note/@author"/>
- </xsl:when>
- <xsl:when test="$reference">
- <xsl:value-of select="$reference/@author"/>
- </xsl:when>
- <xsl:otherwise>
- <xsl:text/>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:variable>
-
- <xsl:variable name="date">
- <xsl:choose>
- <xsl:when test="$note/@date">
- <xsl:value-of select="$note/@date"/>
- </xsl:when>
- <xsl:when test="$reference">
- <xsl:value-of select="$reference/@date"/>
- </xsl:when>
- <xsl:otherwise>
- <xsl:text/>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:variable>
-
- <span class="note-header">
- <xsl:choose>
- <xsl:when test="$author != '' and $date != ''">
- [&#160;<xsl:value-of select="$author"/>&#160;<xsl:value-of select="$date"/>&#160;]
- </xsl:when>
- <xsl:when test="$author != ''">
- [&#160;<xsl:value-of select="$author"/>&#160;]
- </xsl:when>
- <xsl:when test="$date != ''">
- [&#160;<xsl:value-of select="$date"/>&#160;]
- </xsl:when>
- </xsl:choose>
- </span>
-
- <xsl:if test="$reference">
- <xsl:copy-of select="$reference/node()"/>
- </xsl:if>
- <xsl:copy-of select="$note/node()"/>
-
- </div>
- </xsl:template>
-
-</xsl:stylesheet>
diff --git a/tools/regression/xsl_reports/xsl/html/issues_legend.html b/tools/regression/xsl_reports/xsl/html/issues_legend.html
deleted file mode 100644
index 6274048b55..0000000000
--- a/tools/regression/xsl_reports/xsl/html/issues_legend.html
+++ /dev/null
@@ -1,36 +0,0 @@
-<!--
-
-Copyright MetaCommunications, Inc. 2003-2004.
-
-Distributed under the Boost Software License, Version 1.0. (See
-accompanying file LICENSE_1_0.txt or copy at
-http://www.boost.org/LICENSE_1_0.txt)
-
--->
-
-<div class="legend">
-<table border="0" summary="report description">
-<tr>
- <td>
- <table border="0" summary="legend">
- <tr>
- <td>
- <table width="100%" summary="unexpected new fail legend">
- <tr class="library-row-single"><td class="library-fail-unexpected-new">&lt;toolset&gt;</td></tr>
- </table>
- </td>
- <td class="legend-item">Failure on a newly added test/compiler.</td>
- </tr>
- <tr>
- <td>
- <table width="100%" summary="unexpected fail legend">
- <tr class="library-row-single"><td class="library-fail-unexpected">&lt;toolset&gt;</td></tr>
- </table>
- </td>
- <td class="legend-item">Unexpected failure.</td>
- </tr>
- </table>
- </td>
-</tr>
-</table>
-</div>
diff --git a/tools/regression/xsl_reports/xsl/html/library_developer_legend.html b/tools/regression/xsl_reports/xsl/html/library_developer_legend.html
deleted file mode 100644
index 405e52ab4b..0000000000
--- a/tools/regression/xsl_reports/xsl/html/library_developer_legend.html
+++ /dev/null
@@ -1,72 +0,0 @@
-<!--
-
-Copyright MetaCommunications, Inc. 2003-2004.
-
-Distributed under the Boost Software License, Version 1.0. (See
-accompanying file LICENSE_1_0.txt or copy at
-http://www.boost.org/LICENSE_1_0.txt)
-
--->
-
-<div class="legend">
-<table border="0" summary="report description">
-<tr>
- <td>
- <table border="0" summary="legend">
- <tr>
- <td>
- <table width="100%" summary="success legend">
- <tr class="library-row-single"><td class="library-success-expected">pass</td></tr>
- </table>
- </td>
- <td class="legend-item">Success.</td>
- </tr>
- <tr>
- <td>
- <table width="100%" summary="unexpected pass legend">
- <tr class="library-row-single"><td class="library-success-unexpected">pass</td></tr>
- </table>
- </td>
- <td class="legend-item">Unexpected success.</td>
- </tr>
- <tr>
- <td>
- <table width="100%" summary="expected fail legend">
- <tr class="library-row-single"><td class="library-fail-expected">fail</td></tr>
- </table>
- </td>
- <td class="legend-item">Expected failure.</td>
- </tr>
- </table>
- </td>
- <td>
- <table border="0" summary="legend">
- <tr>
- <td>
- <table width="100%" summary="unexpected new fail legend">
- <tr class="library-row-single"><td class="library-fail-unexpected-new">fail</td></tr>
- </table>
- </td>
- <td class="legend-item">Failure on a newly added test/compiler.</td>
- </tr>
- <tr>
- <td>
- <table width="100%" summary="unexpected fail legend">
- <tr class="library-row-single"><td class="library-fail-unexpected">fail</td></tr>
- </table>
- </td>
- <td class="legend-item">Unexpected failure.</td>
- </tr>
- <tr>
- <td>
- <table width="100%" summary="unusable legend">
- <tr class="library-row-single"><td class="library-unusable">n/a</td></tr>
- </table>
- </td>
- <td class="legend-item">The library author marked it as unusable on particular platform/toolset.</td>
- </tr>
- </table>
- </td>
-</tr>
-</table>
-</div>
diff --git a/tools/regression/xsl_reports/xsl/html/library_user_legend.html b/tools/regression/xsl_reports/xsl/html/library_user_legend.html
deleted file mode 100644
index 5175f04271..0000000000
--- a/tools/regression/xsl_reports/xsl/html/library_user_legend.html
+++ /dev/null
@@ -1,65 +0,0 @@
-<!--
-
-Copyright MetaCommunications, Inc. 2003-2004.
-
-Distributed under the Boost Software License, Version 1.0. (See
-accompanying file LICENSE_1_0.txt or copy at
-http://www.boost.org/LICENSE_1_0.txt)
-
--->
-
-<div class="legend">
-<table border="0" summary="report description">
-<tr>
- <td>
- <table border="0" summary="legend">
- <tr>
- <td>
- <table width="100%" summary="success legend">
- <tr class="library-row-single"><td class="library-user-success">pass</td></tr>
- </table>
- </td>
- <td class="legend-item">
- The test passes.
- </td>
- </tr>
- <tr>
- <td>
- <table width="100%" summary="fail legend">
- <tr class="library-row-single"><td class="library-user-fail-expected">fail</td></tr>
- </table>
- </td>
- <td class="legend-item">
- A known test failure; click on the link to see the log.
- </td>
- </tr>
- </table>
- </td>
- <td>
- <table border="0" summary="legend">
- <tr>
- <td>
- <table width="100%" summary="unexpected fail legend">
- <tr class="library-row-single"><td class="library-user-fail-unexpected">unexp.</td></tr>
- </table>
- </td>
- <td class="legend-item">
- The test is known to pass, but is currently failing;
- click on the link to see the log.
- </td>
- </tr>
- <tr>
- <td>
- <table width="100%" summary="unusable legend">
- <tr class="library-row-single"><td class="library-unusable">n/a</td></tr>
- </table>
- </td>
- <td class="legend-item">
- The library author marked it as unusable on particular platform/toolset.
- </td>
- </tr>
- </table>
- </td>
-</tr>
-</table>
-</div>
diff --git a/tools/regression/xsl_reports/xsl/html/make_tinyurl.html b/tools/regression/xsl_reports/xsl/html/make_tinyurl.html
deleted file mode 100644
index 2de8830106..0000000000
--- a/tools/regression/xsl_reports/xsl/html/make_tinyurl.html
+++ /dev/null
@@ -1,24 +0,0 @@
-<!--
-
-Copyright MetaCommunications, Inc. 2003-2004.
-
-Distributed under the Boost Software License, Version 1.0. (See
-accompanying file LICENSE_1_0.txt or copy at
-http://www.boost.org/LICENSE_1_0.txt)
-
--->
-
-<div class="tinyurl">
-
-<script type="text/javascript">
-<!--
-function make_tinyurl()
-{
- window.open( 'http://tinyurl.com/create.php?url=' + parent.location.href );
-}
-//-->
-</script>
-
-<a href="javascript:make_tinyurl()">TinyUrl</a>
-
-</div>
diff --git a/tools/regression/xsl_reports/xsl/html/master.css b/tools/regression/xsl_reports/xsl/html/master.css
deleted file mode 100644
index 8e643efebf..0000000000
--- a/tools/regression/xsl_reports/xsl/html/master.css
+++ /dev/null
@@ -1,525 +0,0 @@
-/*
-
-Copyright MetaCommunications, Inc. 2003-2004.
-
-Distributed under the Boost Software License, Version 1.0. (See
-accompanying file LICENSE_1_0.txt or copy at
-http://www.boost.org/LICENSE_1_0.txt)
-
-*/
-
-/* All reports */
-
-body
-{
- background-color: white;
-}
-
-body.user-toc
-{
- background-color: #f0f0f0;
-}
-
-body.developer-toc
-{
- background-color: #f0f5ff;
-}
-
-span.super
-{
- vertical-align: super;
- font-size: 80%;
- margin-left: 3pt;
-}
-
-h1.page-title
-{
- text-align: left;
- text-transform: capitalize;
- margin-top: 10pt;
- margin-bottom: 10pt;
-}
-
-img
-{
- display: inline;
-}
-
- a.hover-link:link
-,a.hover-link:visited
-,a.hover-link:active
-{
- color: black;
- text-decoration: none;
-}
-
-a.hover-link:hover
-{
- color: black;
- text-decoration: underline;
-}
-
-div.legend
-{
- width: 80%;
- background-color: #f5f5f5;
- margin-top: 10pt;
-}
-
-div.comment
-{
- width: 80%;
- background-color: #f5f5f5;
- padding-left: 10pt;
- padding-right: 10pt;
- padding-bottom: 10pt;
-}
-
-div.tinyurl
-{
- margin-top: 10pt;
-}
-
-table.header-table
-{
- margin-left: 10pt;
- margin-top: 20pt;
- margin-bottom: 10pt;
- width: 80%;
-}
-
-td.header-item
-{
- text-align: left;
- vertical-align: top;
- font-weight: bold;
-}
-
-td.header-item-content
-{
- padding-left: 20pt;
- padding-bottom: 10pt;
-}
-
-td.legend-item
-{
- padding-left: 5pt;
-/* padding-top: 2pt;*/
-}
-
-div.acknowledgement
-{
- text-align: left;
- margin-top: 10pt;
- margin-left: 5pt;
- margin-bottom: 10pt;
-}
-
-div.report-info
-{
- text-align: left;
- margin-bottom: 10pt;
- width: 80%;
-}
-
-div.purpose
-{
- text-align: left;
- margin-left: 5pt;
- margin-top: 10pt;
-}
-
-
-div.library-name
-{
- margin-top: 20pt;
- margin-bottom: 10pt;
- text-align: left;
- font-size: 125%;
- font-weight: bold;
-}
-
-table.summary-table
-,table.library-table
-{
- border-collapse: collapse;
- border: 2px solid black;
- margin: 5px;
-}
-
- table.summary-table td
-,table.library-table td
-{
- text-align: center;
- border-left: 1px solid black;
- border-right: 1px solid black;
-}
-
- a.log-link:link
-,a.log-link:visited
-{
- color: black;
-/* text-decoration: none; */
-}
-
- a.log-link:active
-,a.log-link:hover
-,a.legend-link:link
-,a.legend-link:visited
-,a.legend-link:active
-,a.legend-link:hover
-{
- color: black;
- text-decoration: underline;
-}
-
- td.toolset-name
-,td.required-toolset-name
-{
- vertical-align: middle;
- padding-left: 3pt;
- padding-right: 3pt;
- word-spacing: -3pt;
-}
-
-td.required-toolset-name
-{
- font-weight: bold;
-}
-
-td.library-corner-case-header
-{
-}
-
-tr.summary-row-first td
-, tr.library-row-first td
-{
- border-top: 1px solid gray;
- border-bottom: 0px;
-}
-
-tr.summary-row-last td
-, tr.library-row-last td
-{
- border-top: 0px;
- border-bottom: 1px solid gray;
-}
-
-tr.summary-row-single td
-, tr.library-row-single td
-{
- border-top: 1px solid gray;
- border-bottom: 1px solid gray;
-}
-
-tr.summary-row td
-, tr.library-row td
-{
- border-bottom: 0px;
- border-top: 0px;
-}
-
- td.library-success-expected
-,td.library-fail-expected
-,td.library-user-fail-expected
-,td.library-user-success
-,td.summary-expected
-,td.summary-user-fail-expected
-,td.summary-user-success
-,td.summary-unknown-status
-{
- width: 60pt;
- text-align: center;
- background-color: lightgreen;
- border-left: 1px solid black;
- border-right: 1px solid black;
- padding-left: 2pt;
- padding-right: 2pt;
-}
-
-td.summary-unknown-status
-{
- background-color: white;
-}
-
- td.library-success-unexpected
-,td.summary-success-unexpected
-{
- width: 60pt;
- text-align: center;
- background-color: green;
- font-weight: bold;
- color: white;
- border: 0px;
- padding-left: 2pt;
- padding-right: 2pt;
-}
-
-
- tr.summary-row td.summary-fail-unexpected
-,tr.summary-row-first td.summary-fail-unexpected
-,tr.summary-row-last td.summary-fail-unexpected
-,tr.summary-row-single td.summary-fail-unexpected
-
-,tr.summary-row td.summary-user-fail-unexpected
-,tr.summary-row-first td.summary-user-fail-unexpected
-,tr.summary-row-last td.summary-user-fail-unexpected
-,tr.summary-row-single td.summary-user-fail-unexpected
-
-,tr.library-row td.library-user-fail-unexpected
-,tr.library-row-first td.library-user-fail-unexpected
-,tr.library-row-last td.library-user-fail-unexpected
-,tr.library-row-single td.library-user-fail-unexpected
-{
- width: 60pt;
- text-align: center;
- background-color: red;
- color: black;
- border: 2px solid black;
- padding-left: 2pt;
- padding-right: 2pt;
-}
-
- tr.summary-row td.summary-missing
-, tr.summary-row-first td.summary-missing
-, tr.summary-row-last td.summary-missing
-, tr.summary-row-single td.summary-missing
-
-, tr.library-row td.library-missing
-, tr.library-row-first td.library-missing
-, tr.library-row-last td.library-missing
-, tr.library-row-single td.library-missing
-{
- width: 60pt;
- text-align: center;
- background-color: white;
- color: black;
- border: 2px solid black;
- padding-left: 2pt;
- padding-right: 2pt;
-}
-
- tr.summary-row td.summary-unusable
-, tr.summary-row-first td.summary-unusable
-, tr.summary-row-last td.summary-unusable
-, tr.summary-row-single td.summary-unusable
-
-, tr.library-row td.library-unusable
-, tr.library-row-first td.library-unusable
-, tr.library-row-last td.library-unusable
-, tr.library-row-single td.library-unusable
-{
- width: 60pt;
- text-align: center;
- background-color: silver;
- color: black;
- border-top: 2px solid black;
- border-bottom: 2px solid black;
- border-left: 2px solid black;
- border-right: 2px solid black;
- padding-left: 2pt;
- padding-right: 2pt;
-}
-
-/* Summary */
-
-table.summary-table td.library-name
-{
- width: 100pt;
- padding: 0pt;
- border-top: 1px solid gray;
- border-bottom: 1px solid gray;
-}
-
- tr.summary-row td.summary-user-fail-unexpected
-, tr.summary-row-first td.summary-user-fail-unexpected
-, tr.summary-row-last td.summary-user-fail-unexpected
-, tr.summary-row-single td.summary-user-fail-unexpected
-{
- width: 60pt;
- text-align: center;
- background-color: yellow;
- color: black;
- border: 2px solid black;
- padding-left: 2pt;
- padding-right: 2pt;
-}
-
- tr.summary-row td.summary-fail-unexpected-new
-, tr.summary-row-first td.summary-fail-unexpected-new
-, tr.summary-row-last td.summary-fail-unexpected-new
-, tr.summary-row-single td.summary-fail-unexpected-new
-
-, tr.library-row td.library-fail-unexpected-new
-, tr.library-row-first td.library-fail-unexpected-new
-, tr.library-row-last td.library-fail-unexpected-new
-, tr.library-row-single td.library-fail-unexpected-new
-{
- width: 60pt;
- text-align: center;
- background-color: yellow;
- color: black;
- border: 2px solid black;
-}
-
-/* Detailed */
-
-.library-conf-problem
-{
- font-size: 70%;
- font-weight: normal;
-}
-
-div.library-toc
-{
- margin: 5pt;
-}
-
-
-li.library-toc-entry
-{
- margin-left: 5pt;
- list-style-type: square;
-}
-
-
-div.library-footer
-{
- margin: 5px;
-}
-
-
-table.library-table td.test-name
-{
- width: 150pt;
- padding-left: 6pt;
- padding-right: 6pt;
- border-right: 0;
- border-top: 1px solid gray;
- border-bottom: 1px solid gray;
-}
-
-table.library-table td.test-type
-{
- padding-right: 5px;
- border-left: 0;
- border-right: 0;
- border-top: 1px solid gray;
- border-bottom: 1px solid gray;
- text-align: right;
-}
-
- tr.library-row td.library-fail-unexpected
-, tr.library-row-first td.library-fail-unexpected
-, tr.library-row-last td.library-fail-unexpected
-, tr.library-row-single td.library-fail-unexpected
-{
- width: 60pt;
- text-align: center;
- background-color: red;
- font-weight: bold;
- color: black;
- border: 2px solid black;
-}
-
-td.library-user-fail-expectected
-{
- width: 60pt;
- text-align: center;
- background-color: yellow;
- color: black;
- border: 0px solid black;
-}
-
-table.library-library-notes
-{
- background-color: LemonChiffon;
- width: 640px;
- margin-left: 5px;
- margin-right: 5px;
-}
-
-tr.library-library-note
-{
-}
-
-div.note
-{
- padding: 3pt;
-}
-
-
-span.note-header
-{
- font-weight: bold;
-}
-
-/* Log */
-
-div.log-test-title
-{
- font-size: 1.5em;
- font-weight: bold;
- border-bottom: 1px solid black;
-}
-
-div.notes-title
-{
- font-weight: bold;
- background-color: #ffffcc;
-}
-
-div.notes
-{
- padding: 3pt;
- background-color: #ffffcc;
-}
-
-div.notes-title
-{
- font-weight: bold;
-}
-
-div.log-compiler-output-title
-{
- font-weight: bold;
-}
-
-div.log-linker-output-title
-{
- font-weight: bold;
-}
-
-div.log-run-output-title
-{
- font-weight: bold;
-}
-
-
-/* Issues page */
-
-table.library-issues-table
-{
- border-collapse: collapse;
- border: 2px solid black;
-}
-
-table.library-issues-table td
-{
- border: 1px solid #c0c0c0;
- text-align: center;
- margin-right: 5px;
-}
-
-table.library-issues-table td.failures-row
-{
- text-align: left;
- padding: 0px;
-}
-
- table.issue-box tr.library-row-single td.library-fail-unexpected-new
-,table.issue-box tr.library-row-single td.library-fail-unexpected
-{
- border: 0px;
- font-weight: normal;
-}
diff --git a/tools/regression/xsl_reports/xsl/html/summary_developer_legend.html b/tools/regression/xsl_reports/xsl/html/summary_developer_legend.html
deleted file mode 100644
index 0f82828228..0000000000
--- a/tools/regression/xsl_reports/xsl/html/summary_developer_legend.html
+++ /dev/null
@@ -1,75 +0,0 @@
-<!--
-
-Copyright MetaCommunications, Inc. 2003-2004.
-
-Distributed under the Boost Software License, Version 1.0. (See
-accompanying file LICENSE_1_0.txt or copy at
-http://www.boost.org/LICENSE_1_0.txt)
-
--->
-
-<div class="legend">
-<table border="0" summary="report description">
-<tr>
- <td>
- <table border="0" summary="legend">
- <tr>
- <td>
- <table width="100%" summary="success legend">
- <tr class="summary-row-single"><td class="summary-expected">OK</td></tr>
- </table>
- </td>
- <td class="legend-item">
- All expected tests pass.
- </td>
- </tr>
- <tr>
- <td>
- <table width="100%" summary="unexpected pass legend">
- <tr class="summary-row-single"><td class="summary-success-unexpected">OK</td></tr>
- </table>
- </td>
- <td class="legend-item">
- All expected tests pass, and some other tests that were expected to fail
- unexpectedly pass as well.
- </td>
- </tr>
- <tr>
- <td>
- <table width="100%" summary="unexpected new fail legend">
- <tr class="summary-row-single"><td class="summary-fail-unexpected-new">fail</td></tr>
- </table>
- </td>
- <td class="legend-item">
- There are some failures on the newly added tests/compiler(s).
- </td>
- </tr>
- </table>
- </td>
- <td>
- <table border="0" summary="legend">
- <tr>
- <td>
- <table width="100%" summary="unexpected fail legend">
- <tr class="summary-row-single"><td class="summary-fail-unexpected">broken</td></tr>
- </table>
- </td>
- <td class="legend-item">
- Tests that the library author expects to pass are currently failing.
- </td>
- </tr>
- <tr>
- <td>
- <table width="100%" summary="unusable legend">
- <tr class="summary-row-single"><td class="summary-unusable">n/a</td></tr>
- </table>
- </td>
- <td class="legend-item">
- The library author marked it as unusable on particular platform/toolset.
- </td>
- </tr>
- </table>
- </td>
-</tr>
-</table>
-</div>
diff --git a/tools/regression/xsl_reports/xsl/html/summary_user_legend.html b/tools/regression/xsl_reports/xsl/html/summary_user_legend.html
deleted file mode 100644
index 4407608120..0000000000
--- a/tools/regression/xsl_reports/xsl/html/summary_user_legend.html
+++ /dev/null
@@ -1,65 +0,0 @@
-<!--
-
-Copyright MetaCommunications, Inc. 2003-2004.
-
-Distributed under the Boost Software License, Version 1.0. (See
-accompanying file LICENSE_1_0.txt or copy at
-http://www.boost.org/LICENSE_1_0.txt)
-
--->
-
-<div class="legend">
-<table border="0" summary="report description">
-<tr>
- <td>
- <table border="0" summary="legend">
- <tr>
- <td>
- <table width="100%" summary="success legend">
- <tr class="summary-row-single"><td class="summary-user-success">&#160;</td></tr>
- </table>
- </td>
- <td class="legend-item">
- All library tests are passing.
- </td>
- </tr>
- <tr>
- <td>
- <table width="100%" summary="expected fail legend">
- <tr class="summary-row-single"><td class="summary-user-fail-expected">details</td></tr>
- </table>
- </td>
- <td class="legend-item">
- There are some known failures in the tests, click on the link to see the details.
- </td>
- </tr>
- </table>
- </td>
- <td>
- <table border="0" summary="legend" ID="Table1">
- <tr>
- <td>
- <table width="100%" summary="unexpected fail legend">
- <tr class="summary-row-single"><td class="summary-user-fail-unexpected">unexp.</td></tr>
- </table>
- </td>
- <td class="legend-item">
- Some tests that the library author expects to pass are currently failing,
- click on the link to see the details.
- </td>
- </tr>
- <tr>
- <td>
- <table width="100%" summary="unusable legend">
- <tr class="summary-row-single"><td class="summary-unusable">n/a</td></tr>
- </table>
- </td>
- <td class="legend-item">
- The library author marked it as unusable on particular platform/toolset.
- </td>
- </tr>
- </table>
- </td>
-</tr>
-</table>
-</div>
diff --git a/tools/regression/xsl_reports/xsl/issues_page.xsl b/tools/regression/xsl_reports/xsl/issues_page.xsl
deleted file mode 100644
index 4faa410d0d..0000000000
--- a/tools/regression/xsl_reports/xsl/issues_page.xsl
+++ /dev/null
@@ -1,223 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!--
-
-Copyright MetaCommunications, Inc. 2003-2004.
-
-Distributed under the Boost Software License, Version 1.0. (See
-accompanying file LICENSE_1_0.txt or copy at
-http://www.boost.org/LICENSE_1_0.txt)
-
--->
-
-<xsl:stylesheet
- xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
- xmlns:exsl="http://exslt.org/common"
- xmlns:func="http://exslt.org/functions"
- xmlns:str="http://exslt.org/strings"
- xmlns:set="http://exslt.org/sets"
- xmlns:meta="http://www.meta-comm.com"
- extension-element-prefixes="func exsl"
- exclude-result-prefixes="set str meta"
- version="1.0">
-
- <xsl:import href="common.xsl"/>
-
- <xsl:output method="html"
- doctype-public="-//W3C//DTD HTML 4.01 Transitional//EN"
- encoding="utf-8"
- indent="yes"
- />
-
-
- <xsl:param name="links_file"/>
- <xsl:param name="mode"/>
- <xsl:param name="source"/>
- <xsl:param name="run_date"/>
- <xsl:param name="comment_file"/>
- <xsl:param name="expected_results_file"/>
- <xsl:param name="explicit_markup_file"/>
-
- <!-- the author-specified expected test results -->
- <xsl:variable name="explicit_markup" select="document( $explicit_markup_file )"/>
- <xsl:variable name="expected_results" select="document( $expected_results_file )" />
-
- <!-- necessary indexes -->
- <xsl:key
- name="test_name_key"
- match="test-log"
- use="concat( @library, '@', @test-name )"/>
- <xsl:key
- name="a"
- match="."
- use="concat( @library, '@', @test-name )"/>
-
- <xsl:key
- name="library_key"
- match="test-log"
- use="@library"/>
- <xsl:key name="toolset_key" match="test-log" use="@toolset"/>
-
- <!-- toolsets -->
-
- <xsl:variable name="required_toolsets" select="$explicit_markup//mark-toolset[ @status='required' ]"/>
- <xsl:variable name="required_toolset_names" select="$explicit_markup//mark-toolset[ @status='required' ]/@name"/>
- <!-- libraries -->
- <xsl:variable name="libraries" select="//test-log[ @library != '' and generate-id(.) = generate-id( key('library_key',@library)[1] ) ]/@library"/>
-
- <xsl:variable name="unexpected_test_cases" select="//test-log[ @status='unexpected' and @result='fail' and @toolset = $required_toolset_names and meta:is_test_log_a_test_case(.)]"/>
-
- <func:function name="meta:get_library_tests">
- <xsl:param name="tests"/>
- <xsl:param name="library"/>
-
- <xsl:variable name="a">
- <xsl:for-each select="$tests[ @library=$library ]">
- <xsl:sort select="@test-name" order="ascending"/>
- <xsl:copy-of select="."/>
- </xsl:for-each>
- </xsl:variable>
- <func:result select="exsl:node-set( $a )/*"/>
- </func:function>
-
-
- <xsl:template match="/">
-
- <xsl:variable name="issues_list" select="'issues_.html'"/>
-
- <!-- Issues page -->
- <html>
- <head>
- <link rel="stylesheet" type="text/css" href="../master.css" title="master" />
- <title>Boost regression unresolved issues: <xsl:value-of select="$source"/></title>
- </head>
- <frameset cols="190px,*" frameborder="0" framespacing="0" border="0">
- <frame name="tocframe" src="toc.html" scrolling="auto"/>
- <frame name="docframe" src="{$issues_list}" scrolling="auto"/>
- </frameset>
- </html>
-
- <!-- Issues list -->
- <xsl:message>Writing document <xsl:value-of select="$issues_list"/></xsl:message>
-
- <exsl:document href="{$issues_list}"
- method="html"
- doctype-public="-//W3C//DTD XHTML 1.0 Strict//EN"
- encoding="utf-8"
- indent="yes">
-
- <html>
- <head>
- <link rel="stylesheet" type="text/css" href="../master.css" title="master" />
- </head>
- <body>
-
- <h1 class="page-title">
- <xsl:text>Unresolved Issues: </xsl:text>
- <a class="hover-link" href="summary.html" target="_top"><xsl:value-of select="$source"/></a>
- </h1>
-
- <div class="report-info">
- <div>
- <b>Report Time: </b> <xsl:value-of select="$run_date"/>
- </div>
- <div>
- <b>Purpose: </b> Provides a list of current unresolved test failures.
- </div>
- </div>
-
- <xsl:for-each select="$libraries">
- <xsl:sort select="." order="ascending"/>
- <xsl:variable name="library" select="."/>
- <xsl:variable name="library_page" select="meta:encode_path( $library )" />
-
- <xsl:variable name="library_tests" select="meta:get_library_tests( $unexpected_test_cases, $library )"/>
- <xsl:if test="count( $library_tests ) > 0">
- <xsl:variable name="library_test_names" select="set:distinct( $library_tests/@test-name )"/>
-
- <h2>
- <a class="hover-link" href="{$library_page}.html" target="_top">
- <xsl:value-of select="$library"/>
- </a>
- </h2>
-
- <table class="library-issues-table" summary="issues">
- <thead>
- <tr valign="middle">
- <td class="head">test</td>
- <td class="head">failures</td>
- </tr>
- </thead>
- <tfoot>
- <tr valign="middle">
- <td class="head">test</td>
- <td class="head">failures</td>
- </tr>
- </tfoot>
-
- <tbody>
- <xsl:for-each select="$library_test_names">
- <xsl:sort select="." order="ascending"/>
- <xsl:variable name="test_name" select="."/>
-
- <xsl:variable name="unexpected_toolsets" select="$library_tests[ @test-name = $test_name and not (meta:is_unusable( $explicit_markup, $library, @toolset )) ]/@toolset"/>
-
- <xsl:if test="count( $unexpected_toolsets ) > 0">
- <xsl:variable name="test_program" select="$library_tests[@test-name = $test_name]/@test-program"/>
- <tr>
- <td class="test-name">
- <a href="../../../{$test_program}" class="test-link">
- <xsl:value-of select="$test_name"/>
- </a>
- </td>
- <td class="failures-row">
- <table summary="unexpected fail legend" class="issue-box">
- <tr class="library-row-single">
-
- <xsl:for-each select="$unexpected_toolsets">
- <xsl:sort select="." order="ascending"/>
- <xsl:variable name="toolset" select="."/>
- <xsl:variable name="test_result" select="$library_tests[@test-name = $test_name and @toolset = $toolset]"/>
- <xsl:variable name="log_link" select="meta:output_file_path( $test_result/@target-directory )"/>
- <xsl:variable name="class">
- <xsl:choose>
- <xsl:when test="$test_result/@is-new = 'yes'">
- <xsl:text>library-fail-unexpected-new</xsl:text>
- </xsl:when>
- <xsl:otherwise>
- <xsl:text>library-fail-unexpected</xsl:text>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:variable>
-
- <td class="{$class}">
- <span>
- <a href="{$log_link}" class="log-link" target="_top">
- <xsl:value-of select="."/>
- </a>
- </span>
- </td>
- </xsl:for-each>
-
- </tr>
- </table>
- </td>
- </tr>
- </xsl:if>
- </xsl:for-each>
- </tbody>
-
- </table>
-
-
- </xsl:if>
- </xsl:for-each>
-
- <xsl:copy-of select="document( 'html/issues_legend.html' )"/>
- <xsl:copy-of select="document( 'html/make_tinyurl.html' )"/>
-
- </body>
- </html>
- </exsl:document>
-
- </xsl:template>
-</xsl:stylesheet>
diff --git a/tools/regression/xsl_reports/xsl/links_page.xsl b/tools/regression/xsl_reports/xsl/links_page.xsl
deleted file mode 100644
index ebc4488f50..0000000000
--- a/tools/regression/xsl_reports/xsl/links_page.xsl
+++ /dev/null
@@ -1,134 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!--
-
-Copyright MetaCommunications, Inc. 2003-2004.
-
-Distributed under the Boost Software License, Version 1.0. (See
-accompanying file LICENSE_1_0.txt or copy at
-http://www.boost.org/LICENSE_1_0.txt)
-
--->
-
-<xsl:stylesheet
- xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
- xmlns:exsl="http://exslt.org/common"
- xmlns:func="http://exslt.org/functions"
- xmlns:str="http://exslt.org/strings"
- xmlns:set="http://exslt.org/sets"
- xmlns:meta="http://www.meta-comm.com"
- extension-element-prefixes="func exsl"
- exclude-result-prefixes="set str meta"
- version="1.0">
-
- <xsl:import href="common.xsl"/>
-
- <xsl:output method="html"
- doctype-public="-//W3C//DTD HTML 4.01 Transitional//EN"
- encoding="utf-8"
- indent="yes"
- />
-
- <xsl:param name="source"/>
- <xsl:param name="run_date"/>
- <xsl:param name="comment_file"/>
- <xsl:param name="explicit_markup_file"/>
-
- <xsl:variable name="explicit_markup" select="document( $explicit_markup_file )"/>
-
- <xsl:template match="test-log[ meta:show_output( $explicit_markup, . ) ]">
- <xsl:variable name="document_path" select="meta:output_file_path( @target-directory )"/>
-
- <xsl:message>Writing log file document <xsl:value-of select="$document_path"/></xsl:message>
-
- <exsl:document href="{$document_path}"
- method="html"
- doctype-public="-//W3C//DTD XHTML 1.0 Strict//EN"
- encoding="utf-8"
- indent="yes">
-
- <html>
- <xsl:variable name="component">
- <xsl:choose>
- <xsl:when test="@test-name != ''">
- <div class="log-test-title">
- <xsl:value-of select="concat( @library, ' - ', @test-name, ' / ', @toolset )"/>
- </div>
- </xsl:when>
- <xsl:otherwise>
- <xsl:value-of select="@target-dir"/>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:variable>
-
- <head>
- <link rel="stylesheet" type="text/css" href="../master.css" title="master" />
- <title>Boost regression - test run output: <xsl:value-of select="$component"/></title>
- </head>
-
- <body>
- <div>
- <div class="log-test-title">
- Boost regression - test run output: <xsl:value-of select="$component"/>
- </div>
-
-
- <xsl:if test="notes/note">
- <p>
- <div class="notes-title">Notes</div>
- <xsl:call-template name="show_notes">
- <xsl:with-param name="notes" select="notes/note"/>
- <xsl:with-param name="explicit_markup" select="$explicit_markup"/>
- </xsl:call-template>
- </p>
- </xsl:if>
-
- <xsl:if test="compile">
- <p>
- <div class="log-compiler-output-title">Compiler output:</div>
- <pre>
- <xsl:copy-of select="compile/node()"/>
- </pre>
- </p>
- </xsl:if>
-
- <xsl:if test="link">
- <p>
- <div class="log-linker-output-title">Linker output:</div>
- <pre>
- <xsl:copy-of select="link/node()"/>
- </pre>
- </p>
- </xsl:if>
-
- <xsl:if test="lib">
- <p>
- <div class="log-linker-output-title">Lib output:</div>
- <p>
- See <a href="{meta:encode_path( lib/node() )}.html">
- <xsl:copy-of select="lib/node()"/>
- </a>
- </p>
- </p>
- </xsl:if>
-
- <xsl:if test="run">
- <p>
- <div class="log-run-output-title">Run output:</div>
- <pre>
- <xsl:copy-of select="run/node()"/>
- </pre>
- </p>
- </xsl:if>
-
- </div>
-
- <xsl:copy-of select="document( 'html/make_tinyurl.html' )"/>
-
- </body>
-
- </html>
- </exsl:document>
-
- </xsl:template>
-
-</xsl:stylesheet>
diff --git a/tools/regression/xsl_reports/xsl/produce_expected_results.xsl b/tools/regression/xsl_reports/xsl/produce_expected_results.xsl
deleted file mode 100644
index a47a3acfed..0000000000
--- a/tools/regression/xsl_reports/xsl/produce_expected_results.xsl
+++ /dev/null
@@ -1,31 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!--
-
-Copyright MetaCommunications, Inc. 2003-2004.
-
-Distributed under the Boost Software License, Version 1.0. (See
-accompanying file LICENSE_1_0.txt or copy at
-http://www.boost.org/LICENSE_1_0.txt)
-
--->
-
-<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
- version="1.0">
-
- <xsl:output method="xml" encoding="utf-8"/>
-
- <xsl:template match="/">
- <root>
- <expected-failures>
- <xsl:apply-templates select="*/test-log"/>
- </expected-failures>
- </root>
- </xsl:template>
-
- <xsl:template match="test-log">
- <xsl:if test="meta:is_test_log_a_test_case(.)">
- <test-result library="{@library}" test-name="{@test-name}" toolset="{@toolset}" result="{@result}" />
- </xsl:if>
- </xsl:template>
-
-</xsl:stylesheet>
diff --git a/tools/regression/xsl_reports/xsl/result_page.xsl b/tools/regression/xsl_reports/xsl/result_page.xsl
deleted file mode 100644
index dbd0fbf919..0000000000
--- a/tools/regression/xsl_reports/xsl/result_page.xsl
+++ /dev/null
@@ -1,702 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!--
-
-Copyright MetaCommunications, Inc. 2003-2004.
-
-Distributed under the Boost Software License, Version 1.0. (See
-accompanying file LICENSE_1_0.txt or copy at
-http://www.boost.org/LICENSE_1_0.txt)
-
--->
-
-<xsl:stylesheet
- xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
- xmlns:exsl="http://exslt.org/common"
- xmlns:func="http://exslt.org/functions"
- xmlns:str="http://exslt.org/strings"
- xmlns:set="http://exslt.org/sets"
- xmlns:meta="http://www.meta-comm.com"
- extension-element-prefixes="func exsl"
- exclude-result-prefixes="set str meta"
- version="1.0">
-
- <xsl:import href="common.xsl"/>
-
- <xsl:output method="html"
- doctype-public="-//W3C//DTD HTML 4.01 Transitional//EN"
- encoding="utf-8"
- indent="yes"
- />
-
- <xsl:param name="links_file"/>
- <xsl:param name="mode"/>
- <xsl:param name="source"/>
- <xsl:param name="run_date"/>
- <xsl:param name="comment_file"/>
- <xsl:param name="expected_results_file"/>
- <xsl:param name="explicit_markup_file"/>
-
- <!-- the author-specified expected test results -->
- <xsl:variable name="explicit_markup" select="document( $explicit_markup_file )"/>
- <xsl:variable name="expected_results" select="document( $expected_results_file )" />
-
- <xsl:variable name="alternate_mode">
- <xsl:choose>
- <xsl:when test="$mode='user'">developer</xsl:when>
- <xsl:otherwise>user</xsl:otherwise>
- </xsl:choose>
- </xsl:variable>
-
- <!-- necessary indexes -->
- <xsl:key
- name="test_name_key"
- match="test-log"
- use="concat( @library, '&gt;@&lt;', @test-name )"/>
- <xsl:key name="toolset_key" match="test-log" use="@toolset"/>
-
- <!-- toolsets -->
-
- <xsl:variable name="not_ordered_toolsets" select="//test-log[ generate-id(.) = generate-id( key('toolset_key',@toolset)[1] ) and @toolset != '' ]/@toolset"/>
-
- <xsl:variable name="required_toolsets" select="$explicit_markup//mark-toolset[ @status='required' ]"/>
-
- <xsl:variable name="ordered_toolsets_fragment">
- <xsl:call-template name="get_toolsets">
- <xsl:with-param name="toolsets" select="$not_ordered_toolsets"/>
- <xsl:with-param name="required_toolsets" select="$required_toolsets"/>
- </xsl:call-template>
- </xsl:variable>
-
- <xsl:variable name="ordered_toolsets" select="exsl:node-set( $ordered_toolsets_fragment )"/>
-
- <!-- libraries -->
- <xsl:variable name="test_case_logs" select="//test-log[ meta:is_test_log_a_test_case(.) ]"/>
- <xsl:variable name="libraries" select="set:distinct( $test_case_logs/@library )"/>
-
- <xsl:template name="insert_toolsets_row">
- <xsl:param name="library"/>
- <xsl:param name="library_marks"/>
- <xsl:param name="toolsets"/>
- <tr valign="middle">
- <td class="head" colspan="2">test / toolset</td>
-
- <!--
- we need to select not all library notes, but only ones
- for toolsets present in the report
- -->
- <xsl:variable name="all_library_notes" select="$library_marks/note"/>
- <xsl:message terminate="yes">
- !!!!!!!!!!!!!!!!!!!1
- </xsl:message>
- <exsl:document href="debug2.xml"
- method="xml"
- encoding="utf-8"
- indent="yes">
- <debug>
- <xsl:copy-of select="$all_library_notes"/>
- </debug>
- </exsl:document>
- <xsl:for-each select="$toolsets/toolset">
- <xsl:variable name="toolset" select="@toolset"/>
-
- <xsl:variable name="class">
- <xsl:choose>
- <xsl:when test="@required='yes'">
- <xsl:text>required-toolset-name</xsl:text>
- </xsl:when>
- <xsl:otherwise>
- <xsl:text>toolset-name</xsl:text>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:variable>
-
- <xsl:variable name="toolset_notes_fragment">
- <xsl:for-each select="$all_library_notes">
- <xsl:if test="../@toolset=$toolset or ( ../toolset/@name=$toolset or ../toolset/@name = '*' )">
- <note index="{position()}"/>
- </xsl:if>
- </xsl:for-each>
- </xsl:variable>
-
- <xsl:variable name="toolset_notes" select="exsl:node-set( $toolset_notes_fragment )/*"/>
-
- <td class="{$class}"><xsl:value-of select="meta:toolset_name( $toolset )"/>
- <xsl:if test="count( $toolset_notes ) > 0">
- <span class="super">
- <xsl:for-each select="$toolset_notes">
- <xsl:variable name="note_index" select="@index"/>
- <xsl:if test="generate-id( . ) != generate-id( $toolset_notes[1] )">, </xsl:if>
- <a href="#{$library}-note-{$note_index}" title="Note {$note_index}">
- <xsl:value-of select="$note_index"/>
- </a>
- </xsl:for-each>
- </span>
- </xsl:if>
- </td>
- </xsl:for-each>
-
- <td class="head">toolset / test</td>
- </tr>
- </xsl:template>
-
- <xsl:template name="test_type_col">
- <td class="test-type">
- <a href="../../../status/compiler_status.html#Understanding" class="legend-link">
- <xsl:variable name="test_type" select="./@test-type"/>
- <xsl:choose>
- <xsl:when test="$test_type='run_pyd'"> <xsl:text>r</xsl:text> </xsl:when>
- <xsl:when test="$test_type='run'"> <xsl:text>r</xsl:text> </xsl:when>
- <xsl:when test="$test_type='run_fail'"> <xsl:text>rf</xsl:text> </xsl:when>
- <xsl:when test="$test_type='compile'"> <xsl:text>c</xsl:text> </xsl:when>
- <xsl:when test="$test_type='compile_fail'"> <xsl:text>cf</xsl:text> </xsl:when>
- <xsl:otherwise>
- <xsl:message terminate="yes">Incorrect test type "<xsl:value-of select="$test_type"/>"</xsl:message>
- </xsl:otherwise>
- </xsl:choose>
- </a>
- </td>
- </xsl:template>
-
-
- <xsl:template match="/">
-
- <xsl:variable name="index_path" select="'index_.html'"/>
-
- <!-- Index page -->
- <head>
- <link rel="stylesheet" type="text/css" href="../master.css" title="master" />
- <title>Boost regression: <xsl:value-of select="$source"/></title>
- </head>
- <frameset cols="190px,*" frameborder="0" framespacing="0" border="0">
- <frame name="tocframe" src="toc.html" scrolling="auto"/>
- <frame name="docframe" src="{$index_path}" scrolling="auto"/>
- </frameset>
-
- <!-- Index content -->
- <xsl:message>Writing document <xsl:value-of select="$index_path"/></xsl:message>
-
- <exsl:document href="{$index_path}"
- method="html"
- doctype-public="-//W3C//DTD XHTML 1.0 Strict//EN"
- encoding="utf-8"
- indent="yes">
-
- <html>
- <head>
- <link rel="stylesheet" type="text/css" href="../master.css" title="master" />
- </head>
- <body>
-
- <img border="0" src="../../../boost.png" width="277" height="86" align="right" alt="Boost logo"></img>
-
- <h1 class="page-title">
- <xsl:value-of select="$mode"/>
- <xsl:text> report: </xsl:text>
- <a class="hover-link" href="summary.html" target="_top"><xsl:value-of select="$source"/></a>
- </h1>
-
- <div class="report-info">
- <div>
- <b>Report Time: </b> <xsl:value-of select="$run_date"/>
- </div>
-
- <div>
- <b>Purpose: </b>
- <xsl:choose>
- <xsl:when test="$mode='user'">
- The purpose of this report is to help a user to find out whether a particular library
- works on the particular compiler(s). For CVS "health report", see
- <a href="../{$alternate_mode}/index.html" target="_top">developer summary</a>.
- </xsl:when>
- <xsl:when test="$mode='developer'">
- Provides Boost developers with visual indication of the CVS "health". For user-level
- report, see <a href="../{$alternate_mode}/index.html" target="_top">user summary</a>.
- </xsl:when>
- </xsl:choose>
- </div>
- </div>
-
- <div class="comment">
- <xsl:if test="$comment_file != ''">
- <xsl:copy-of select="document( $comment_file )"/>
- </xsl:if>
- </div>
-
- </body>
- </html>
- </exsl:document>
-
-
- <xsl:variable name="multiple.libraries" select="count( $libraries ) > 1"/>
-
- <!-- TOC -->
- <xsl:if test="$multiple.libraries">
-
- <xsl:variable name="toc_path" select="'toc.html'"/>
- <xsl:message>Writing document <xsl:value-of select="$toc_path"/></xsl:message>
-
- <exsl:document href="{$toc_path}"
- method="html"
- doctype-public="-//W3C//DTD XHTML 1.0 Strict//EN"
- encoding="utf-8"
- indent="yes">
-
- <html>
- <head>
- <link rel="stylesheet" type="text/css" href="../master.css" title="master" />
- </head>
- <body class="{$mode}-toc">
- <div class="toc-header-entry">
- <a href="index.html" class="toc-entry" target="_top">Report info</a>
- </div>
- <div class="toc-header-entry">
- <a href="summary.html" class="toc-entry" target="_top">Summary</a>
- </div>
-
- <xsl:if test="$mode='developer'">
- <div class="toc-header-entry">
- <a href="issues.html" class="toc-entry" target="_top">Unresolved issues</a>
- </div>
- </xsl:if>
- <hr/>
-
- <xsl:for-each select="$libraries">
- <xsl:sort select="." order="ascending" />
- <xsl:variable name="library_page" select="meta:encode_path(.)" />
- <div class="toc-entry">
- <a href="{$library_page}.html" class="toc-entry" target="_top">
- <xsl:value-of select="."/>
- </a>
- </div>
- </xsl:for-each>
- </body>
- </html>
-
- </exsl:document>
- </xsl:if>
-
- <!-- Libraries -->
- <xsl:for-each select="$libraries">
- <xsl:sort select="." order="ascending" />
- <xsl:variable name="library" select="." />
-
- <xsl:variable name="library_results" select="concat( meta:encode_path( $library ), '_.html' )"/>
- <xsl:variable name="library_page" select="concat( meta:encode_path( $library ), '.html' )"/>
-
- <!-- Library page -->
- <xsl:message>Writing document <xsl:value-of select="$library_page"/></xsl:message>
-
- <exsl:document href="{$library_page}"
- method="html"
- doctype-public="-//W3C//DTD XHTML 1.0 Strict//EN"
- encoding="utf-8"
- indent="yes">
-
- <html>
- <head>
- <link rel="stylesheet" type="text/css" href="../master.css" title="master" />
- <title>Boost regression: <xsl:value-of select="$library"/>/<xsl:value-of select="$source"/></title>
- </head>
- <frameset cols="190px,*" frameborder="0" framespacing="0" border="0">
- <frame name="tocframe" src="toc.html" scrolling="auto"/>
- <frame name="docframe" src="{$library_results}" scrolling="auto"/>
- </frameset>
- </html>
- </exsl:document>
-
- <!-- Library results frame -->
- <xsl:message>Writing document <xsl:value-of select="$library_results"/></xsl:message>
-
- <exsl:document href="{$library_results}"
- method="html"
- doctype-public="-//W3C//DTD XHTML 1.0 Strict//EN"
- encoding="utf-8"
- indent="yes">
-
- <html>
- <head>
- <link rel="stylesheet" type="text/css" href="../master.css" title="master" />
- </head>
-
- <body>
-
- <h1 class="page-title">
- <a class="hover-link" name="{$library}" href="../../../libs/{$library}">
- <xsl:value-of select="$library" />
- </a>
- <xsl:text>/</xsl:text>
- <a class="hover-link" href="summary.html" target="_top"><xsl:value-of select="$source"/></a>
- </h1>
-
- <div class="report-info">
- <b>Report Time: </b> <xsl:value-of select="$run_date"/>
- </div>
-
- <!-- library markup = all library-unusable markup for toolsets included in the report -->
- <xsl:variable name="library_marks" select="$explicit_markup//library[ @name = $library ]/mark-unusable[ toolset/@name = $not_ordered_toolsets ]"/>
-
- <table border="0" cellspacing="0" cellpadding="0" class="library-table" summary="library results">
-
- <thead>
- <xsl:call-template name="insert_toolsets_row">
- <xsl:with-param name="library_marks" select="$library_marks"/>
- <xsl:with-param name="library" select="$library"/>
- <xsl:with-param name="toolsets" select="$ordered_toolsets"/>
- </xsl:call-template>
- </thead>
- <tfoot>
- <xsl:call-template name="insert_toolsets_row">
- <xsl:with-param name="library_marks" select="$library_marks"/>
- <xsl:with-param name="library" select="$library"/>
- <xsl:with-param name="toolsets" select="$ordered_toolsets"/>
- </xsl:call-template>
- </tfoot>
-
- <tbody>
- <!-- lib_tests = test_log* -->
- <xsl:variable name="lib_tests" select="$test_case_logs[@library = $library]" />
-
- <!-- lib_unique_test_names = test_log* -->
- <xsl:variable name="lib_unique_test_names"
- select="$lib_tests[ generate-id(.) = generate-id( key('test_name_key', concat( @library, '&gt;@&lt;', @test-name ) ) ) ]" />
-
- <xsl:variable name="lib_corner_case_tests_markup" select="$explicit_markup//library[ @name = $library ]/test[ @corner-case='yes' ]"/>
- <xsl:variable name="lib_general_tests"
- select="meta:order_tests_by_name( $lib_unique_test_names[ not( @test-name = $lib_corner_case_tests_markup/@name ) ] )"/>
-
-
- <xsl:variable name="lib_corner_case_tests" select="meta:order_tests_by_name( $lib_unique_test_names[ @test-name = $lib_corner_case_tests_markup/@name ] ) " />
-
- <!-- general tests section -->
-
- <xsl:call-template name="insert_test_section">
- <xsl:with-param name="library" select="$library"/>
- <xsl:with-param name="section_tests" select="$lib_general_tests"/>
- <xsl:with-param name="lib_tests" select="$lib_tests"/>
- <xsl:with-param name="toolsets" select="$ordered_toolsets"/>
- </xsl:call-template>
-
- <!-- corner-case tests section -->
-
- <xsl:if test="count( $lib_corner_case_tests ) > 0">
- <tr>
- <td class="library-corner-case-header" colspan="{count($ordered_toolsets/toolset) + 3 }" align="center">Corner-case tests</td>
- </tr>
-
- <xsl:call-template name="insert_test_section">
- <xsl:with-param name="library" select="$library"/>
- <xsl:with-param name="section_tests" select="$lib_corner_case_tests"/>
- <xsl:with-param name="lib_tests" select="$lib_tests"/>
- <xsl:with-param name="toolsets" select="$ordered_toolsets"/>
- </xsl:call-template>
-
- </xsl:if>
-
- </tbody>
- </table>
- <xsl:if test="count( $library_marks/note ) > 0 ">
- <table border="0" cellpadding="0" cellspacing="0" class="library-library-notes" summary="library notes">
- <xsl:for-each select="$library_marks/note">
- <tr class="library-library-note">
- <td valign="top" width="3em">
- <a name="{$library}-note-{position()}">
- <span class="super"><xsl:value-of select="position()"/></span>
- </a>
- </td>
- <td>
- <xsl:variable name="refid" select="@refid"/>
- <xsl:call-template name="show_note">
- <xsl:with-param name="note" select="." />
- <xsl:with-param name="reference" select="$explicit_markup//note[ $refid = @id ]"/>
- </xsl:call-template>
- </td>
- </tr>
- </xsl:for-each>
- </table>
- </xsl:if>
-
- <xsl:copy-of select="document( concat( 'html/library_', $mode, '_legend.html' ) )"/>
- <xsl:copy-of select="document( 'html/make_tinyurl.html' )"/>
-
- </body>
- </html>
-
- </exsl:document>
-
- </xsl:for-each>
-
- </xsl:template>
-
-
- <!-- insert test result with log file link -->
-
- <xsl:template name="insert_test_result">
- <xsl:param name="result"/>
- <xsl:param name="log_link"/>
-
- <xsl:choose>
- <xsl:when test="$log_link != ''">
- <a href="{$log_link}" class="log-link" target="_top">
- <xsl:value-of select="$result"/>
- </a>
- </xsl:when>
- <xsl:otherwise>
- <xsl:value-of select="$result"/>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:template>
-
- <!-- report developer status -->
- <xsl:template name="insert_cell_developer">
- <xsl:param name="test_log"/>
- <xsl:param name="log_link"/>
-
- <xsl:variable name="is_new">
- <xsl:if test="$test_log/@is-new = 'yes' and $test_log/@status = 'unexpected' and $test_log/@result != 'success'">
- <xsl:value-of select="'-new'"/>
- </xsl:if>
- </xsl:variable>
-
- <xsl:variable name="class">
- <xsl:choose>
- <xsl:when test="not( $test_log )">
- <xsl:text>library-missing</xsl:text>
- </xsl:when>
- <xsl:when test="meta:is_unusable( $explicit_markup, $test_log/@library, $test_log/@toolset )">
- <xsl:text>library-unusable</xsl:text>
- </xsl:when>
- <xsl:otherwise>
- <xsl:value-of select="concat( 'library-', $test_log/@result, '-', $test_log/@status, $is_new )"/>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:variable>
-
- <td class="{$class}">
- <xsl:choose>
- <xsl:when test="not( $test_log )">
- <xsl:text>missing</xsl:text>
- </xsl:when>
-
- <xsl:when test="$test_log/@result != 'success' and $test_log/@status = 'expected'">
- <xsl:call-template name="insert_test_result">
- <xsl:with-param name="result" select="'fail'"/>
- <xsl:with-param name="log_link" select="$log_link"/>
- </xsl:call-template>
- </xsl:when>
-
- <xsl:when test="$test_log/@result != 'success' and $test_log/@status = 'unexpected'">
- <xsl:call-template name="insert_test_result">
- <xsl:with-param name="result" select="'fail'"/>
- <xsl:with-param name="log_link" select="$log_link"/>
- </xsl:call-template>
- </xsl:when>
-
- <xsl:when test="$test_log/@result = 'success' and $test_log/@status = 'unexpected'">
- <xsl:call-template name="insert_test_result">
- <xsl:with-param name="result" select="'pass'"/>
- <xsl:with-param name="log_link" select="$log_link"/>
- </xsl:call-template>
- </xsl:when>
-
- <xsl:otherwise>
- <xsl:call-template name="insert_test_result">
- <xsl:with-param name="result" select="'pass'"/>
- <xsl:with-param name="log_link" select="$log_link"/>
- </xsl:call-template>
- </xsl:otherwise>
- </xsl:choose>
- <xsl:if test="count( $test_log ) > 1" >
- <div class="library-conf-problem">conf.&#160;problem</div>
- </xsl:if>
- </td>
- </xsl:template>
-
- <!-- report user status -->
- <xsl:template name="insert_cell_user">
- <xsl:param name="test_log"/>
- <xsl:param name="log_link"/>
-
- <xsl:variable name="class">
- <xsl:choose>
- <xsl:when test="not( $test_log )">
- <xsl:text>library-missing</xsl:text>
- </xsl:when>
- <xsl:when test="meta:is_unusable( $explicit_markup, $test_log/@library, $test_log/@toolset )">
- <xsl:text>library-unusable</xsl:text>
- </xsl:when>
- <xsl:when test="$test_log[@result='fail' and @status='unexpected']">
- <xsl:text>library-user-fail-unexpected</xsl:text>
- </xsl:when>
- <xsl:when test="$test_log[ @result='fail' and @status='expected' ]">
- <xsl:text>library-user-fail-expected</xsl:text>
- </xsl:when>
- <xsl:when test="$test_log[ @result='success']">
- <xsl:text>library-user-success</xsl:text>
- </xsl:when>
- <xsl:otherwise>
- <xsl:message terminate="yes">
- Unknown status
- </xsl:message>
- </xsl:otherwise>
- </xsl:choose>
-
- </xsl:variable>
-
- <td class="{$class}">
- <xsl:choose>
- <xsl:when test="not( $test_log )">
- missing
- </xsl:when>
- <xsl:when test="$test_log/@result != 'success' and $test_log/@status = 'expected'">
- <a href="{$log_link}" class="log-link" target="_top">
- fail
- </a>
- </xsl:when>
- <xsl:when test="$test_log/@result != 'success'">
- <a href="{$log_link}" class="log-link" target="_top">
- unexp.
- </a>
- </xsl:when>
- <xsl:otherwise>
- <xsl:text>pass</xsl:text>
- </xsl:otherwise>
- </xsl:choose>
-
- <xsl:if test="count( $test_log ) > 1" >
- <div class="conf-problem">conf.&#160;problem</div>
- </xsl:if>
- </td>
- </xsl:template>
-
- <xsl:template name="insert_test_line">
- <xsl:param name="library"/>
- <xsl:param name="test_name"/>
- <xsl:param name="test_results"/>
- <xsl:param name="toolsets"/>
- <xsl:param name="line_mod"/>
-
- <xsl:variable name="test_program">
- <xsl:value-of select="$test_results[1]/@test-program"/>
- </xsl:variable>
-
- <xsl:variable name="test_header">
- <td class="test-name">
- <a href="../../../{$test_program}" class="test-link">
- <xsl:value-of select="$test_name"/>
- </a>
- </td>
- </xsl:variable>
-
- <tr class="library-row{$line_mod}">
- <xsl:copy-of select="$test_header"/>
- <xsl:call-template name="test_type_col"/>
-
- <xsl:for-each select="$toolsets/toolset">
- <xsl:variable name="toolset" select="@toolset" />
-
- <!-- Write log file -->
- <xsl:variable name="test_result_for_toolset" select="$test_results[ @toolset = $toolset ]"/>
-
- <xsl:variable name="log_file">
- <xsl:choose>
- <xsl:when test="meta:show_output( $explicit_markup, $test_result_for_toolset )">
- <xsl:value-of select="meta:output_file_path( $test_result_for_toolset/@target-directory )"/>
- </xsl:when>
- <xsl:otherwise>
- <xsl:text></xsl:text>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:variable>
-
-
- <xsl:if test="count( $test_result_for_toolset ) > 0 and $log_file != ''">
- <xsl:message>Writing log file document <xsl:value-of select="$log_file"/></xsl:message>
- <exsl:document href="{$log_file}"
- method="html"
- doctype-public="-//W3C//DTD XHTML 1.0 Strict//EN"
- encoding="utf-8"
- indent="yes">
-
- <html>
- <head>
- <link rel="stylesheet" type="text/css" href="../master.css" title="master" />
- <!--<title>Boost regression unresolved issues: <xsl:value-of select="$source"/></title>-->
- </head>
- <frameset cols="190px,*" frameborder="0" framespacing="0" border="0">
- <frame name="tocframe" src="../toc.html" scrolling="auto"/>
- <frame name="docframe" src="../../{$log_file}" scrolling="auto"/>
- </frameset>
- </html>
- </exsl:document>
- </xsl:if>
-
- <!-- Insert cell -->
- <xsl:choose>
- <xsl:when test="$mode='user'">
- <xsl:call-template name="insert_cell_user">
- <xsl:with-param name="test_log" select="$test_result_for_toolset"/>
- <xsl:with-param name="log_link" select="$log_file"/>
- </xsl:call-template>
- </xsl:when>
- <xsl:when test="$mode='developer'">
- <xsl:call-template name="insert_cell_developer">
- <xsl:with-param name="test_log" select="$test_result_for_toolset"/>
- <xsl:with-param name="log_link" select="$log_file"/>
- </xsl:call-template>
- </xsl:when>
- </xsl:choose>
-
- </xsl:for-each>
- <xsl:copy-of select="$test_header"/>
- </tr>
- </xsl:template>
-
- <xsl:template name="insert_test_section">
- <xsl:param name="library"/>
- <xsl:param name="section_tests"/>
- <xsl:param name="lib_tests"/>
- <xsl:param name="toolsets"/>
-
- <xsl:for-each select="$section_tests">
- <xsl:variable name="test_name" select="@test-name"/>
- <xsl:variable name="line_mod">
- <xsl:choose>
- <xsl:when test="1 = last()">
- <xsl:text>-single</xsl:text>
- </xsl:when>
- <xsl:when test="generate-id( . ) = generate-id( $section_tests[1] )">
- <xsl:text>-first</xsl:text>
- </xsl:when>
- <xsl:when test="generate-id( . ) = generate-id( $section_tests[last()] )">
- <xsl:text>-last</xsl:text>
- </xsl:when>
- <xsl:otherwise>
- <xsl:text></xsl:text>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:variable>
-
- <xsl:call-template name="insert_test_line">
- <xsl:with-param name="library" select="$library"/>
- <xsl:with-param name="test_results" select="$lib_tests[ @test-name = $test_name ]"/>
- <xsl:with-param name="toolsets" select="$toolsets"/>
- <xsl:with-param name="test_name" select="$test_name"/>
- <xsl:with-param name="line_mod" select="$line_mod"/>
- </xsl:call-template>
- </xsl:for-each>
-
- </xsl:template>
-
- <func:function name="meta:order_tests_by_name">
- <xsl:param name="tests"/>
-
- <xsl:variable name="a">
- <xsl:for-each select="$tests">
- <xsl:sort select="@test-name" order="ascending"/>
- <xsl:copy-of select="."/>
- </xsl:for-each>
- </xsl:variable>
- <func:result select="exsl:node-set( $a )/*"/>
- </func:function>
-
-</xsl:stylesheet>
diff --git a/tools/regression/xsl_reports/xsl/summary_page.xsl b/tools/regression/xsl_reports/xsl/summary_page.xsl
deleted file mode 100644
index 7bf3818c29..0000000000
--- a/tools/regression/xsl_reports/xsl/summary_page.xsl
+++ /dev/null
@@ -1,361 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!--
-
-Copyright MetaCommunications, Inc. 2003-2004.
-
-Distributed under the Boost Software License, Version 1.0. (See
-accompanying file LICENSE_1_0.txt or copy at
-http://www.boost.org/LICENSE_1_0.txt)
-
--->
-
-<xsl:stylesheet
- xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
- xmlns:exsl="http://exslt.org/common"
- xmlns:func="http://exslt.org/functions"
- xmlns:str="http://exslt.org/strings"
- xmlns:set="http://exslt.org/sets"
- xmlns:meta="http://www.meta-comm.com"
- extension-element-prefixes="func exsl"
- exclude-result-prefixes="set str meta"
- version="1.0">
-
- <xsl:import href="common.xsl"/>
-
- <xsl:output method="html"
- doctype-public="-//W3C//DTD HTML 4.01 Transitional//EN"
- encoding="utf-8"
- indent="yes"
- />
-
-
- <xsl:param name="mode"/>
- <xsl:param name="source"/>
- <xsl:param name="run_date"/>
- <xsl:param name="comment_file"/>
- <xsl:param name="explicit_markup_file"/>
-
- <xsl:variable name="explicit_markup" select="document( $explicit_markup_file )"/>
-
- <!-- necessary indexes -->
- <xsl:key
- name="library_test_name_key"
- match="test-log"
- use="concat( @library, '&gt;@&lt;', @test-name )"/>
- <xsl:key name="toolset_key" match="test-log" use="@toolset"/>
- <xsl:key name="test_name_key" match="test-log" use="@test-name "/>
-
- <!-- toolsets -->
-
- <xsl:variable name="toolsets" select="//test-log[ generate-id(.) = generate-id( key('toolset_key',@toolset)[1] ) and @toolset != '' ]/@toolset"/>
-
- <xsl:variable name="required_toolsets" select="$explicit_markup//mark-toolset[ @status='required' ]"/>
-
- <xsl:variable name="sorted_toolset_fragment">
- <xsl:call-template name="get_toolsets">
- <xsl:with-param name="toolsets" select="$toolsets"/>
- <xsl:with-param name="required_toolsets" select="$required_toolsets"/>
- </xsl:call-template>
- </xsl:variable>
-
- <xsl:variable name="sorted_toolsets" select="exsl:node-set( $sorted_toolset_fragment )"/>
-
- <!-- libraries -->
-
- <xsl:variable name="test_case_logs" select="//test-log[ meta:is_test_log_a_test_case(.) ]"/>
- <xsl:variable name="libraries" select="set:distinct( $test_case_logs/@library )"/>
-
- <xsl:variable name="sorted_libraries_output">
- <xsl:for-each select="$libraries">
- <xsl:sort select="." order="ascending" />
- <library><xsl:copy-of select="."/></library>
- </xsl:for-each>
- </xsl:variable>
-
- <xsl:variable name="sorted_libraries" select="exsl:node-set( $sorted_libraries_output )/library/@library"/>
-
-
- <xsl:template match="/">
-
- <xsl:variable name="summary_results" select="'summary_.html'"/>
-
- <!-- Summary page -->
- <html>
- <head>
- <link rel="stylesheet" type="text/css" href="../master.css" title="master" />
- <title>Boost regression summary: <xsl:value-of select="$source"/></title>
- </head>
- <frameset cols="190px,*" frameborder="0" framespacing="0" border="0">
- <frame name="tocframe" src="toc.html" scrolling="auto"/>
- <frame name="docframe" src="{$summary_results}" scrolling="auto"/>
- </frameset>
- </html>
-
- <!-- Summary results -->
- <xsl:message>Writing document <xsl:value-of select="$summary_results"/></xsl:message>
-
- <exsl:document href="{$summary_results}"
- method="html"
- doctype-public="-//W3C//DTD XHTML 1.0 Strict//EN"
- encoding="utf-8"
- indent="yes">
-
- <html>
- <head>
- <link rel="stylesheet" type="text/css" href="../master.css" title="master" />
- </head>
- <body>
-
- <h1 class="page-title">
- <xsl:text>Summary: </xsl:text>
- <a class="hover-link" href="summary.html" target="_top"><xsl:value-of select="$source"/></a>
- </h1>
-
- <div class="report-info">
- <b>Report Time: </b> <xsl:value-of select="$run_date"/>
- </div>
-
- <!-- summary table -->
-
- <table border="0" cellspacing="0" cellpadding="0" class="summary-table">
-
- <thead>
- <xsl:call-template name="insert_toolsets_row">
- <xsl:with-param name="toolsets" select="$sorted_toolsets"/>
- </xsl:call-template>
- </thead>
-
- <tfoot>
- <xsl:call-template name="insert_toolsets_row">
- <xsl:with-param name="toolsets" select="$sorted_toolsets"/>
- </xsl:call-template>
- </tfoot>
-
- <tbody>
- <xsl:variable name="test_logs" select="$test_case_logs"/>
-
- <!-- for each library -->
- <xsl:for-each select="$sorted_libraries">
- <xsl:variable name="library" select="."/>
- <xsl:variable name="library_page" select="meta:encode_path( $library )" />
- <xsl:variable name="current_row" select="$test_logs[ @library=$library]"/>
-
- <xsl:variable name="expected_test_count" select="count( $current_row[ generate-id(.) = generate-id( key('test_name_key',@test-name)[1] ) ] )"/>
- <xsl:variable name="library_header">
- <td class="library-name">
- <a href="{$library_page}.html" class="library-link" target="_top">
- <xsl:value-of select="$library"/>
- </a>
- </td>
- </xsl:variable>
-
- <xsl:variable name="line_mod">
- <xsl:choose>
- <xsl:when test="1 = last()">
- <xsl:text>-single</xsl:text>
- </xsl:when>
- <xsl:when test="generate-id( . ) = generate-id( $sorted_libraries[1] )">
- <xsl:text>-first</xsl:text>
- </xsl:when>
- <xsl:when test="generate-id( . ) = generate-id( $sorted_libraries[ last() ] )">
- <xsl:text>-last</xsl:text>
- </xsl:when>
- <xsl:otherwise>
- <xsl:text></xsl:text>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:variable>
-
-
- <tr class="summary-row{$line_mod}">
- <xsl:copy-of select="$library_header"/>
-
- <xsl:for-each select="$sorted_toolsets/toolset">
- <xsl:variable name="toolset" select="@toolset"/>
- <xsl:variable name="current_cell" select="$current_row[ @toolset=$toolset ]"/>
- <xsl:choose>
- <xsl:when test="$mode='user'">
- <xsl:call-template name="insert_cell_user">
- <xsl:with-param name="current_cell" select="$current_cell"/>
- <xsl:with-param name="library" select="$library"/>
- <xsl:with-param name="toolset" select="$toolset"/>
- <xsl:with-param name="expected_test_count" select="$expected_test_count"/>
- </xsl:call-template>
- </xsl:when>
- <xsl:when test="$mode='developer'">
- <xsl:call-template name="insert_cell_developer">
- <xsl:with-param name="current_cell" select="$current_cell"/>
- <xsl:with-param name="library" select="$library"/>
- <xsl:with-param name="toolset" select="$toolset"/>
- <xsl:with-param name="expected_test_count" select="$expected_test_count"/>
- </xsl:call-template>
- </xsl:when>
- </xsl:choose>
- </xsl:for-each>
-
- <xsl:copy-of select="$library_header"/>
- </tr>
- </xsl:for-each>
- </tbody>
- </table>
-
- <xsl:copy-of select="document( concat( 'html/summary_', $mode, '_legend.html' ) )"/>
- <xsl:copy-of select="document( 'html/make_tinyurl.html' )"/>
-
- </body>
- </html>
- </exsl:document>
-
- </xsl:template>
-
- <!-- report developer status -->
- <xsl:template name="insert_cell_developer">
- <xsl:param name="current_cell"/>
- <xsl:param name="library"/>
- <xsl:param name="toolset"/>
- <xsl:param name="expected_test_count"/>
- <xsl:variable name="class">
- <xsl:choose>
- <xsl:when test="meta:is_unusable( $explicit_markup, $library, $toolset )">
- <xsl:text>summary-unusable</xsl:text>
- </xsl:when>
- <xsl:when test="count( $current_cell ) &lt; $expected_test_count">
- <xsl:text>summary-missing</xsl:text>
- </xsl:when>
- <xsl:when test="count( $current_cell[@result='fail' and @status='unexpected' and @is-new='no'] )">
- <xsl:text>summary-fail-unexpected</xsl:text>
- </xsl:when>
- <xsl:when test="count( $current_cell[@result='fail' and @status='unexpected' and @is-new='yes'] )">
- <xsl:text>summary-fail-unexpected-new</xsl:text>
- </xsl:when>
- <xsl:when test="count( $current_cell[@result='success' and @status='unexpected'] )">
- <xsl:text>summary-success-unexpected</xsl:text>
- </xsl:when>
- <xsl:when test="count( $current_cell[@status='expected'] )">
- <xsl:text>summary-expected</xsl:text>
- </xsl:when>
- <xsl:otherwise>
- <xsl:text>summary-unknown-status</xsl:text>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:variable>
-
- <xsl:variable name="library_page" select="meta:encode_path( $library )" />
-
- <td class="{$class}">
- <xsl:choose>
- <xsl:when test="$class='summary-unusable'">
- <a href="{$library_page}.html" class="log-link" target="_top">
- <xsl:text>n/a</xsl:text>
- </a>
- </xsl:when>
- <xsl:when test="$class='summary-missing'">
- <xsl:text>missing</xsl:text>
- </xsl:when>
- <xsl:when test="$class='summary-fail-unexpected'">
- <a href="{$library_page}.html" class="log-link" target="_top">
- <xsl:text>broken</xsl:text>
- </a>
- </xsl:when>
- <xsl:when test="$class='summary-fail-unexpected-new' ">
- <a href="{$library_page}.html" class="log-link" target="_top">
- <xsl:text>fail</xsl:text>
- </a>
- </xsl:when>
- <xsl:otherwise>
- <xsl:text>OK</xsl:text>
- </xsl:otherwise>
- </xsl:choose>
- </td>
-
- </xsl:template>
-
-
- <!-- report user status -->
- <xsl:template name="insert_cell_user">
- <xsl:param name="current_cell"/>
- <xsl:param name="library"/>
- <xsl:param name="toolset"/>
- <xsl:param name="expected_test_count"/>
- <xsl:variable name="class">
- <xsl:choose>
- <xsl:when test="meta:is_unusable( $explicit_markup, $library, $toolset )">
- <xsl:text>summary-unusable</xsl:text>
- </xsl:when>
- <xsl:when test="count( $current_cell ) &lt; $expected_test_count">
- <xsl:text>summary-missing</xsl:text>
- </xsl:when>
- <xsl:when test="count( $current_cell[@result='fail' and @status='unexpected' ] )">
- <xsl:text>summary-user-fail-unexpected</xsl:text>
- </xsl:when>
- <xsl:when test="count( $current_cell[ @result='fail'] )">
- <xsl:text>summary-user-fail-expected</xsl:text>
- </xsl:when>
- <xsl:when test="count( $current_cell[ @result='success'] )">
- <xsl:text>summary-user-success</xsl:text>
- </xsl:when>
- <xsl:otherwise>
- <xsl:text>summary-unknown-status</xsl:text>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:variable>
-
- <xsl:variable name="library_page" select="meta:encode_path( $library )" />
-
- <td class="{$class}">
- <xsl:choose>
- <xsl:when test="$class='summary-unusable'">
- <a href="{$library_page}.html" class="log-link" target="_top">
- <xsl:text>unusable</xsl:text>
- </a>
- </xsl:when>
-
- <xsl:when test="$class='summary-missing'">
- <xsl:text>missing</xsl:text>
- </xsl:when>
-
- <xsl:when test="$class='summary-user-fail-unexpected'">
- <a href="{$library_page}.html" class="log-link" target="_top">
- <xsl:text>unexp.</xsl:text>
- </a>
- </xsl:when>
-
- <xsl:when test="$class='summary-user-fail-expected'">
- <a href="{$library_page}.html" class="log-link" target="_top">
- <xsl:text>details</xsl:text>
- </a>
- </xsl:when>
-
- <xsl:otherwise>
- <xsl:text>&#160;</xsl:text>
- </xsl:otherwise>
- </xsl:choose>
- </td>
-
- </xsl:template>
-
- <xsl:template name="insert_toolsets_row">
- <xsl:param name="toolsets"/>
- <tr>
- <td class="head">library / toolset</td>
-
- <xsl:for-each select="$toolsets/toolset">
- <xsl:variable name="class">
- <xsl:choose>
- <xsl:when test="@required='yes'">
- <xsl:text>required-toolset-name</xsl:text>
- </xsl:when>
- <xsl:otherwise>
- <xsl:text>toolset-name</xsl:text>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:variable>
-
- <td class="{$class}"><xsl:value-of select="meta:toolset_name( @toolset )"/></td>
- </xsl:for-each>
-
- <td class="head">toolset / library</td>
- </tr>
- </xsl:template>
-
-</xsl:stylesheet>
diff --git a/tools/regression/xsl_reports/xsl/test/test_re_match.xml b/tools/regression/xsl_reports/xsl/test/test_re_match.xml
deleted file mode 100644
index 3841f782d7..0000000000
--- a/tools/regression/xsl_reports/xsl/test/test_re_match.xml
+++ /dev/null
@@ -1,57 +0,0 @@
-<!--
-
-Copyright MetaCommunications, Inc. 2003-2005.
-
-Distributed under the Boost Software License, Version 1.0. (See
-accompanying file LICENSE_1_0.txt or copy at
-http://www.boost.org/LICENSE_1_0.txt)
-
--->
-
-<root>
-
-<test pattern="" text="" result="true"/>
-<test pattern="pattern" text="pattern" result="true"/>
-<test pattern="" text="pattern" result="false"/>
-<test pattern="pattern" text="" result="false"/>
-
-<test pattern="*" text="" result="true"/>
-<test pattern="*" text="pattern" result="true"/>
-
-<test pattern="*pattern*" text="" result="false"/>
-<test pattern="*pattern*" text="__pattern__" result="true"/>
-<test pattern="*pattern*" text="pattern" result="true"/>
-<test pattern="*pattern*" text="patter" result="false"/>
-<test pattern="*pattern*" text="patte__" result="false"/>
-<test pattern="*pattern*" text="attern" result="false"/>
-<test pattern="*pattern*" text="__ttern" result="false"/>
-
-<test pattern="*pattern" text="" result="false"/>
-<test pattern="*pattern" text="__pattern" result="true"/>
-<test pattern="*pattern" text="pattern" result="true"/>
-<test pattern="*pattern" text="pattern__" result="false"/>
-<test pattern="*pattern" text="patter" result="false"/>
-<test pattern="*pattern" text="patte__" result="false"/>
-<test pattern="*pattern" text="attern" result="false"/>
-<test pattern="*pattern" text="__ttern" result="false"/>
-
-<test pattern="pattern*" text="" result="false"/>
-<test pattern="pattern*" text="pattern__" result="true"/>
-<test pattern="pattern*" text="pattern" result="true"/>
-<test pattern="pattern*" text="patter" result="false"/>
-<test pattern="pattern*" text="__pattern" result="false"/>
-<test pattern="pattern*" text="attern" result="false"/>
-<test pattern="pattern*" text="patter_" result="false"/>
-<test pattern="pattern*" text="patte__" result="false"/>
-
-<test pattern="patt*ern" text="" result="false"/>
-<test pattern="patt*ern" text="patt__ern" result="true"/>
-<test pattern="patt*ern" text="pattern" result="true"/>
-<test pattern="patter*n" text="patter__n" result="true"/>
-<test pattern="p*attern" text="pttern" result="false"/>
-<test pattern="p*attern" text="pattern" result="true"/>
-<test pattern="patter*n" text="patter" result="false"/>
-<test pattern="p*attern" text="attern" result="false"/>
-<test pattern="p*attern" text="p_ttern" result="false"/>
-
-</root>
diff --git a/tools/regression/xsl_reports/xsl/test/test_re_match.xsl b/tools/regression/xsl_reports/xsl/test/test_re_match.xsl
deleted file mode 100644
index eefd313166..0000000000
--- a/tools/regression/xsl_reports/xsl/test/test_re_match.xsl
+++ /dev/null
@@ -1,60 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!--
-
-Copyright MetaCommunications, Inc. 2003-2004.
-
-Distributed under the Boost Software License, Version 1.0. (See
-accompanying file LICENSE_1_0.txt or copy at
-http://www.boost.org/LICENSE_1_0.txt)
-
--->
-
-<xsl:stylesheet
- xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
- xmlns:exsl="http://exslt.org/common"
- xmlns:func="http://exslt.org/functions"
- xmlns:str="http://exslt.org/strings"
- xmlns:meta="http://www.meta-comm.com"
- extension-element-prefixes="func"
- exclude-result-prefixes="str meta exsl"
- version="1.0">
-
- <func:function name="meta:re_match">
- <xsl:param name="pattern"/>
- <xsl:param name="text"/>
-
- <xsl:choose>
- <xsl:when test="not( contains( $pattern, '*' ) )">
- <func:result select="$text = $pattern"/>
- </xsl:when>
- <xsl:when test="$pattern = '*'">
- <func:result select="1 = 1"/>
- </xsl:when>
- <xsl:when test="substring( $pattern, 1, 1 ) = '*' and substring( $pattern, string-length($pattern), 1 ) = '*' ">
- <func:result select="contains( $text, substring( $pattern, 2, string-length($pattern) - 2 ) ) "/>
- </xsl:when>
- <xsl:when test="substring( $pattern, 1, 1 ) = '*'">
- <xsl:variable name="pattern_tail" select="substring( $pattern, 2, string-length($pattern) - 1 )"/>
- <func:result select="substring( $text, string-length($text) - string-length($pattern_tail) + 1, string-length($pattern_tail) ) = $pattern_tail"/>
- </xsl:when>
- <xsl:when test="substring( $pattern, string-length($pattern), 1 ) = '*' ">
- <xsl:variable name="pattern_head" select="substring( $pattern, 1, string-length($pattern) - 1 )"/>
- <func:result select="starts-with( $text, $pattern_head )"/>
- </xsl:when>
- <xsl:when test="contains( $pattern, '*' ) ">
- <xsl:variable name="pattern_head" select="substring-before( $pattern, '*' )"/>
- <xsl:variable name="pattern_tail" select="substring-after( $pattern, '*' )"/>
- <func:result select="starts-with( $text, $pattern_head ) and substring( $text, string-length($text) - string-length($pattern_tail) + 1, string-length($pattern_tail) ) = $pattern_tail"/>
- </xsl:when>
- </xsl:choose>
- </func:function>
-
- <xsl:template match='test'>
- <xsl:variable name="result" select="meta:re_match( @pattern, @text )"/>
- <xsl:variable name="expected-result" select="@result = 'true'"/>
- <xsl:if test="$result != $expected-result">
- <failed regex="{@pattern}" text="{@text}" result="{$result}" expected-result="{$expected-result}"/>
- </xsl:if>
- </xsl:template>
-
-</xsl:stylesheet>
diff --git a/tools/regression/xsl_reports/xsl/v2/add_expected_results.xsl b/tools/regression/xsl_reports/xsl/v2/add_expected_results.xsl
deleted file mode 100644
index b519a7754f..0000000000
--- a/tools/regression/xsl_reports/xsl/v2/add_expected_results.xsl
+++ /dev/null
@@ -1,270 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!--
-
-Copyright MetaCommunications, Inc. 2003-2007.
-
-Distributed under the Boost Software License, Version 1.0. (See
-accompanying file LICENSE_1_0.txt or copy at
-http://www.boost.org/LICENSE_1_0.txt)
-
--->
-
-<xsl:stylesheet
- xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
- xmlns:func="http://exslt.org/functions"
- xmlns:meta="http://www.meta-comm.com"
- extension-element-prefixes="func"
- exclude-result-prefixes="func meta"
- version="1.0">
-
- <xsl:import href="common.xsl"/>
-
- <xsl:output method="xml" encoding="utf-8"/>
-
- <xsl:param name="expected_results_file"/>
- <xsl:param name="failures_markup_file"/>
- <xsl:param name="source"/>
- <xsl:variable name="expected_results" select="document( $expected_results_file )" />
-
- <func:function name="meta:is_test_log_complete">
- <xsl:param name="test_log"/>
- <xsl:variable name="type" select="$test_log/@test-type"/>
- <func:result>
- <xsl:choose>
- <xsl:when test="$type='compile' or $type='compile_fail' or $test_log/compile/@result='fail' ">
- <xsl:value-of select="count( $test_log/compile ) = 1 and count( $test_log/link) = 0 and count( $test_log/run) = 0"/>
- </xsl:when>
- <xsl:when test="$type='link' or $type='link_fail' or $type='' or $type='lib' or $test_log/link/@result='fail'">
- <xsl:value-of select="count( $test_log/compile) = 1 and count( $test_log/link) = 1 and count( $test_log/run) = 0"/></xsl:when>
- <xsl:when test="$type='run' or $type='run_fail' or $type='run_pyd' or $type='run_mpi'">
- <xsl:value-of select="count( $test_log/compile) = 1 and count( $test_log/link) = 1 and count($test_log/run) = 1 "/>
- </xsl:when>
- <xsl:otherwise>
- <xsl:message terminate="yes">
- Unknown test type "<xsl:value-of select="$type"/>"
- </xsl:message>
- </xsl:otherwise>
- </xsl:choose>
- </func:result>
- </func:function>
-
-
- <xsl:key name = "trk" match = "test-result" use = "concat( ../../@name, '-', ../@name, '-', @test-name )" />
- <xsl:key name = "tak" match = "toolset-alias" use = "@name" />
-
- <xsl:variable name="failures_markup" select="document( $failures_markup_file )" />
- <xsl:template match="/">
- <xsl:apply-templates/>
- </xsl:template>
-
- <xsl:template match="test-log">
- <xsl:variable name="test_log" select="."/>
- <xsl:variable name="library" select="@library"/>
- <xsl:variable name="test-name" select="@test-name"/>
- <xsl:variable name="toolset" select="@toolset"/>
-
- <xsl:variable name="is_complete" select="meta:is_test_log_complete( $test_log )"/>
-
- <xsl:element name="{local-name()}">
- <xsl:apply-templates select="@*"/>
-
- <xsl:variable name="has_failures" select="./*/@result = 'fail'"/>
- <xsl:variable name="actual_result">
- <xsl:choose>
- <xsl:when test="$has_failures or not( $is_complete )" >
- <xsl:text>fail</xsl:text>
- </xsl:when>
- <xsl:otherwise>
- <xsl:text>success</xsl:text>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:variable>
-
- <!--
- Select expected_results context
- See http://clover.slavic.pitt.edu/~repertorium/plectogram/keys/keys.html for a good explanation.
-
- Briefly, for-each doesn't iterate through expected_results, it just selects expected result
- as current context to make "key" function work.
- -->
-
- <xsl:for-each select="$expected_results">
-
- <xsl:variable name="main_toolset" select="key( 'tak', $toolset )/../@name" />
- <xsl:variable name="toolset_name">
- <xsl:choose>
- <xsl:when test="$main_toolset"><xsl:value-of select="$main_toolset"/></xsl:when>
- <xsl:otherwise><xsl:value-of select="$toolset"/></xsl:otherwise>
- </xsl:choose>
- </xsl:variable>
-
- <xsl:variable name="expected_results_test_case" select="key( 'trk', concat( $toolset_name, '-', $library, '-', $test-name ) )"/>
- <xsl:variable name="test_case_markup" select="$failures_markup//library[@name=$library]/test[ meta:re_match( @name, $test-name ) ]"/>
- <xsl:variable name="test_failures_markup" select="$test_case_markup/mark-failure/toolset[ meta:re_match( @name, $toolset ) ]/.."/>
- <xsl:variable name="test_failures_markup2" select="$failures_markup//library[@name=$library]/mark-expected-failures/test[ meta:re_match( @name, $test-name ) ]/../toolset[ meta:re_match( @name, $toolset ) ]/.."/>
-
- <xsl:variable name="category">
- <xsl:choose>
- <xsl:when test="$test_case_markup/@category">
- <xsl:value-of select="$test_case_markup/@category"/>
- </xsl:when>
- <xsl:otherwise>0</xsl:otherwise>
- </xsl:choose>
- </xsl:variable>
-
-
- <xsl:variable name="is_new">
- <xsl:choose>
- <xsl:when test="$expected_results_test_case">
- <xsl:text>no</xsl:text>
- </xsl:when>
- <xsl:otherwise>yes</xsl:otherwise>
- </xsl:choose>
- </xsl:variable>
-
-
- <xsl:variable name="has_explicit_markup" select="count( $test_failures_markup ) > 0 or count( $test_failures_markup2 ) > 0"/>
-
- <xsl:variable name="expected_result">
- <xsl:choose>
- <xsl:when test="$has_explicit_markup">
- <xsl:text>fail</xsl:text>
- </xsl:when>
-
- <xsl:otherwise>
- <xsl:choose>
- <xsl:when test="$expected_results_test_case and $expected_results_test_case/@result = 'fail'">
- <xsl:text>fail</xsl:text>
- </xsl:when>
- <xsl:otherwise>success</xsl:otherwise>
- </xsl:choose>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:variable>
-
- <xsl:variable name="status">
- <xsl:choose>
- <xsl:when test="$expected_result = $actual_result">expected</xsl:when>
- <xsl:otherwise>unexpected</xsl:otherwise>
- </xsl:choose>
- </xsl:variable>
-
- <xsl:variable name="unexpected_success" select="$status = 'unexpected' and $actual_result = 'success'"/>
-
- <xsl:variable name="expected_reason">
- <xsl:choose>
- <xsl:when test="$test_failures_markup/@reason">
- <xsl:value-of select="$test_failures_markup/@reason"/>
- </xsl:when>
- <xsl:otherwise>
- <xsl:value-of select="$test_failures_markup2/@reason"/>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:variable>
-
-
- <xsl:variable name="notes">
-
- <xsl:if test="$unexpected_success and $has_explicit_markup">
- <note>
- <span class="auto-note">
- This test case was explicitly marked up in
- <a href="http://svn.boost.org/svn/boost/{$source}/status/explicit-failures-markup.xml">
- status/explicit-failures-markup.xml</a> file in the Boost SVN as "expected to fail",
- but is passing. Please consult the notes/output below for more details.
- </span>
- </note>
- </xsl:if>
-
- <xsl:if test="$has_explicit_markup and count( $test_failures_markup2/note ) = 0 and count( $test_failures_markup/note ) = 0">
- <xsl:choose>
- <xsl:when test="$unexpected_success">
- <note>
- <span class="auto-note">
- No explanation was provided for this markup. Please contact the library
- author(s)/maintainer(s) for more details.
- </span>
- </note>
- </xsl:when>
- <xsl:otherwise>
- <note>
- <span class="auto-note">
- This failure was explicitly marked as expected in
- <a href="http://svn.boost.org/svn/boost/{$source}/status/explicit-failures-markup.xml">
- status/explicit-failures-markup.xml</a> file in the Boost SVN.
- Please contact the library author(s)/maintainer(s) for the explanation of this markup.
- </span>
- </note>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:if>
-
- <xsl:if test="count( $test_failures_markup ) > 0">
- <xsl:for-each select="$test_failures_markup/note">
- <xsl:copy-of select="."/>
- </xsl:for-each>
- </xsl:if>
-
- <xsl:if test="count( $test_failures_markup2 ) > 0">
- <xsl:for-each select="$test_failures_markup2/note">
- <xsl:copy-of select="."/>
- </xsl:for-each>
- </xsl:if>
-
-
- <xsl:if test="$expected_results_test_case and $expected_results_test_case/@result = 'fail'">
- <xsl:choose>
- <xsl:when test="$unexpected_success">
- <note>
- <span class="auto-note">
- This test case used to fail in the reference ("last-known-good") release.
- </span>
- </note>
- </xsl:when>
- <xsl:otherwise>
- <note>
- <span class="auto-note">
- This failure was present in the reference ("last-known-good") release.
- </span>
- </note>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:if>
-
- <xsl:if test="not( $is_complete ) and not( $has_failures )">
- <note>
- <span class="internal-error-note">
- <b>[Reporting Tools Internal Error]</b> This test case's XML is missing one or more log entries
- of the regression run's steps associated with the test case's type ("<xsl:value-of select="$test_log/@test-type"/>").
- Please <a href="mailto:mailto:boost-testing@lists.boost.org">contact reporting tools
- maintainers</a> about this problem.
- </span>
- </note>
- </xsl:if>
- </xsl:variable>
-
- <xsl:attribute name="result"><xsl:value-of select="$actual_result"/></xsl:attribute>
- <xsl:attribute name="expected-result"><xsl:value-of select="$expected_result"/></xsl:attribute>
- <xsl:attribute name="expected-reason"><xsl:value-of select="$expected_reason"/></xsl:attribute>
- <xsl:attribute name="status"><xsl:value-of select="$status"/></xsl:attribute>
- <xsl:attribute name="is-new"><xsl:value-of select="$is_new"/></xsl:attribute>
- <xsl:attribute name="category"><xsl:value-of select="$category"/></xsl:attribute>
- <xsl:element name="notes"><xsl:copy-of select="$notes"/></xsl:element>
-
- <xsl:apply-templates select="$test_log/node()" />
- </xsl:for-each>
- </xsl:element>
- </xsl:template>
-
- <xsl:template match="*">
- <xsl:element name="{local-name()}">
- <xsl:apply-templates select="@*"/>
- <xsl:apply-templates select="node()" />
- </xsl:element>
- </xsl:template>
-
- <xsl:template match="@*">
- <xsl:copy-of select="." />
- </xsl:template>
-
-</xsl:stylesheet>
diff --git a/tools/regression/xsl_reports/xsl/v2/boostbook_log.xsl b/tools/regression/xsl_reports/xsl/v2/boostbook_log.xsl
deleted file mode 100644
index 009f0eb27c..0000000000
--- a/tools/regression/xsl_reports/xsl/v2/boostbook_log.xsl
+++ /dev/null
@@ -1,42 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!--
-
-Copyright MetaCommunications, Inc. 2003-2007.
-
-Distributed under the Boost Software License, Version 1.0. (See
-accompanying file LICENSE_1_0.txt or copy at
-http://www.boost.org/LICENSE_1_0.txt)
-
--->
-<xsl:stylesheet
- xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
- xmlns:func="http://exslt.org/functions"
- xmlns:meta="http://www.meta-comm.com"
- extension-element-prefixes="func"
- exclude-result-prefixes="func meta"
- version="1.0">
-
-<xsl:output method="html" encoding="UTF-8"/>
-<xsl:template match="/">
- <html>
- <head>
- <title>BoostBook build log for <xsl:value-of select="build/@timestamp"/></title>
- <style>
- span.failure { background-color: red; }
- </style>
- </head>
- <body>
- <xsl:apply-templates/>
- </body>
- </html>
-</xsl:template>
- <xsl:template match="build">
- <pre>
- <xsl:apply-templates/>
- </pre>
- </xsl:template>
-
- <xsl:template match="line">
- <span class="{@type}"><xsl:value-of select="text()"/></span><br/>
- </xsl:template>
-</xsl:stylesheet> \ No newline at end of file
diff --git a/tools/regression/xsl_reports/xsl/v2/common.xsl b/tools/regression/xsl_reports/xsl/v2/common.xsl
deleted file mode 100644
index 14023f0395..0000000000
--- a/tools/regression/xsl_reports/xsl/v2/common.xsl
+++ /dev/null
@@ -1,668 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!--
-
-Copyright MetaCommunications, Inc. 2003-2005.
-
-Distributed under the Boost Software License, Version 1.0. (See
-accompanying file LICENSE_1_0.txt or copy at
-http://www.boost.org/LICENSE_1_0.txt)
-
--->
-
-<xsl:stylesheet
- xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
- xmlns:exsl="http://exslt.org/common"
- xmlns:func="http://exslt.org/functions"
- xmlns:date="http://exslt.org/dates-and-times"
- xmlns:str="http://exslt.org/strings"
- xmlns:set="http://exslt.org/sets"
- xmlns:meta="http://www.meta-comm.com"
- extension-element-prefixes="func"
- exclude-result-prefixes="exsl func date str set meta"
- version="1.0">
-
- <xsl:variable name="output_directory" select="'output'"/>
-
- <!-- general -->
-
- <func:function name="meta:iif">
- <xsl:param name="condition"/>
- <xsl:param name="if_true"/>
- <xsl:param name="if_false"/>
-
- <xsl:choose>
- <xsl:when test="$condition">
- <func:result select="$if_true"/>
- </xsl:when>
- <xsl:otherwise>
- <func:result select="$if_false"/>
- </xsl:otherwise>
- </xsl:choose>
- </func:function>
-
- <!-- structural -->
-
- <func:function name="meta:test_structure">
- <xsl:param name="document"/>
- <xsl:param name="release"/>
- <xsl:variable name="required_toolsets" select="$explicit_markup//mark-toolset[ @status='required' ]"/>
-
- <xsl:variable name="runs" select="$document//test-run"/>
- <xsl:variable name="platforms" select="set:distinct( $document//test-run/@platform )"/>
-
-
- <xsl:variable name="run_toolsets_f">
- <platforms>
- <xsl:for-each select="$platforms">
- <xsl:sort select="."/>
- <xsl:variable name="platform" select="."/>
- <platform name="{$platform}">
- <runs>
- <xsl:for-each select="$runs[ @platform = $platform ]">
- <xsl:sort select="@platform"/>
- <run
- runner="{@runner}"
- timestamp="{@timestamp}"
- platform="{@platform}"
- run-type="{@run-type}"
- source="{@source}"
- revision="{@revision}">
-
- <comment><xsl:value-of select="comment"/></comment>
- <xsl:variable name="not_ordered_toolsets" select="set:distinct( .//test-log[ meta:is_test_log_a_test_case(.) and meta:show_toolset( @toolset, $release ) ]/@toolset ) "/>
-
- <xsl:variable name="not_ordered_toolsets_with_info_f">
- <xsl:for-each select="$not_ordered_toolsets">
- <xsl:sort select="." order="ascending"/>
- <xsl:variable name="toolset" select="."/>
- <xsl:variable name="required">
- <xsl:choose>
- <xsl:when test="count( $required_toolsets[ @name = $toolset ] ) > 0">yes</xsl:when>
- <xsl:otherwise>no</xsl:otherwise>
- </xsl:choose>
- </xsl:variable>
- <xsl:variable name="required_sort_hint">
- <xsl:choose>
- <xsl:when test="$required = 'yes'">sort hint A</xsl:when>
- <xsl:otherwise>sort hint B</xsl:otherwise>
- </xsl:choose>
- </xsl:variable>
- <toolset name="{$toolset}" required="{$required}" required_sort_hint="{$required_sort_hint}"/>
- </xsl:for-each>
- </xsl:variable>
-
- <xsl:variable name="not_ordered_toolsets_with_info" select="exsl:node-set( $not_ordered_toolsets_with_info_f )"/>
-
- <xsl:for-each select="$not_ordered_toolsets_with_info/toolset">
- <xsl:sort select="concat( @required_sort_hint, '-', @name )" order="ascending"/>
- <xsl:copy-of select="."/>
- </xsl:for-each>
- </run>
- </xsl:for-each>
- </runs>
- </platform>
- </xsl:for-each>
- </platforms>
- </xsl:variable>
- <func:result select="exsl:node-set( $run_toolsets_f )"/>
- </func:function>
-
-
- <func:function name="meta:test_case_status">
- <xsl:param name="explicit_markup"/>
- <xsl:param name="test_log"/>
-
- <xsl:variable name="status">
- <xsl:choose>
- <xsl:when test="meta:is_unusable( $explicit_markup, $test_log/@library, $test_log/@toolset )">
- <xsl:text>unusable</xsl:text>
- </xsl:when>
- <xsl:when test="$test_log/@result='fail' and $test_log/@status='unexpected' and $test_log/@is-new='no'">
- <xsl:text>fail-unexpected</xsl:text>
- </xsl:when>
- <xsl:when test="$test_log/@result='fail' and $test_log/@status='unexpected' and $test_log/@is-new='yes'">
- <xsl:text>fail-unexpected-new</xsl:text>
- </xsl:when>
- <xsl:when test="$test_log/@result='success' and $test_log/@status='unexpected'">
- <xsl:text>success-unexpected</xsl:text>
- </xsl:when>
- <xsl:when test="$test_log/@status='expected'">
- <xsl:text>expected</xsl:text>
- </xsl:when>
- <xsl:otherwise>
- <xsl:text>other</xsl:text>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:variable>
- <func:result select="$status"/>
- </func:function>
-
- <func:function name="meta:is_toolset_required">
- <xsl:param name="toolset"/>
- <func:result select="count( $explicit_markup/explicit-failures-markup/mark-toolset[ @name = $toolset and @status='required' ] ) > 0"/>
- </func:function>
-
- <func:function name="meta:is_library_beta">
- <xsl:param name="library"/>
- <func:result select="count( $explicit_markup/explicit-failures-markup/library[ @name = $library and @status='beta' ] ) > 0"/>
- </func:function>
-
- <func:function name="meta:is_test_log_a_test_case">
- <xsl:param name="test_log"/>
- <xsl:variable name="type" select="$test_log/@test-type"/>
- <func:result select="$type='compile' or $type='compile_fail' or $type='link' or $type='link_fail'
- or $type='run' or $type='run_fail' or $type='run_pyd' or $type='run_mpi'"/>
- </func:function>
-
-
- <func:function name="meta:is_unusable_">
- <xsl:param name="explicit_markup"/>
- <xsl:param name="library"/>
- <xsl:param name="toolset"/>
-
- <func:result select="count( $explicit_markup//library[ @name = $library ]/mark-unusable/toolset[ meta:re_match( @name, $toolset ) ] ) > 0"/>
- </func:function>
-
- <func:function name="meta:is_unusable">
- <xsl:param name="explicit_markup"/>
- <xsl:param name="library"/>
- <xsl:param name="toolset"/>
-
- <func:result select="count( $explicit_markup//library[ @name = $library ]/mark-unusable/toolset[ meta:re_match( @name, $toolset ) ] ) > 0"/>
- </func:function>
-
- <func:function name="meta:re_match">
- <xsl:param name="pattern"/>
- <xsl:param name="text"/>
-
- <xsl:choose>
- <xsl:when test="not( contains( $pattern, '*' ) )">
- <func:result select="$text = $pattern"/>
- </xsl:when>
- <xsl:when test="$pattern = '*'">
- <func:result select="1 = 1"/>
- </xsl:when>
- <xsl:when test="substring( $pattern, 1, 1 ) = '*' and substring( $pattern, string-length($pattern), 1 ) = '*' ">
- <func:result select="contains( $text, substring( $pattern, 2, string-length($pattern) - 2 ) ) "/>
- </xsl:when>
- <xsl:when test="substring( $pattern, 1, 1 ) = '*'">
- <xsl:variable name="pattern_tail" select="substring( $pattern, 2, string-length($pattern) - 1 )"/>
- <func:result select="substring( $text, string-length($text) - string-length($pattern_tail) + 1, string-length($pattern_tail) ) = $pattern_tail"/>
- </xsl:when>
- <xsl:when test="substring( $pattern, string-length($pattern), 1 ) = '*' ">
- <xsl:variable name="pattern_head" select="substring( $pattern, 1, string-length($pattern) - 1 )"/>
- <func:result select="starts-with( $text, $pattern_head )"/>
- </xsl:when>
- <xsl:when test="contains( $pattern, '*' ) ">
- <xsl:variable name="pattern_head" select="substring-before( $pattern, '*' )"/>
- <xsl:variable name="pattern_tail" select="substring-after( $pattern, '*' )"/>
- <func:result select="starts-with( $text, $pattern_head ) and substring( $text, string-length($text) - string-length($pattern_tail) + 1, string-length($pattern_tail) ) = $pattern_tail"/>
- </xsl:when>
- </xsl:choose>
- </func:function>
-
- <!-- date-time -->
-
- <func:function name="meta:timestamp_difference">
- <xsl:param name="x"/>
- <xsl:param name="y"/>
-
- <xsl:variable name="duration" select="date:difference( $x, $y )"/>
- <xsl:choose>
- <xsl:when test="contains( $duration, 'D' )">
- <xsl:variable name="days" select="substring-before( $duration, 'D' )"/>
- <func:result select="substring-after( $days, 'P' )"/>
- </xsl:when>
- <xsl:otherwise>
- <func:result select="0"/>
- </xsl:otherwise>
- </xsl:choose>
-
- </func:function>
-
- <func:function name="meta:format_timestamp">
- <xsl:param name="timestamp"/>
- <xsl:choose>
- <xsl:when test="date:date( $timestamp ) = ''">
- <func:result select="$timestamp"/>
- </xsl:when>
- <xsl:otherwise>
- <xsl:variable name="time" select="substring-before( date:time( $timestamp ), 'Z' )"/>
- <xsl:variable name="day" select="date:day-in-month( $timestamp )"/>
- <xsl:variable name="day_abbrev" select="date:day-abbreviation( $timestamp )"/>
- <xsl:variable name="month_abbrev" select="date:month-abbreviation( $timestamp )"/>
- <xsl:variable name="year" select="date:year( $timestamp )"/>
- <func:result select="concat( $day_abbrev, ', ', $day, ' ', $month_abbrev, ' ', $year, ' ', $time, ' +0000' )"/>
- </xsl:otherwise>
- </xsl:choose>
-
- </func:function>
-
- <!-- path -->
-
- <func:function name="meta:encode_path">
- <xsl:param name="path"/>
- <func:result select="translate( translate( $path, '/', '-' ), './', '-' )"/>
- </func:function>
-
- <func:function name="meta:output_file_path">
- <xsl:param name="path"/>
- <func:result select="concat( $output_directory, '/', meta:encode_path( $path ), '.html' )"/>
- </func:function>
-
- <func:function name="meta:log_file_path">
- <xsl:param name="test_log"/>
- <xsl:param name="runner"/>
- <xsl:param name="release_postfix" select="''"/>
- <func:result>
- <xsl:choose>
- <xsl:when test="meta:show_output( $explicit_markup, $test_log )">
- <xsl:value-of select="meta:output_file_path( concat( $runner, '-', $test_log/@target-directory, $release_postfix ) )"/>
- </xsl:when>
- <xsl:otherwise>
- <xsl:text></xsl:text>
- </xsl:otherwise>
- </xsl:choose>
- </func:result>
- </func:function>
-
- <!-- presentation -->
-
- <func:function name="meta:show_library">
- <xsl:param name="library"/>
- <xsl:param name="release" select="'no'"/>
- <func:result select="$release != 'yes' or not( meta:is_library_beta( $library ) )"/>
- </func:function>
-
- <func:function name="meta:show_output">
- <xsl:param name="explicit_markup"/>
- <xsl:param name="test_log"/>
- <func:result select="( $test_log/@result != 'success' or $test_log/@show-run-output = 'true' or
- $test_log/@result = 'success' and $test_log/@status = 'unexpected' )
- and not( meta:is_unusable( $explicit_markup, $test_log/@library, $test_log/@toolset ) )
- "/>
- </func:function>
-
- <func:function name="meta:show_toolset">
- <xsl:param name="toolset"/>
- <xsl:param name="release" select="'no'"/>
- <func:result select="$release != 'yes' or meta:is_toolset_required( $toolset )"/>
- </func:function>
-
- <func:function name="meta:result_cell_class">
- <xsl:param name="library"/>
- <xsl:param name="toolset"/>
- <xsl:param name="test_logs"/>
-
- <func:result>
- <xsl:choose>
- <xsl:when test="meta:is_unusable( $explicit_markup, $library, $toolset )">
- <xsl:text>unusable</xsl:text>
- </xsl:when>
-
- <xsl:when test="count( $test_logs ) &lt; 1">
- <xsl:text>missing</xsl:text>
- </xsl:when>
-
- <xsl:when test="count( $test_logs[@result='fail' and @status='unexpected' and @is-new='no'] )">
- <xsl:text>fail-unexpected</xsl:text>
- </xsl:when>
-
- <xsl:when test="count( $test_logs[@result='fail' and @status='unexpected' and @is-new='yes'] )">
- <xsl:text>fail-unexpected-new</xsl:text>
- </xsl:when>
-
-
- <xsl:when test="count( $test_logs[@result='fail' and @expected-reason != '' ] )">
- <xsl:text>fail-expected-unresearched</xsl:text>
- </xsl:when>
-
- <xsl:when test="count( $test_logs[@result='fail'] )">
- <xsl:text>fail-expected</xsl:text>
- </xsl:when>
-
-
- <xsl:when test="count( $test_logs[@result='success' and @status='unexpected'] )">
- <xsl:text>success-unexpected</xsl:text>
- </xsl:when>
-
- <xsl:when test="count( $test_logs[@status='expected'] )">
- <xsl:text>success-expected</xsl:text>
- </xsl:when>
-
- <xsl:otherwise>
- <xsl:text>unknown</xsl:text>
- </xsl:otherwise>
- </xsl:choose>
- </func:result>
- </func:function>
-
- <xsl:template name="insert_report_header">
- <xsl:param name="run_date"/>
- <xsl:param name="warnings"/>
- <xsl:param name="purpose"/>
-
- <div class="report-info">
- <div>
- <b>Report Time: </b> <xsl:value-of select="meta:format_timestamp( $run_date )"/>
- </div>
-
- <xsl:if test="$purpose">
- <div>
- <b>Purpose: </b> <xsl:value-of select="$purpose"/>
- </div>
- </xsl:if>
-
- <xsl:if test="$warnings">
- <xsl:for-each select="str:split( $warnings, '+' )">
- <div class="report-warning">
- <b>Warning: </b>
- <a href="mailto:boost-testing@lists.boost.org?subject=[Report Pages] {.} ({meta:format_timestamp( $run_date )})" class="warning-link">
- <xsl:value-of select="."/>
- </a>
- </div>
- </xsl:for-each>
- </xsl:if>
-
- </div>
-
- </xsl:template>
-
-
- <xsl:template name="insert_view_link">
- <xsl:param name="page"/>
- <xsl:param name="release"/>
- <xsl:param name="class"/>
-
- <xsl:choose>
- <xsl:when test="$release='yes'">
- <a href="{$page}.html" class="{$class}" target="_top">
- <xsl:text>Full View</xsl:text>
- </a>
- </xsl:when>
- <xsl:otherwise>
- <a href="{$page}_release.html" class="{$class}" target="_top">
- <xsl:text>Release View</xsl:text>
- </a>
- </xsl:otherwise>
- </xsl:choose>
-
- </xsl:template>
-
-
- <xsl:template name="insert_page_links">
- <xsl:param name="page"/>
- <xsl:param name="release"/>
- <xsl:param name="mode"/>
-
- <div class="links">
- <xsl:copy-of select="document( 'html/make_tinyurl.html' )"/>
- <xsl:text>&#160;|&#160;</xsl:text>
- <xsl:call-template name="insert_view_link">
- <xsl:with-param name="page" select="$page"/>
- <xsl:with-param name="class" select="''"/>
- <xsl:with-param name="release" select="$release"/>
- </xsl:call-template>
-
- <xsl:variable name="release_postfix">
- <xsl:if test="$release='yes'">_release</xsl:if>
- </xsl:variable>
-
- <xsl:text>&#160;|&#160;</xsl:text>
- <a href="../{$mode}/{$page}{$release_postfix}.html" class="view-link" target="_top">
- <xsl:value-of select="$mode"/><xsl:text> View</xsl:text>
- </a>
-
- <xsl:text>&#160;|&#160;</xsl:text>
- <a href="{$page}{$release_postfix}_.html#legend">
- <xsl:text>Legend</xsl:text>
- </a>
-
- </div>
-
- </xsl:template>
-
-
- <xsl:template name="insert_runners_rows">
- <xsl:param name="mode"/>
- <xsl:param name="top_or_bottom"/>
- <xsl:param name="run_toolsets"/>
- <xsl:param name="run_date"/>
-
- <xsl:variable name="colspan">
- <xsl:choose>
- <xsl:when test="$mode = 'summary'">1</xsl:when>
- <xsl:when test="$mode = 'details'">2</xsl:when>
- </xsl:choose>
- </xsl:variable>
-
-
- <xsl:if test="$top_or_bottom = 'top'">
- <tr>
- <td colspan="{$colspan}">&#160;</td>
- <xsl:for-each select="$run_toolsets/platforms/platform">
- <xsl:if test="count(./runs/run/toolset) &gt; 0">
- <td colspan="{count(./runs/run/toolset)}" class="runner">
- <xsl:value-of select="@name"/>
- </td>
- </xsl:if>
- </xsl:for-each>
- <td colspan="{$colspan}">&#160;</td>
- </tr>
- </xsl:if>
-
- <tr>
- <td colspan="{$colspan}">&#160;</td>
- <xsl:for-each select="$run_toolsets//runs/run[ count(toolset) > 0 ]">
- <td colspan="{count(toolset)}" class="runner">
- <a href="../{@runner}.html">
- <xsl:value-of select="@runner"/>
- </a>
- </td>
- </xsl:for-each>
- <td colspan="{$colspan}">&#160;</td>
- </tr>
-
- <tr>
- <td colspan="{$colspan}">&#160;</td>
- <xsl:for-each select="$run_toolsets//runs/run[ count(toolset) > 0 ]">
- <td colspan="{count(toolset)}" class="revision">
- rev <xsl:value-of select="@revision"/>
- </td>
- </xsl:for-each>
- <td colspan="{$colspan}">&#160;</td>
- </tr>
-
- <tr>
- <td colspan="{$colspan}">&#160;</td>
- <xsl:for-each select="$run_toolsets//runs/run[ count(toolset) > 0 ]">
- <xsl:variable name="timestamp_diff" select="meta:timestamp_difference( @timestamp, $run_date )"/>
- <xsl:variable name="age" select="meta:iif( $timestamp_diff &lt; 30, $timestamp_diff, 30 )"/>
- <td colspan="{count(toolset)}" class="timestamp">
- <span class="timestamp-{$age}"><xsl:value-of select="meta:format_timestamp( @timestamp )"/></span>
- <xsl:if test="@run-type != 'full'">
- <span class="run-type-{@run-type}"><xsl:value-of select="substring( @run-type, 1, 1 )"/></span>
- </xsl:if>
- </td>
- </xsl:for-each>
- <td colspan="{$colspan}">&#160;</td>
- </tr>
-
- <xsl:if test="$top_or_bottom = 'bottom'">
- <tr>
- <td colspan="{$colspan}">&#160;</td>
- <xsl:for-each select="$run_toolsets/platforms/platform">
- <xsl:if test="count(./runs/run/toolset) &gt; 0">
- <td colspan="{count(./runs/run/toolset)}" class="runner">
- <xsl:value-of select="@name"/>
- </td>
- </xsl:if>
- </xsl:for-each>
- <td colspan="{$colspan}">&#160;</td>
- </tr>
- </xsl:if>
-
- </xsl:template>
-
- <xsl:template name="insert_toolsets_row">
- <xsl:param name="mode"/>
- <xsl:param name="library"/>
- <xsl:param name="library_marks"/>
- <xsl:param name="run_date"/>
-
- <tr valign="middle">
- <xsl:variable name="colspan">
- <xsl:choose>
- <xsl:when test="$mode = 'summary'">1</xsl:when>
- <xsl:when test="$mode = 'details'">2</xsl:when>
- </xsl:choose>
- </xsl:variable>
-
- <xsl:variable name="title">
- <xsl:choose>
- <xsl:when test="$mode = 'summary'">&#160;library&#160;/&#160;toolset&#160;</xsl:when>
- <xsl:when test="$mode = 'details'">&#160;test&#160;/&#160;toolset&#160;</xsl:when>
- </xsl:choose>
- </xsl:variable>
-
- <td class="head" colspan="{$colspan}" width="1%"><xsl:value-of select="$title"/></td>
-
-
- <xsl:for-each select="$run_toolsets//runs/run/toolset">
- <xsl:variable name="toolset" select="@name"/>
-
- <xsl:variable name="class">
- <xsl:choose>
- <xsl:when test="@required='yes'">
- <xsl:text>required-toolset-name</xsl:text>
- </xsl:when>
- <xsl:otherwise>
- <xsl:text>toolset-name</xsl:text>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:variable>
-
- <td class="{$class}">
- <xsl:variable name="age" select="meta:timestamp_difference( ../@timestamp, $run_date )"/>
- <span class="timestamp-{$age}">
-
- <!-- break toolset names into words -->
- <xsl:for-each select="str:tokenize($toolset, '-')">
- <xsl:value-of select="." />
- <xsl:if test="position()!=last()">
- <xsl:text>- </xsl:text>
- </xsl:if>
- </xsl:for-each>
-
- <xsl:if test="$mode = 'details'">
- <!-- prepare toolset notes -->
- <xsl:variable name="toolset_notes_fragment">
- <xsl:for-each select="$library_marks/note">
- <xsl:if test="count( ../toolset[meta:re_match( @name, $toolset )] ) > 0">
- <note index="{position()}"/>
- </xsl:if>
- </xsl:for-each>
- </xsl:variable>
-
- <xsl:variable name="toolset_notes" select="exsl:node-set( $toolset_notes_fragment )/*"/>
- <xsl:if test="count( $toolset_notes ) > 0">
- <span class="super">
- <xsl:for-each select="$toolset_notes">
- <xsl:variable name="note_index" select="@index"/>
- <xsl:if test="generate-id( . ) != generate-id( $toolset_notes[1] )">, </xsl:if>
- <a href="#{$library}-note-{$note_index}" title="Note {$note_index}">
- <xsl:value-of select="$note_index"/>
- </a>
- </xsl:for-each>
- </span>
- </xsl:if>
- </xsl:if>
-
- </span>
- </td>
- </xsl:for-each>
-
- <td class="head" width="1%"><xsl:value-of select="$title"/></td>
- </tr>
- </xsl:template>
-
- <xsl:template name="show_notes">
- <xsl:param name="explicit_markup"/>
- <xsl:param name="notes"/>
- <div class="notes">
- <xsl:for-each select="$notes">
- <div>
- <xsl:variable name="ref_id" select="@refid"/>
- <xsl:call-template name="show_note">
- <xsl:with-param name="note" select="."/>
- <xsl:with-param name="references" select="$ref_id"/>
- </xsl:call-template>
- </div>
- </xsl:for-each>
- </div>
- </xsl:template>
-
- <xsl:template name="show_note">
- <xsl:param name="note"/>
- <xsl:param name="references"/>
-
- <div class="note">
- <xsl:variable name="author">
- <xsl:choose>
- <xsl:when test="$note/@author">
- <xsl:value-of select="$note/@author"/>
- </xsl:when>
- <xsl:otherwise>
- <xsl:text/>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:variable>
-
- <xsl:variable name="date">
- <xsl:choose>
- <xsl:when test="$note/@date">
- <xsl:value-of select="$note/@date"/>
- </xsl:when>
- <xsl:otherwise>
- <xsl:text/>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:variable>
-
- <span class="note-header">
- <xsl:choose>
- <xsl:when test="$author != '' and $date != ''">
- [&#160;<xsl:value-of select="$author"/>&#160;<xsl:value-of select="$date"/>&#160;]
- </xsl:when>
- <xsl:when test="$author != ''">
- [&#160;<xsl:value-of select="$author"/>&#160;]
- </xsl:when>
- <xsl:when test="$date != ''">
- [&#160;<xsl:value-of select="$date"/>&#160;]
- </xsl:when>
- </xsl:choose>
- </span>
-
- <xsl:if test="$references">
- <!-- lookup references (refid="17,18") -->
- <xsl:for-each select="str:tokenize($references, ',')">
- <xsl:variable name="ref_id" select="."/>
- <xsl:variable name="referenced_note" select="$explicit_markup//note[ $ref_id = @id ]"/>
-
- <xsl:choose>
- <xsl:when test="$referenced_note">
- <xsl:copy-of select="$referenced_note/node()"/>
- </xsl:when>
- <xsl:otherwise>
- <xsl:value-of select="$ref_id"/>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:for-each>
- </xsl:if>
-
- <xsl:copy-of select="$note/node()"/>
-
- </div>
- </xsl:template>
-
-</xsl:stylesheet>
diff --git a/tools/regression/xsl_reports/xsl/v2/dump_toolsets.xsl b/tools/regression/xsl_reports/xsl/v2/dump_toolsets.xsl
deleted file mode 100644
index b9058e35d0..0000000000
--- a/tools/regression/xsl_reports/xsl/v2/dump_toolsets.xsl
+++ /dev/null
@@ -1,39 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!--
-
-Copyright MetaCommunications, Inc. 2006.
-
-Distributed under the Boost Software License, Version 1.0. (See
-accompanying file LICENSE_1_0.txt or copy at
-http://www.boost.org/LICENSE_1_0.txt)
-
--->
-
-<xsl:stylesheet
- xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
- xmlns:meta="http://www.meta-comm.com"
- exclude-result-prefixes="meta"
- version="1.0">
-
- <xsl:import href="common.xsl"/>
-
- <xsl:output method="xml" encoding="utf-8"/>
-
- <xsl:template match="/">
- <xsl:for-each select="expected-failures/toolset">
- <xsl:sort select="@name"/>
- <xsl:value-of select="@name"/>
- <xsl:if test="count(./toolset-alias)">
- <xsl:text> aka </xsl:text>
- <xsl:for-each select="toolset-alias">
- <xsl:sort select="@name"/>
- <xsl:value-of select="@name"/>
- <xsl:text> </xsl:text>
- </xsl:for-each>
- </xsl:if>
-<xsl:text>
-</xsl:text>
- </xsl:for-each>
- </xsl:template>
-
-</xsl:stylesheet>
diff --git a/tools/regression/xsl_reports/xsl/v2/expected_to_1_33_format.xsl b/tools/regression/xsl_reports/xsl/v2/expected_to_1_33_format.xsl
deleted file mode 100644
index 71f33d2c1c..0000000000
--- a/tools/regression/xsl_reports/xsl/v2/expected_to_1_33_format.xsl
+++ /dev/null
@@ -1,32 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
- xmlns:set="http://exslt.org/sets"
- extension-element-prefixes="set"
- version="1.0">
-
- <xsl:output method="xml" encoding="utf-8"/>
-
- <xsl:template match="/">
- <expected-failures>
- <xsl:variable name="toolsets" select="set:distinct(//test-result/@toolset)"/>
- <xsl:for-each select="$toolsets">
- <xsl:variable name="toolset" select="."/>
- <toolset name="{$toolset}">
- <xsl:variable name="toolset_test_cases" select="//test-result[@toolset = $toolset]"/>
- <xsl:variable name="libraries" select="set:distinct($toolset_test_cases/@library)"/>
- <xsl:for-each select="$libraries">
- <xsl:variable name="library" select="."/>
- <library name="{$library}">
- <xsl:variable name="test_results" select="$toolset_test_cases[@library = $library]"/>
- <xsl:for-each select="$test_results">
- <xsl:variable name="test_result" select="."/>
- <test-result test-name="{$test_result/@test-name}" result="{$test_result/@result}"/>
- </xsl:for-each>
- </library>
- </xsl:for-each>
- </toolset>
- </xsl:for-each>
- </expected-failures>
- </xsl:template>
-
-</xsl:stylesheet>
diff --git a/tools/regression/xsl_reports/xsl/v2/html/issues_legend.html b/tools/regression/xsl_reports/xsl/v2/html/issues_legend.html
deleted file mode 100644
index 6274048b55..0000000000
--- a/tools/regression/xsl_reports/xsl/v2/html/issues_legend.html
+++ /dev/null
@@ -1,36 +0,0 @@
-<!--
-
-Copyright MetaCommunications, Inc. 2003-2004.
-
-Distributed under the Boost Software License, Version 1.0. (See
-accompanying file LICENSE_1_0.txt or copy at
-http://www.boost.org/LICENSE_1_0.txt)
-
--->
-
-<div class="legend">
-<table border="0" summary="report description">
-<tr>
- <td>
- <table border="0" summary="legend">
- <tr>
- <td>
- <table width="100%" summary="unexpected new fail legend">
- <tr class="library-row-single"><td class="library-fail-unexpected-new">&lt;toolset&gt;</td></tr>
- </table>
- </td>
- <td class="legend-item">Failure on a newly added test/compiler.</td>
- </tr>
- <tr>
- <td>
- <table width="100%" summary="unexpected fail legend">
- <tr class="library-row-single"><td class="library-fail-unexpected">&lt;toolset&gt;</td></tr>
- </table>
- </td>
- <td class="legend-item">Unexpected failure.</td>
- </tr>
- </table>
- </td>
-</tr>
-</table>
-</div>
diff --git a/tools/regression/xsl_reports/xsl/v2/html/library_developer_legend.html b/tools/regression/xsl_reports/xsl/v2/html/library_developer_legend.html
deleted file mode 100644
index 009211ac19..0000000000
--- a/tools/regression/xsl_reports/xsl/v2/html/library_developer_legend.html
+++ /dev/null
@@ -1,82 +0,0 @@
-<!--
-
-Copyright MetaCommunications, Inc. 2003-2005.
-
-Distributed under the Boost Software License, Version 1.0. (See
-accompanying file LICENSE_1_0.txt or copy at
-http://www.boost.org/LICENSE_1_0.txt)
-
--->
-
-<div class="legend">
-<table border="0" summary="report description">
- <tr>
- <td class="legend-item" width="50pt">
- <table width="100%" summary="success legend">
- <tr class="library-row-single"><td class="library-success-expected">pass</td></tr>
- </table>
- </td>
- <td class="legend-explanation">Success.</td>
- </tr>
- <tr>
- <td class="legend-item" width="50pt">
- <table width="100%" summary="unexpected pass legend">
- <tr class="library-row-single"><td class="library-success-unexpected">pass</td></tr>
- </table>
- </td>
- <td class="legend-explanation">Unexpected success; follow the link for more details.</td>
- </tr>
- <tr>
- <td class="legend-item" width="50pt">
- <table width="100%" summary="expected fail legend">
- <tr class="library-row-single"><td class="library-fail-expected">fail*</td></tr>
- </table>
- </td>
- <td class="legend-explanation">Expected failure; follow the link for more details.</td>
- </tr>
- <tr>
- <td class="legend-item" width="50pt">
- <table width="100%" summary="unusable legend">
- <tr class="library-row-single"><td class="library-unusable">n/a</td></tr>
- </table>
- </td>
- <td class="legend-explanation">The library author marked it as unusable on this particular platform/toolset.</td>
- </tr>
- <tr>
- <td class="legend-item" width="50pt">
- <table width="100%" summary="unresearched legend">
- <tr class="library-row-single"><td class="library-fail-expected-unresearched">fail?</td></tr>
- </table>
- </td>
- <td class="legend-explanation">Unsearched failure; follow the link for more details.</td>
- </tr>
- <tr>
- <td class="legend-item" width="50pt">
- <table width="100%" summary="unexpected new fail legend">
- <tr class="library-row-single"><td class="library-fail-unexpected-new">fail</td></tr>
- </table>
- </td>
- <td class="legend-explanation">Failure on a newly added test/compiler.</td>
- </tr>
- <tr>
- <td class="legend-item" width="50pt">
- <table width="100%" summary="unexpected fail legend">
- <tr class="library-row-single"><td class="library-fail-unexpected">fail</td></tr>
- </table>
- </td>
- <td class="legend-explanation">Unexpected failure/regression.</td>
- </tr>
- <tr>
- <td class="legend-item" width="50pt">
- </td>
- <td class="legend-explanation"></td>
- </tr>
-</table>
-<hr/>
-<table border="0" summary="report description">
- <tr>
- <td><span class="run-type-incremental">i</span></td>
- <td class="legend-explanation">An incremental run.</td>
- </tr>
-</table>
-</div>
diff --git a/tools/regression/xsl_reports/xsl/v2/html/library_user_legend.html b/tools/regression/xsl_reports/xsl/v2/html/library_user_legend.html
deleted file mode 100644
index bae1742e94..0000000000
--- a/tools/regression/xsl_reports/xsl/v2/html/library_user_legend.html
+++ /dev/null
@@ -1,89 +0,0 @@
-<!--
-
-Copyright MetaCommunications, Inc. 2003-2005.
-
-Distributed under the Boost Software License, Version 1.0. (See
-accompanying file LICENSE_1_0.txt or copy at
-http://www.boost.org/LICENSE_1_0.txt)
-
--->
-
-<div class="legend">
-<table border="0" summary="report description">
- <tr>
- <td class="legend-item" width="50pt">
- <table width="100%" summary="success legend">
- <tr class="library-row-single"><td class="library-success-expected user-library-success-expected">pass</td></tr>
- </table>
- </td>
- <td class="legend-explanation">The test successfully passes.</td>
- </tr>
- <tr>
- <td class="legend-item" width="50pt">
- <table width="100%" summary="expected fail legend">
- <tr class="library-row-single"><td class="library-fail-expected user-library-fail-expected"><u>fail*</u></td></tr>
- </table>
- </td>
- <td class="legend-explanation">
- A <b>known failure</b> that the library maintainers are aware about. Please follow the link to
- find out how it affects the library's functionality.
- </td>
- </tr>
- <tr>
- <td class="legend-item" width="50pt">
- <table width="100%" summary="unusable legend">
- <tr class="library-row-single"><td class="library-unusable user-library-unusable">unusable</td></tr>
- </table>
- </td>
- <td class="legend-explanation">
- The library author marked it as <b>unusable</b> on this particular platform/toolset. Please
- see the corresponding footnote.
- </td>
- </tr>
- <tr>
- <td class="legend-item" width="50pt">
- <table width="100%" summary="unresearched legend">
- <tr class="library-row-single"><td class="library-fail-expected-unresearched user-library-fail-expected-unresearched"><u>fail?</u></td></tr>
- </table>
- </td>
- <td class="legend-explanation">
- An <b>unsearched failure</b>: the library maintainers are aware of it, but need help with
- investigating/addressing it for future releases. Please follow the link to
- access the details and find out how it affects library functionality. </td>
- </tr>
- <tr>
- <td class="legend-item" width="50pt">
- <table width="100%" summary="unexpected new fail legend">
- <tr class="library-row-single"><td class="library-fail-unexpected-new user-library-fail-unexpected-new"><u>fail</u></td></tr>
- </table>
- </td>
- <td class="legend-explanation">
- A <b>new failure</b> on the test/compiler added in this release that hasn't been accounted for yet.
- Please follow the link to access the details.
- </td>
- </tr>
- <tr>
- <td class="legend-item" width="50pt">
- <table width="100%" summary="unexpected fail legend">
- <tr class="library-row-single user-library-row-single"><td class="library-fail-unexpected"><u>fail</u></td></tr>
- </table>
- </td>
- <td class="legend-explanation">
- A <b>regression</b> comparing to the previous release. Please follow the link to
- access the details.
- </td>
- </tr>
- <tr>
- <td class="legend-item" width="50pt">
- </td>
- <td class="legend-explanation"></td>
- </tr>
-</table>
-<hr/>
-<table border="0" summary="report description">
- <tr>
- <td><span class="run-type-incremental">i</span></td>
- <td class="legend-explanation">An incremental run.</td>
- </tr>
-</table>
-</div>
diff --git a/tools/regression/xsl_reports/xsl/v2/html/make_tinyurl.html b/tools/regression/xsl_reports/xsl/v2/html/make_tinyurl.html
deleted file mode 100644
index e57fb06a4f..0000000000
--- a/tools/regression/xsl_reports/xsl/v2/html/make_tinyurl.html
+++ /dev/null
@@ -1,22 +0,0 @@
-<!--
-
-Copyright MetaCommunications, Inc. 2003-2004.
-
-Distributed under the Boost Software License, Version 1.0. (See
-accompanying file LICENSE_1_0.txt or copy at
-http://www.boost.org/LICENSE_1_0.txt)
-
--->
-
-<span>
-<script type="text/javascript">
-<!--
-function make_tinyurl()
-{
- window.open( 'http://tinyurl.com/create.php?url=' + parent.location.href );
-}
-//-->
-</script>
-
-<a href="javascript:make_tinyurl()">TinyUrl</a>
-</span>
diff --git a/tools/regression/xsl_reports/xsl/v2/html/master.css b/tools/regression/xsl_reports/xsl/v2/html/master.css
deleted file mode 100644
index a6dc486b68..0000000000
--- a/tools/regression/xsl_reports/xsl/v2/html/master.css
+++ /dev/null
@@ -1,654 +0,0 @@
-/*
-
-Copyright MetaCommunications, Inc. 2003-2005.
-
-Distributed under the Boost Software License, Version 1.0. (See
-accompanying file LICENSE_1_0.txt or copy at
-http://www.boost.org/LICENSE_1_0.txt)
-
-*/
-
-/* All reports */
-
-body
-{
- background-color: white;
-}
-
-body.user-toc
-{
- background-color: #f0f0f0;
-}
-
-body.developer-toc
-{
- background-color: #f0f5ff;
-}
-
-span.super
-{
- vertical-align: super;
- font-size: 80%;
- margin-left: 3pt;
-}
-
-h1.page-title
-{
- text-align: left;
- text-transform: capitalize;
- margin-top: 5pt;
- margin-bottom: 10pt;
-}
-
-img
-{
- display: inline;
-}
-
- a.hover-link:link
-,a.hover-link:visited
-,a.hover-link:active
-{
- color: black;
- text-decoration: none;
-}
-
-a.hover-link:hover
-{
- color: black;
- text-decoration: underline;
-}
-
- a.warning-link:link
-,a.warning-link:visited
-,a.warning-link:active
-{
- color: red;
- text-decoration: none;
-}
-
-a.warning-link:hover
-{
- color: red;
- text-decoration: underline;
-}
-
-a.view-link
-{
- text-transform: capitalize;
-}
-
-div.statistics
-{
- width: 80%;
- padding-bottom: 5pt;
-}
-
-div.legend
-{
- width: 80%;
- background-color: #f5f5f5;
- margin-top: 10pt;
- margin-bottom: 10pt;
-}
-
-div.comment
-{
- width: 80%;
- background-color: #f5f5f5;
- padding-left: 10pt;
- padding-right: 10pt;
- padding-bottom: 10pt;
-}
-
-div.links
-{
- margin-top: 0pt;
- margin-bottom: 0pt;
-}
-
-table.header-table
-{
- margin-left: 10pt;
- margin-top: 20pt;
- margin-bottom: 10pt;
- width: 80%;
-}
-
-td.header-item
-{
- text-align: left;
- vertical-align: top;
- font-weight: bold;
-}
-
-td.header-item-content
-{
- padding-left: 20pt;
- padding-bottom: 10pt;
-}
-
-td.legend-item
-{
- padding: 0pt;
- width: 50pt;
-}
-
-td.legend-explanation
-{
- padding-left: 5pt;
-}
-
-div.acknowledgement
-{
- text-align: left;
- margin-top: 10pt;
- margin-left: 5pt;
- margin-bottom: 10pt;
-}
-
-div.report-info
-{
- text-align: left;
- margin-bottom: 10pt;
- width: 80%;
-}
-
-div.report-warning
-{
- color: red;
-}
-
-div.library-name
-{
- margin-top: 20pt;
- margin-bottom: 10pt;
- text-align: left;
- font-size: 125%;
- font-weight: bold;
-}
-
-span.run-type-incremental
-{
- margin-left: 3pt;
- padding-left: 1pt;
- padding-right: 1pt;
- background-color: yellow;
-}
-
- span.timestamp-1
-,span.timestamp-2
-{
- color: #555555;
-}
-
- span.timestamp-3
-,span.timestamp-4
-,span.timestamp-5
-,span.timestamp-6
-,span.timestamp-7
-{
- color: #999999;
-}
-
- span.timestamp-8
-,span.timestamp-9
-,span.timestamp-10
-,span.timestamp-11
-,span.timestamp-12
-,span.timestamp-13
-,span.timestamp-14
-,span.timestamp-15
-,span.timestamp-16
-,span.timestamp-17
-,span.timestamp-18
-,span.timestamp-19
-,span.timestamp-20
-,span.timestamp-21
-,span.timestamp-22
-,span.timestamp-23
-,span.timestamp-24
-,span.timestamp-25
-,span.timestamp-26
-,span.timestamp-27
-,span.timestamp-28
-,span.timestamp-29
-,span.timestamp-30
-{
- color: #dddddd;
-}
-
-
-table.summary-table
-,table.library-table
-{
- border-collapse: collapse;
- border: 2px solid black;
- margin: 5px;
-}
-
- table.summary-table td
-,table.library-table td
-{
- text-align: center;
- border-left: 1px solid black;
- border-right: 1px solid black;
-}
-
- a.log-link:link
-,a.log-link:visited
-{
- color: black;
-}
-
- a.log-link:active
-,a.log-link:hover
-,a.legend-link:link
-,a.legend-link:visited
-,a.legend-link:active
-,a.legend-link:hover
-{
- color: black;
- text-decoration: underline;
-}
-
-td.runner
-{
- color: black;
- font-weight: bold;
- border-top: 1px solid black;
- padding-left: 3pt;
- padding-right: 3pt;
-
-}
-
-td.timestamp
-{
- color: black;
- border-bottom: 1px solid black;
- padding-left: 3pt;
- padding-right: 3pt;
-}
-
- td.toolset-name
-,td.required-toolset-name
-{
- vertical-align: middle;
- padding-left: 3pt;
- padding-right: 3pt;
- word-spacing: -3pt;
-}
-
-td.required-toolset-name
-{
- font-weight: bold;
-}
-
-td.library-test-category-header
-{
- border-top: 1px solid gray;
-}
-
-tr.summary-row-first td
-, tr.library-row-first td
-{
- border-top: 1px solid gray;
- border-bottom: 0px;
-}
-
-tr.summary-row-last td
-, tr.library-row-last td
-{
- border-top: 0px;
- border-bottom: 1px solid gray;
-}
-
-tr.summary-row-single td
-, tr.library-row-single td
-{
- border-top: 1px solid gray;
- border-bottom: 1px solid gray;
-}
-
-tr.summary-row td
-, tr.library-row td
-{
- border-bottom: 0px;
- border-top: 0px;
-}
-
- td.library-success-expected
-, td.summary-success-expected
-, td.summary-fail-expected
-, td.summary-unknown-status
-, td.summary-fail-expected-unresearched
-{
- width: 60pt;
- text-align: center;
- background-color: lightgreen;
- border-left: 1px solid black;
- border-right: 1px solid black;
- padding-left: 2pt;
- padding-right: 2pt;
-}
-
- td.summary-unknown-status
-{
- background-color: white;
-}
-
- td.library-success-unexpected
-,td.summary-success-unexpected
-{
- width: 60pt;
- text-align: center;
- background-color: green;
- color: white;
- border: 0px;
- padding-left: 2pt;
- padding-right: 2pt;
-}
-
- td.user-library-success-unexpected
-, td.user-summary-success-unexpected
-{
- background-color: lightgreen;
- color: black;
-}
-
- td.library-success-unexpected a.log-link:link
-,td.library-success-unexpected a.log-link:visited
-,td.library-success-unexpected a.log-link:active
-,td.library-success-unexpected a.log-link:hover
-{
- color: white;
-}
-
- td.user-library-success-unexpected a.log-link:link
-, td.user-library-success-unexpected a.log-link:visited
-, td.user-library-success-unexpected a.log-link:active
-, td.user-library-success-unexpected a.log-link:hover
-{
- color: black;
-}
-
- td.summary-unusable
-, td.library-unusable
-, td.library-fail-expected
-{
- width: 60pt;
- text-align: center;
- background-color: silver;
- color: black;
- border: 0px;
- padding-left: 2pt;
- padding-right: 2pt;
-}
-
-
- tr.summary-row td.summary-fail-unexpected
-,tr.summary-row-first td.summary-fail-unexpected
-,tr.summary-row-last td.summary-fail-unexpected
-,tr.summary-row-single td.summary-fail-unexpected
-{
- width: 60pt;
- text-align: center;
- background-color: red;
- color: black;
- border: 2px solid black;
- padding-left: 2pt;
- padding-right: 2pt;
-}
-
- td.summary-missing
-, td.library-missing
-{
- width: 60pt;
- text-align: center;
- background-color: white;
- color: black;
- border: 0px;
- padding-left: 2pt;
- padding-right: 2pt;
-}
-
-td.library-fail-expected-unresearched
-{
- width: 60pt;
- text-align: center;
- background-color: white;
- color: black;
- border: 1px solid black;
- padding-left: 2pt;
- padding-right: 2pt;
-}
-
-
- tr.summary-row-first td.summary-missing
-, tr.summary-row-single td.summary-missing
-, tr.library-row-first td.library-missing
-, tr.library-row-single td.library-missing
-{
- border-top: 1px solid black;
-}
-
- tr.summary-row-last td.summary-missing
-, tr.summary-row-single td.summary-missing
-, tr.library-row-last td.library-missing
-, tr.library-row-single td.library-missing
-{
- border-bottom: 1px solid black;
-}
-
-
-/* Summary */
-
-table.summary-table td.library-name
-{
- width: 100pt;
- padding-left: 6pt;
- padding-right: 6pt;
- border-top: 1px solid gray;
- border-bottom: 1px solid gray;
- text-align: left;
-}
-
- tr.summary-row td.summary-fail-unexpected-new
-, tr.summary-row-first td.summary-fail-unexpected-new
-, tr.summary-row-last td.summary-fail-unexpected-new
-, tr.summary-row-single td.summary-fail-unexpected-new
-
-, tr.library-row td.library-fail-unexpected-new
-, tr.library-row-first td.library-fail-unexpected-new
-, tr.library-row-last td.library-fail-unexpected-new
-, tr.library-row-single td.library-fail-unexpected-new
-
-, tr.summary-row td.user-summary-fail-expected-unresearched
-, tr.summary-row-first td.user-summary-fail-expected-unresearched
-, tr.summary-row-last td.user-summary-fail-expected-unresearched
-, tr.summary-row-single td.user-summary-fail-expected-unresearched
-
-, tr.library-row td.user-library-fail-expected-unresearched
-, tr.library-row-first td.user-library-fail-expected-unresearched
-, tr.library-row-last td.user-library-fail-expected-unresearched
-, tr.library-row-single td.user-library-fail-expected-unresearched
-{
- width: 60pt;
- text-align: center;
- background-color: yellow;
- color: black;
- border: 2px solid black;
-}
-
-/* Detailed */
-
-.library-conf-problem
-{
- font-size: 70%;
- font-weight: normal;
-}
-
-div.library-toc
-{
- margin: 5pt;
-}
-
-
-li.library-toc-entry
-{
- margin-left: 5pt;
- list-style-type: square;
-}
-
-
-div.library-footer
-{
- margin: 5px;
-}
-
-
-table.library-table td.test-name
-{
- width: 150pt;
- padding-left: 6pt;
- padding-right: 6pt;
- border-right: 0;
- border-top: 1px solid gray;
- border-bottom: 1px solid gray;
- text-align: left;
-}
-
-table.library-table td.test-type
-{
- padding-right: 5px;
- border-left: 0;
- border-right: 0;
- border-top: 1px solid gray;
- border-bottom: 1px solid gray;
- text-align: right;
-}
-
- tr.library-row td.library-fail-unexpected
-, tr.library-row-first td.library-fail-unexpected
-, tr.library-row-last td.library-fail-unexpected
-, tr.library-row-single td.library-fail-unexpected
-{
- width: 60pt;
- text-align: center;
- background-color: red;
- font-weight: bold;
- color: black;
- border: 2px solid black;
-}
-
-table.library-library-notes
-{
- background-color: LemonChiffon;
- width: 80%;
- margin-left: 5px;
- margin-right: 5px;
-}
-
-tr.library-library-note
-{
-}
-
-div.note
-{
- padding: 3pt;
-}
-
-span.note-header
-{
- font-weight: bold;
-}
-
-span.auto-note
-{
- font-style: italic;
-}
-
-span.internal-error-note
-{
- color: red;
-}
-
-/* Log */
-
-div.log-test-title
-{
- font-size: 1.5em;
- font-weight: bold;
-}
-
-div.log-test-header
-{
- border-bottom: 1px solid black;
- margin-bottom: 5pt;
-}
-
-div.notes-title
-{
- font-weight: bold;
- background-color: #ffffcc;
-}
-
-div.notes
-{
- padding: 3pt;
- background-color: #ffffcc;
-}
-
-div.notes-title
-{
- font-weight: bold;
-}
-
-div.log-compiler-output-title
-{
- font-weight: bold;
-}
-
-div.log-linker-output-title
-{
- font-weight: bold;
-}
-
-div.log-run-output-title
-{
- font-weight: bold;
-}
-
-span.output-fail
-{
- color: red;
-}
-
-
-/* Issues page */
-
-table.library-issues-table
-{
- border-collapse: collapse;
- border: 2px solid black;
-}
-
-table.library-issues-table td
-{
- border: 1px solid #c0c0c0;
- text-align: center;
- margin-right: 5px;
-}
-
-table.library-issues-table td.failures-row
-{
- text-align: left;
- padding: 0px;
-}
-
- table.issue-box tr.library-row-single td.library-fail-unexpected-new
-,table.issue-box tr.library-row-single td.library-fail-unexpected
-{
- border: 0px;
- font-weight: normal;
-}
diff --git a/tools/regression/xsl_reports/xsl/v2/html/summary_developer_legend.html b/tools/regression/xsl_reports/xsl/v2/html/summary_developer_legend.html
deleted file mode 100644
index b85a6403fa..0000000000
--- a/tools/regression/xsl_reports/xsl/v2/html/summary_developer_legend.html
+++ /dev/null
@@ -1,72 +0,0 @@
-<!--
-
-Copyright MetaCommunications, Inc. 2003-2005.
-
-Distributed under the Boost Software License, Version 1.0. (See
-accompanying file LICENSE_1_0.txt or copy at
-http://www.boost.org/LICENSE_1_0.txt)
-
--->
-
-<div class="legend">
-<table border="0" summary="report description">
- <tr>
- <td class="legend-item" width="50pt">
- <table width="100%" summary="success legend">
- <tr class="summary-row-single"><td class="summary-success-expected">OK</td></tr>
- </table>
- </td>
- <td class="legend-explanation">
- All expected tests pass.
- </td>
- </tr>
- <tr>
- <td class="legend-item" width="50pt">
- <table width="100%" summary="unexpected pass legend">
- <tr class="summary-row-single"><td class="summary-success-unexpected">OK</td></tr>
- </table>
- </td>
- <td class="legend-explanation">
- All expected tests pass, and some other tests that were expected to fail
- unexpectedly pass as well.
- </td>
- </tr>
- <tr>
- <td class="legend-item" width="50pt">
- <table width="100%" summary="unexpected new fail legend">
- <tr class="summary-row-single"><td class="summary-fail-unexpected-new">fail</td></tr>
- </table>
- </td>
- <td class="legend-explanation">
- There are some failures on the newly added tests/compiler(s).
- </td>
- </tr>
- <tr>
- <td class="legend-item" width="50pt">
- <table width="100%" summary="unexpected fail legend">
- <tr class="summary-row-single"><td class="summary-fail-unexpected">broken</td></tr>
- </table>
- </td>
- <td class="legend-explanation">
- Tests that the library author expects to pass are currently failing.
- </td>
- </tr>
- <tr>
- <td class="legend-item" width="50pt">
- <table width="100%" summary="unusable legend">
- <tr class="summary-row-single"><td class="summary-unusable">n/a</td></tr>
- </table>
- </td>
- <td class="legend-explanation">
- The library author marked it as unusable on particular platform/toolset.
- </td>
- </tr>
-</table>
-<hr/>
-<table border="0" summary="report description" id="Table1">
- <tr>
- <td><span class="run-type-incremental">i</span></td>
- <td class="legend-explanation">An incremental run.</td>
- </tr>
-</table>
-</div>
diff --git a/tools/regression/xsl_reports/xsl/v2/html/summary_user_legend.html b/tools/regression/xsl_reports/xsl/v2/html/summary_user_legend.html
deleted file mode 100644
index 1fbf68a4cd..0000000000
--- a/tools/regression/xsl_reports/xsl/v2/html/summary_user_legend.html
+++ /dev/null
@@ -1,76 +0,0 @@
-<!--
-
-Copyright MetaCommunications, Inc. 2003-2005.
-
-Distributed under the Boost Software License, Version 1.0. (See
-accompanying file LICENSE_1_0.txt or copy at
-http://www.boost.org/LICENSE_1_0.txt)
-
--->
-
-<div class="legend">
-<table border="0" summary="report description">
- <tr>
- <td class="legend-item" width="50pt">
- <table width="100%" summary="success legend">
- <tr class="summary-row-single"><td class="summary-success-expected user-summary-success-expected">&#160;pass&#160;</td></tr>
- </table>
- </td>
- <td class="legend-explanation">
- All library's tests pass.
- </td>
- </tr>
- <tr>
- <td class="legend-item" width="50pt">
- <table width="100%" summary="expected fail legend">
- <tr class="summary-row-single"><td class="summary-fail-expected user-summary-fail-expected"><u>details</u></td></tr>
- </table>
- </td>
- <td class="legend-explanation">
- Most of the library's tests pass, but there are some <b>known failures</b> which might affect the library's
- functionality. Please follow the link to see the detailed report.
- </td>
- </tr>
- <tr>
- <td class="legend-item" width="50pt">
- <table width="100%" summary="unexpected new fail legend">
- <tr class="summary-row-single"><td class="summary-fail-unexpected-new user-summary-fail-unexpected-new"><u>details</u></td></tr>
- </table>
- </td>
- <td class="legend-explanation">
- Some of the <b>newly added</b> library's tests fail, or some of the library's tests fail on
- the <b>newly added compiler</b>, or some of the tests fail due to <b>unresearched
- reasons</b>. Please follow the link to see the detailed report.
- </td>
- </tr>
- <tr>
- <td class="legend-item" width="50pt">
- <table width="100%" summary="unexpected fail legend">
- <tr class="summary-row-single"><td class="summary-fail-unexpected user-summary-fail-unexpected"><u>regress.</u></td></tr>
- </table>
- </td>
- <td class="legend-explanation">
- There are some <b>regressions</b> in the library comparing to the previous release.
- Please follow the link to see the detailed report.
- </td>
- </tr>
- <tr>
- <td class="legend-item" width="50pt">
- <table width="100%" summary="unusable legend">
- <tr class="summary-row-single"><td class="summary-unusable user-summary-unusable">unusable</td></tr>
- </table>
- </td>
- <td class="legend-explanation">
- The library author marked it as <b>unusable</b> on the particular platform/toolset.
- Please follow the link to see the detailed report.
- </td>
- </tr>
-</table>
-<hr/>
-<table border="0" summary="report description" id="Table1">
- <tr>
- <td><span class="run-type-incremental">i</span></td>
- <td class="legend-explanation">An incremental run.</td>
- </tr>
-</table>
-</div>
diff --git a/tools/regression/xsl_reports/xsl/v2/issues_page.xsl b/tools/regression/xsl_reports/xsl/v2/issues_page.xsl
deleted file mode 100644
index 64117d9007..0000000000
--- a/tools/regression/xsl_reports/xsl/v2/issues_page.xsl
+++ /dev/null
@@ -1,327 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-
-<!--
-
-Copyright MetaCommunications, Inc. 2003-2004.
-
-Distributed under the Boost Software License, Version 1.0. (See
-accompanying file LICENSE_1_0.txt or copy at
-http://www.boost.org/LICENSE_1_0.txt)
-
--->
-
-<xsl:stylesheet
- xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
- xmlns:exsl="http://exslt.org/common"
- xmlns:func="http://exslt.org/functions"
- xmlns:meta="http://www.meta-comm.com"
- xmlns:set="http://exslt.org/sets"
- extension-element-prefixes="func exsl"
- exclude-result-prefixes="exsl set meta"
- version="1.0">
-
- <xsl:import href="common.xsl"/>
-
- <xsl:output method="html"
- doctype-public="-//W3C//DTD HTML 4.01 Transitional//EN"
- encoding="utf-8"
- indent="yes"
- />
-
-
- <xsl:param name="source"/>
- <xsl:param name="run_date"/>
- <xsl:param name="warnings"/>
- <xsl:param name="comment_file"/>
- <xsl:param name="expected_results_file"/>
- <xsl:param name="explicit_markup_file"/>
- <xsl:param name="release"/>
-
- <!-- the author-specified expected test results -->
- <xsl:variable name="explicit_markup" select="document( $explicit_markup_file )"/>
- <xsl:variable name="expected_results" select="document( $expected_results_file )" />
-
- <xsl:variable name="release_postfix">
- <xsl:if test="$release='yes'">
- <xsl:text>_release</xsl:text>
- </xsl:if>
- </xsl:variable>
-
- <!-- necessary indexes -->
- <xsl:key
- name="test_name_key"
- match="test-log"
- use="concat( @library, '@', @test-name )"/>
-
- <xsl:key
- name="library_key"
- match="test-log"
- use="@library"/>
- <xsl:key name="toolset_key" match="test-log" use="@toolset"/>
-
- <!-- toolsets -->
-
- <xsl:variable name="required_toolsets" select="$explicit_markup//mark-toolset[ @status='required' ]"/>
- <xsl:variable name="required_toolset_names" select="$explicit_markup//mark-toolset[ @status='required' ]/@name"/>
-
- <!-- libraries -->
-
- <xsl:variable
- name="failing_tests"
- select="//test-log[@status='unexpected' and @result='fail'
- and @toolset = $required_toolset_names
- and meta:is_test_log_a_test_case(.)
- and meta:show_library( @library, $release )
- and meta:show_toolset( @toolset, $release )
- and not (meta:is_unusable($explicit_markup, @library,
- @toolset )) ]"/>
-
- <xsl:variable name="libraries" select="set:distinct( $failing_tests/@library )"/>
-
- <xsl:template match="/">
- <xsl:variable name="issues_list"
- select="concat('issues', $release_postfix, '_.html')"/>
-
- <!-- Issues page -->
- <html>
- <head>
- <link rel="stylesheet" type="text/css" href="../master.css" title="master" />
- <title>Boost regression unresolved issues: <xsl:value-of select="$source"/></title>
- </head>
- <frameset cols="190px,*" frameborder="0" framespacing="0" border="0">
- <frame name="tocframe" src="toc{$release_postfix}.html" scrolling="auto"/>
- <frame name="docframe" src="{$issues_list}" scrolling="auto"/>
- </frameset>
- </html>
-
- <!-- Issues list -->
- <xsl:message>Writing document <xsl:value-of select="$issues_list"/></xsl:message>
-
- <exsl:document href="{$issues_list}"
- method="html"
- doctype-public="-//W3C//DTD XHTML 1.0 Strict//EN"
- encoding="utf-8"
- indent="yes">
-
- <html>
- <head>
- <link rel="stylesheet" type="text/css" href="../master.css" title="master" />
- </head>
- <body>
-
- <h1 class="page-title">
- <xsl:text>Unresolved Issues: </xsl:text>
- <a class="hover-link" href="summary{$release_postfix}.html" target="_top"><xsl:value-of select="$source"/></a>
- </h1>
-
- <xsl:call-template name="insert_report_header">
- <xsl:with-param name="run_date" select="$run_date"/>
- <xsl:with-param name="warnings" select="$warnings"/>
- <xsl:with-param name="purpose" select="'Provides a list of current unresolved test failures.'"/>
- </xsl:call-template>
-
- <!-- Emit the index -->
- <h2>Libraries with unresolved failures</h2>
- <div align="center">
- <xsl:for-each select="$libraries">
- <xsl:sort select="." order="ascending"/>
- <xsl:variable name="library" select="."/>
- <a href="#{$library}">
- <xsl:value-of select="$library"/>
- </a>
- <xsl:text> </xsl:text>
- </xsl:for-each>
- </div>
-
- <xsl:for-each select="$libraries">
- <xsl:sort select="." order="ascending"/>
- <xsl:variable name="library" select="."/>
- <xsl:variable name="library_page" select="meta:encode_path( $library )" />
- <xsl:variable name="library_tests" select="$failing_tests[@library = $library]"/>
- <xsl:variable name="library_test_names" select="set:distinct( $library_tests/@test-name )"/>
-
- <h2>
- <a name="{$library}"/>
- <a class="hover-link" href="{$library_page}{$release_postfix}.html" target="_top">
- <xsl:value-of select="$library"/>
- <xsl:text> (</xsl:text>
- <xsl:value-of select="count($library_tests)"/>
- <xsl:text> failure</xsl:text>
- <xsl:if test="count($library_tests) &gt; 1">
- <xsl:text>s</xsl:text>
- </xsl:if>
- <xsl:text>)</xsl:text>
- </a>
- </h2>
-
- <table class="library-issues-table" summary="issues">
- <thead>
- <tr valign="middle">
- <td class="head">test</td>
- <td class="head">failures</td>
- </tr>
- </thead>
- <tfoot>
- <tr valign="middle">
- <td class="head">test</td>
- <td class="head">failures</td>
- </tr>
- </tfoot>
-
- <tbody>
- <xsl:for-each select="$library_test_names">
- <xsl:sort select="." order="ascending"/>
- <xsl:variable name="test_name" select="."/>
-
- <xsl:variable name="unexpected_toolsets" select="$library_tests[@test-name = $test_name]/@toolset"/>
-
- <xsl:variable name="test_program" select="$library_tests[@test-name = $test_name]/@test-program"/>
- <tr>
- <td class="test-name">
- <a href="http://svn.boost.org/svn/boost/{$source}/{$test_program}" class="test-link" target="_top">
- <xsl:value-of select="$test_name"/>
- </a>
- </td>
- <td class="failures-row">
- <table summary="unexpected fail legend" class="issue-box">
- <tr class="library-row-single">
- <xsl:for-each select="$unexpected_toolsets">
- <xsl:sort select="." order="ascending"/>
- <xsl:variable name="toolset" select="."/>
- <xsl:variable name="test_logs"
- select="$library_tests[@test-name = $test_name
- and @toolset = $toolset]"/>
- <xsl:for-each select="$test_logs">
- <xsl:call-template name="print_failure_cell">
- <xsl:with-param name="test_log" select="."/>
- <xsl:with-param name="toolset" select="$toolset"/>
- </xsl:call-template>
- </xsl:for-each>
- </xsl:for-each>
- </tr>
- </table>
- </td>
- </tr>
- </xsl:for-each>
- </tbody>
-
- </table>
- </xsl:for-each>
- <xsl:copy-of select="document( 'html/issues_legend.html' )"/>
- <xsl:copy-of select="document( 'html/make_tinyurl.html' )"/>
- </body>
- </html>
- </exsl:document>
-
- <xsl:message>Writing document issues-email.txt</xsl:message>
- <exsl:document href="issues-email.txt" method="text" encoding="utf-8">
- <xsl:text>Boost regression test failures
-------------------------------
-Report time: </xsl:text>
-
- <xsl:value-of select="$run_date"/>
-
- <xsl:text>
-
-This report lists all regression test failures on release platforms.
-
-Detailed report:
- http://beta.boost.org/development/tests/</xsl:text>
- <xsl:value-of select="$source"/>
- <xsl:text>/developer/issues.html
-
-</xsl:text>
- <xsl:value-of select="count($failing_tests)"/>
- <xsl:text> failure</xsl:text>
- <xsl:if test="count($failing_tests) &gt; 1">
- <xsl:text>s</xsl:text>
- </xsl:if>
- <xsl:text> in </xsl:text>
- <xsl:value-of select="count($libraries)"/>
- <xsl:text> librar</xsl:text>
- <xsl:choose>
- <xsl:when test="count($libraries) &gt; 1">
- <xsl:text>ies</xsl:text>
- </xsl:when>
- <xsl:otherwise>
- <xsl:text>y</xsl:text>
- </xsl:otherwise>
- </xsl:choose>
- <xsl:text>:
-</xsl:text>
- <xsl:for-each select="$libraries">
- <xsl:sort select="." order="ascending"/>
- <xsl:variable name="library" select="."/>
- <xsl:text> </xsl:text>
- <xsl:value-of select="$library"/>
- <xsl:text> (</xsl:text>
- <xsl:value-of select="count($failing_tests[@library = $library])"/>
- <xsl:text>)
-</xsl:text>
- </xsl:for-each>
-
- <xsl:for-each select="$libraries">
- <xsl:sort select="." order="ascending"/>
- <xsl:variable name="library" select="."/>
- <xsl:variable name="library_page" select="meta:encode_path( $library )" />
- <xsl:variable name="library_tests" select="$failing_tests[@library = $library]"/>
- <xsl:variable name="library_test_names" select="set:distinct( $library_tests/@test-name )"/>
-
- <xsl:text>
-|</xsl:text>
- <xsl:value-of select="$library"/>
- <xsl:text>|
-</xsl:text>
-
- <xsl:for-each select="$library_test_names">
- <xsl:sort select="." order="ascending"/>
- <xsl:variable name="test_name" select="."/>
-
- <xsl:variable name="unexpected_toolsets" select="$library_tests[@test-name = $test_name]/@toolset"/>
-
- <xsl:variable name="test_program" select="$library_tests[@test-name = $test_name]/@test-program"/>
- <xsl:text> </xsl:text>
- <xsl:value-of select="$test_name"/>
- <xsl:text>:</xsl:text>
- <xsl:for-each select="$unexpected_toolsets">
- <xsl:sort select="." order="ascending"/>
- <xsl:text> </xsl:text>
- <xsl:value-of select="."/>
- </xsl:for-each>
- <xsl:text>
-</xsl:text>
- </xsl:for-each>
- </xsl:for-each>
- </exsl:document>
- </xsl:template>
-
- <xsl:template name="print_failure_cell">
- <xsl:param name="test_log" select="."/>
- <xsl:param name="toolset"/>
-
- <xsl:variable name="test_run" select="$test_log/.."/>
-
- <xsl:variable name="log_link">
- <xsl:value-of select="meta:log_file_path($test_log, $test_run/@runner,
- $release_postfix )"/>
- </xsl:variable>
- <xsl:variable name="class">
- <xsl:choose>
- <xsl:when test="$test_log/@is-new = 'yes'">
- <xsl:text>library-fail-unexpected-new</xsl:text>
- </xsl:when>
- <xsl:otherwise>
- <xsl:text>library-fail-unexpected</xsl:text>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:variable>
-
- <td class="{$class}">
- <span>
- <a href="{$log_link}" class="log-link" target="_top">
- <xsl:value-of select="$toolset"/>
- </a>
- </span>
- </td>
- </xsl:template>
-</xsl:stylesheet>
diff --git a/tools/regression/xsl_reports/xsl/v2/links_page.xsl b/tools/regression/xsl_reports/xsl/v2/links_page.xsl
deleted file mode 100644
index 1aacd6c7c8..0000000000
--- a/tools/regression/xsl_reports/xsl/v2/links_page.xsl
+++ /dev/null
@@ -1,399 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!--
-
-Copyright MetaCommunications, Inc. 2003-2006.
-
-Distributed under the Boost Software License, Version 1.0. (See
-accompanying file LICENSE_1_0.txt or copy at
-http://www.boost.org/LICENSE_1_0.txt)
-
--->
-
-<xsl:stylesheet
- xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
- xmlns:str="http://exslt.org/strings"
- xmlns:set="http://exslt.org/sets"
- xmlns:exsl="http://exslt.org/common"
- xmlns:func="http://exslt.org/functions"
- xmlns:meta="http://www.meta-comm.com"
- extension-element-prefixes="func exsl str set"
- exclude-result-prefixes="meta"
- version="1.0">
-
- <xsl:import href="common.xsl"/>
-
- <xsl:output method="html"
- doctype-public="-//W3C//DTD HTML 4.01 Transitional//EN"
- encoding="utf-8"
- indent="yes"
- />
-
- <xsl:param name="source"/>
- <xsl:param name="run_date"/>
- <xsl:param name="comment_file"/>
- <xsl:param name="explicit_markup_file"/>
-
- <xsl:variable name="explicit_markup" select="document( $explicit_markup_file )"/>
- <xsl:variable name="runner_id" select="test-run/@runner"/>
- <xsl:variable name="revision" select="test-run/@revision"/>
- <xsl:variable name="timestamp" select="test-run/@timestamp"/>
-
- <!-- runs / toolsets -->
- <xsl:variable name="run_toolsets" select="meta:test_structure( /, 'no' )"/>
-
- <!-- libraries -->
- <xsl:variable name="test_case_logs" select="//test-log[ meta:is_test_log_a_test_case(.) ]"/>
- <xsl:variable name="libraries" select="set:distinct( $test_case_logs/@library )"/>
-
- <xsl:variable name="unusables_f">
- <xsl:for-each select="set:distinct( $run_toolsets//toolset/@name )">
- <xsl:variable name="toolset" select="."/>
- <xsl:for-each select="$libraries">
- <xsl:variable name="library" select="."/>
- <xsl:if test="meta:is_unusable_( $explicit_markup, $library, $toolset )">
- <unusable library-name="{$library}" toolset-name="{$toolset}"/>
- </xsl:if>
- </xsl:for-each>
- </xsl:for-each>
- </xsl:variable>
-
- <xsl:variable name="unusables" select="exsl:node-set( $unusables_f )"/>
-
-
- <xsl:key
- name="library-name_toolset-name_key"
- match="unusable"
- use="concat( @library-name, '&gt;@&lt;', @toolset-name )"/>
-
-
- <!--
- Build a tree with the following structure:
-
- lib -> test -> toolsets -> test-log
- -->
-
- <xsl:template match="/">
- <xsl:variable name="test_logs_to_show" select="//test-log"/>
- <xsl:variable name="libs_test_test_log_tree" select="meta:restructure_logs( $test_logs_to_show )"/>
-
- <exsl:document href="debug.xml"
- method="xml"
- encoding="utf-8"
- indent="yes">
- <debug>
- <xsl:copy-of select="$libs_test_test_log_tree"/>
- </debug>
- </exsl:document>
-
- <xsl:for-each select="$libs_test_test_log_tree//toolset">
- <xsl:variable name="toolset" select="."/>
- <xsl:variable name="library_name" select="$toolset/../../@name"/>
- <xsl:variable name="test_name" select="$toolset/../@name"/>
- <xsl:variable name="toolset_name" select="$toolset/@name"/>
- <xsl:message>Processing test "<xsl:value-of select="$runner_id"/>/<xsl:value-of select="$library_name"/>/<xsl:value-of select="$test_name"/>/<xsl:value-of select="$toolset_name"/>"</xsl:message>
-
- <xsl:if test="count( $toolset/* ) &gt; 1">
- <xsl:message> Processing variants</xsl:message>
-
- <xsl:variable name="variants_file_path" select="meta:output_file_path( concat( $runner_id, '-', $library_name, '-', $toolset_name, '-', $test_name, '-variants' ) )"/>
-
- <xsl:call-template name="write_variants_file">
- <xsl:with-param name="path" select="$variants_file_path"/>
- <xsl:with-param name="test_logs" select="$toolset/*"/>
- <xsl:with-param name="runner_id" select="$runner_id"/>
- <xsl:with-param name="revision" select="$revision"/>
- <xsl:with-param name="timestamp" select="$timestamp"/>
- </xsl:call-template>
-
- <xsl:for-each select="str:tokenize( string( ' |_release' ), '|')">
- <xsl:variable name="release_postfix" select="translate(.,' ','')"/>
- <xsl:for-each select="str:tokenize( string( 'developer|user' ), '|')">
- <xsl:variable name="directory" select="."/>
- <xsl:variable name="variants__file_path" select="concat( $directory, '/', meta:encode_path( concat( $runner_id, '-', $library_name, '-', $toolset_name, '-', $test_name, '-variants_', $release_postfix ) ), '.html' )"/>
-
- <xsl:call-template name="write_variants_reference_file">
- <xsl:with-param name="path" select="$variants__file_path"/>
- <xsl:with-param name="variants_file_path" select="concat( '../', $variants_file_path )"/>
- <xsl:with-param name="release_postfix" select="$release_postfix"/>
- </xsl:call-template>
- </xsl:for-each>
- </xsl:for-each>
- </xsl:if>
-
- <xsl:for-each select="./test-log">
- <xsl:message> Processing test-log</xsl:message>
- <xsl:variable name="test_log" select="."/>
-
- <xsl:if test="meta:show_output( $explicit_markup, $test_log )">
- <xsl:variable name="log_file_path" select="meta:log_file_path( ., $runner_id )"/>
-
- <xsl:call-template name="write_test_result_file">
- <xsl:with-param name="path" select="$log_file_path"/>
- <xsl:with-param name="test_log" select="$test_log"/>
- <xsl:with-param name="runner_id" select="$runner_id"/>
- <xsl:with-param name="revision" select="$revision"/>
- <xsl:with-param name="timestamp" select="$timestamp"/>
- </xsl:call-template>
-
- <xsl:for-each select="str:tokenize( string( ' |_release' ), '|')">
- <xsl:variable name="release_postfix" select="translate(.,' ','')"/>
- <xsl:for-each select="str:tokenize( string( 'developer|user' ), '|')">
- <xsl:variable name="directory" select="."/>
-
- <xsl:variable name="reference_file_path" select="concat( $directory, '/', meta:log_file_path( $test_log, $runner_id, $release_postfix ) )"/>
- <xsl:call-template name="write_test_results_reference_file">
- <xsl:with-param name="path" select="$reference_file_path"/>
- <xsl:with-param name="log_file_path" select="$log_file_path"/>
- </xsl:call-template>
- </xsl:for-each>
- </xsl:for-each>
- </xsl:if>
-
- </xsl:for-each>
- </xsl:for-each>
- </xsl:template>
-
- <func:function name="meta:restructure_logs">
- <xsl:param name="test_logs"/>
- <xsl:variable name="libs" select="set:distinct( $test_logs/@library )"/>
- <xsl:variable name="fragment">
- <runner runner_id="{$test_logs[1]/../@runner}" revision="{$test_logs[1]/../@revision}" timestamp="{$test_logs[1]/../@timestamp}">
- <xsl:for-each select="$libs">
- <xsl:variable name="library_name" select="."/>
- <xsl:variable name="library_test_logs" select="$test_logs[@library=$library_name]"/>
- <library name="{$library_name}">
- <xsl:variable name="tests" select="set:distinct( $library_test_logs/@test-name )"/>
- <xsl:for-each select="$tests">
- <xsl:variable name="test_name" select="."/>
- <xsl:variable name="test_test_logs" select="$library_test_logs[@test-name=$test_name]"/>
- <test name="{$test_name}" >
- <xsl:variable name="toolsets" select="set:distinct( $test_test_logs/@toolset )"/>
- <xsl:for-each select="$toolsets">
- <xsl:variable name="toolset" select="."/>
- <xsl:variable name="toolset_test_logs" select="$test_test_logs[@toolset=$toolset]"/>
- <toolset name="{$toolset}">
- <xsl:copy-of select="$toolset_test_logs"/>
- </toolset>
- </xsl:for-each>
- </test>
- </xsl:for-each>
- </library>
- </xsl:for-each>
- </runner>
- </xsl:variable>
- <func:result select="exsl:node-set( $fragment )"/>
- </func:function>
-
- <xsl:template name="write_variants_reference_file">
- <xsl:param name="path"/>
- <xsl:param name="variants_file_path"/>
- <xsl:param name="release_postfix"/>
-
- <xsl:message> Writing variants reference file <xsl:value-of select="$path"/></xsl:message>
- <exsl:document href="{$path}"
- method="html"
- doctype-public="-//W3C//DTD XHTML 1.0 Strict//EN"
- encoding="utf-8"
- indent="yes">
- <html>
- <head>
- <link rel="stylesheet" type="text/css" href="../master.css" title="master" />
- <!-- <title>Boost regression: <xsl:value-of select="$library_name"/>/<xsl:value-of select="$source"/></title>-->
- </head>
- <frameset cols="190px,*" frameborder="0" framespacing="0" border="0">
- <frame name="tocframe" src="toc{$release_postfix}.html" scrolling="auto"/>
- <frame name="docframe" src="{$variants_file_path}" scrolling="auto"/>
- </frameset>
- </html>
- </exsl:document>
-
- </xsl:template>
-
- <func:function name="meta:output_page_header">
- <xsl:param name="test_log"/>
- <xsl:param name="runner_id"/>
- <xsl:choose>
- <xsl:when test="$test_log/@test-name != ''">
- <func:result select="concat( $runner_id, ' - ', $test_log/@library, ' - ', $test_log/@test-name, ' / ', $test_log/@toolset )"/>
- </xsl:when>
- <xsl:otherwise>
- <func:result select="$test_log/@target-dir"/>
- </xsl:otherwise>
- </xsl:choose>
- </func:function>
-
-
- <xsl:template name="write_variants_file">
- <xsl:param name="path"/>
- <xsl:param name="test_logs"/>
- <xsl:param name="runner_id"/>
- <xsl:param name="revision"/>
- <xsl:param name="timestamp"/>
- <xsl:message> Writing variants file <xsl:value-of select="$path"/></xsl:message>
- <exsl:document href="{$path}"
- method="html"
- doctype-public="-//W3C//DTD XHTML 1.0 Strict//EN"
- encoding="utf-8"
- indent="yes">
-
- <html>
- <xsl:variable name="component" select="meta:output_page_header( $test_logs[1], $runner_id )"/>
- <xsl:variable name="age" select="meta:timestamp_difference( $timestamp, $run_date )"/>
-
- <head>
- <link rel="stylesheet" type="text/css" href="../master.css" title="master" />
- <title>Test output: <xsl:value-of select="$component"/></title>
- </head>
-
- <body>
- <div class="log-test-header">
- <div class="log-test-title">
- Test output: <xsl:value-of select="$component"/>
- </div>
- <div><span class="timestamp-{$age}">
- Rev <xsl:value-of select="$revision"/> /
- <xsl:value-of select="meta:format_timestamp( $timestamp )"/>
- </span></div>
- </div>
-
- <div>
- <b>Report Time: </b> <xsl:value-of select="meta:format_timestamp( $run_date )"/>
- </div>
-
- <p>Output by test variants:</p>
- <table>
- <xsl:for-each select="$test_logs">
- <tr>
- <td>
- <xsl:choose>
- <xsl:when test="meta:log_file_path(.,$runner_id) != ''">
- <a href="../{meta:log_file_path(.,$runner_id)}">
- <xsl:value-of select="@target-directory"/>
- </a>
- </xsl:when>
- <xsl:otherwise>
- <xsl:value-of select="@target-directory"/>
- </xsl:otherwise>
- </xsl:choose>
- </td>
- </tr>
- </xsl:for-each>
- </table>
- </body>
- </html>
- </exsl:document>
- </xsl:template>
-
- <xsl:template name="write_test_result_file">
- <xsl:param name="path"/>
- <xsl:param name="test_log"/>
- <xsl:param name="runner_id"/>
- <xsl:param name="revision"/>
- <xsl:param name="timestamp"/>
- <xsl:message> Writing log file document <xsl:value-of select="$path"/></xsl:message>
-
- <exsl:document href="{$path}"
- method="html"
- doctype-public="-//W3C//DTD XHTML 1.0 Strict//EN"
- encoding="utf-8"
- indent="yes">
-
- <html>
- <xsl:variable name="component" select="meta:output_page_header( $test_log, $runner_id )"/>
- <xsl:variable name="age" select="meta:timestamp_difference( $timestamp, $run_date )"/>
-
- <head>
- <link rel="stylesheet" type="text/css" href="../master.css" title="master" />
- <title>Test output: <xsl:value-of select="$component"/></title>
- </head>
-
- <body>
- <div class="log-test-header">
- <div class="log-test-title">
- Test output: <xsl:value-of select="$component"/>
- </div>
- <div><span class="timestamp-{$age}">
- Rev <xsl:value-of select="$revision"/> /
- <xsl:value-of select="meta:format_timestamp( $timestamp )"/>
- </span></div>
- </div>
-
- <div>
- <b>Report Time: </b> <xsl:value-of select="meta:format_timestamp( $run_date )"/>
- </div>
-
- <xsl:if test="notes/note">
- <p>
- <div class="notes-title">Notes</div>
- <xsl:call-template name="show_notes">
- <xsl:with-param name="notes" select="notes/note"/>
- <xsl:with-param name="explicit_markup" select="$explicit_markup"/>
- </xsl:call-template>
- </p>
- </xsl:if>
-
- <xsl:if test="compile">
- <p>
- <div class="log-compiler-output-title">Compile [<xsl:value-of select="compile/@timestamp"/>]: <span class="output-{compile/@result}"><xsl:value-of select="compile/@result"/></span></div>
- <pre><xsl:copy-of select="compile/node()"/></pre>
- </p>
- </xsl:if>
-
- <xsl:if test="link">
- <p>
- <div class="log-linker-output-title">Link [<xsl:value-of select="link/@timestamp"/>]: <span class="output-{link/@result}"><xsl:value-of select="link/@result"/></span></div>
- <pre><xsl:copy-of select="link/node()"/></pre>
- </p>
- </xsl:if>
-
- <xsl:if test="lib">
- <p>
- <div class="log-linker-output-title">Lib [<xsl:value-of select="lib/@timestamp"/>]: <span class="output-{lib/@result}"><xsl:value-of select="lib/@result"/></span></div>
- <p>
- See <a href="{meta:encode_path( concat( $runner_id, '-', lib/node() ) ) }.html">
- <xsl:copy-of select="lib/node()"/>
- </a>
- </p>
- </p>
- </xsl:if>
-
- <xsl:if test="run">
- <p>
- <div class="log-run-output-title">Run [<xsl:value-of select="run/@timestamp"/>]: <span class="output-{run/@result}"><xsl:value-of select="run/@result"/></span></div>
- <pre>
- <xsl:copy-of select="run/node()"/>
- </pre>
- </p>
- </xsl:if>
-
- <xsl:copy-of select="document( 'html/make_tinyurl.html' )"/>
- </body>
-
- </html>
- </exsl:document>
- </xsl:template>
-
-
- <xsl:template name="write_test_results_reference_file">
- <xsl:param name="path"/>
- <xsl:param name="log_file_path"/>
- <xsl:message> Writing log frame document <xsl:value-of select="$path"/></xsl:message>
- <exsl:document href="{$path}"
- method="html"
- doctype-public="-//W3C//DTD XHTML 1.0 Strict//EN"
- encoding="utf-8"
- indent="yes">
-
- <html>
- <head>
- <link rel="stylesheet" type="text/css" href="../master.css" title="master" />
- </head>
- <frameset cols="190px,*" frameborder="0" framespacing="0" border="0">
- <frame name="tocframe" src="../toc.html" scrolling="auto"/>
- <frame name="docframe" src="../../{$log_file_path}" scrolling="auto"/>
- </frameset>
- </html>
- </exsl:document>
- </xsl:template>
-
-</xsl:stylesheet>
diff --git a/tools/regression/xsl_reports/xsl/v2/produce_expected_results.xsl b/tools/regression/xsl_reports/xsl/v2/produce_expected_results.xsl
deleted file mode 100644
index 8574c59361..0000000000
--- a/tools/regression/xsl_reports/xsl/v2/produce_expected_results.xsl
+++ /dev/null
@@ -1,36 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!--
-
-Copyright MetaCommunications, Inc. 2003-2005.
-
-Distributed under the Boost Software License, Version 1.0. (See
-accompanying file LICENSE_1_0.txt or copy at
-http://www.boost.org/LICENSE_1_0.txt)
-
--->
-
-<xsl:stylesheet
- xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
- xmlns:meta="http://www.meta-comm.com"
- exclude-result-prefixes="meta"
- version="1.0">
-
- <xsl:import href="common.xsl"/>
-
- <xsl:output method="xml" encoding="utf-8"/>
-
- <xsl:template match="/">
- <root>
- <expected-failures>
- <xsl:apply-templates select="*//test-log"/>
- </expected-failures>
- </root>
- </xsl:template>
-
- <xsl:template match="test-log">
- <xsl:if test="meta:is_test_log_a_test_case(.)">
- <test-result library="{@library}" test-name="{@test-name}" toolset="{@toolset}" result="{@result}" />
- </xsl:if>
- </xsl:template>
-
-</xsl:stylesheet>
diff --git a/tools/regression/xsl_reports/xsl/v2/result_page.xsl b/tools/regression/xsl_reports/xsl/v2/result_page.xsl
deleted file mode 100644
index 7528430f97..0000000000
--- a/tools/regression/xsl_reports/xsl/v2/result_page.xsl
+++ /dev/null
@@ -1,691 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!--
-
-Copyright MetaCommunications, Inc. 2003-2007.
-
-Distributed under the Boost Software License, Version 1.0. (See
-accompanying file LICENSE_1_0.txt or copy at
-http://www.boost.org/LICENSE_1_0.txt)
-
--->
-
-<xsl:stylesheet
- xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
- xmlns:exsl="http://exslt.org/common"
- xmlns:func="http://exslt.org/functions"
- xmlns:set="http://exslt.org/sets"
- xmlns:meta="http://www.meta-comm.com"
- extension-element-prefixes="func exsl"
- exclude-result-prefixes="exsl set meta"
- version="1.0">
-
- <xsl:import href="common.xsl"/>
-
- <xsl:output method="html"
- doctype-public="-//W3C//DTD HTML 4.01 Transitional//EN"
- encoding="utf-8"
- indent="yes"
- />
-
- <xsl:param name="links_file"/>
- <xsl:param name="mode"/>
- <xsl:param name="source"/>
- <xsl:param name="run_date"/>
- <xsl:param name="warnings"/>
- <xsl:param name="comment_file"/>
- <xsl:param name="expected_results_file"/>
- <xsl:param name="explicit_markup_file"/>
- <xsl:param name="release"/>
-
- <!-- the author-specified expected test results -->
- <xsl:variable name="explicit_markup" select="document( $explicit_markup_file )"/>
- <xsl:variable name="expected_results" select="document( $expected_results_file )" />
-
- <!-- necessary indexes -->
- <xsl:key
- name="test_name_key"
- match="test-log"
- use="concat( @library, '&gt;@&lt;', @test-name )"/>
- <xsl:key name="toolset_key" match="test-log" use="@toolset"/>
-
- <!-- runs / toolsets -->
- <xsl:variable name="run_toolsets" select="meta:test_structure( /, $release )"/>
-
- <!-- libraries -->
-
- <xsl:variable name="test_case_logs" select="//test-log[ meta:is_test_log_a_test_case(.) ]"/>
- <xsl:variable name="libraries" select="set:distinct( $test_case_logs/@library )"/>
- <xsl:variable name="unusables_f">
- <unusables>
- <xsl:for-each select="set:distinct( $run_toolsets//toolset/@name )">
- <xsl:variable name="toolset" select="."/>
- <xsl:for-each select="$libraries">
- <xsl:variable name="library" select="."/>
- <xsl:if test="meta:is_unusable_( $explicit_markup, $library, $toolset )">
- <unusable library-name="{$library}" toolset-name="{$toolset}"/>
- </xsl:if>
- </xsl:for-each>
- </xsl:for-each>
- </unusables>
- </xsl:variable>
-
- <xsl:variable name="unusables" select="exsl:node-set( $unusables_f )"/>
-
-
- <xsl:key
- name="library-name_toolset-name_key"
- match="unusables/unusable"
- use="concat( @library-name, '&gt;@&lt;', @toolset-name )"/>
-
- <!-- modes -->
-
- <xsl:variable name="alternate_mode">
- <xsl:choose>
- <xsl:when test="$mode='user'">developer</xsl:when>
- <xsl:otherwise>user</xsl:otherwise>
- </xsl:choose>
- </xsl:variable>
-
- <xsl:variable name="release_postfix">
- <xsl:if test="$release='yes'">_release</xsl:if>
- </xsl:variable>
-
-
-
- <xsl:template name="test_type_col">
- <td class="test-type">
- <a href="http://www.boost.org/status/compiler_status.html#Understanding" class="legend-link" target="_top">
- <xsl:variable name="test_type" select="./@test-type"/>
- <xsl:choose>
- <xsl:when test="$test_type='run_pyd'"> <xsl:text>r</xsl:text> </xsl:when>
- <xsl:when test="$test_type='run_mpi'"> <xsl:text>r</xsl:text> </xsl:when>
- <xsl:when test="$test_type='run'"> <xsl:text>r</xsl:text> </xsl:when>
- <xsl:when test="$test_type='run_fail'"> <xsl:text>rf</xsl:text> </xsl:when>
- <xsl:when test="$test_type='compile'"> <xsl:text>c</xsl:text> </xsl:when>
- <xsl:when test="$test_type='compile_fail'"> <xsl:text>cf</xsl:text> </xsl:when>
- <xsl:when test="$test_type='link'"> <xsl:text>l</xsl:text> </xsl:when>
- <xsl:when test="$test_type='link_fail'"> <xsl:text>lf</xsl:text> </xsl:when>
- <xsl:otherwise>
- <xsl:message terminate="yes">Incorrect test type "<xsl:value-of select="$test_type"/>"</xsl:message>
- </xsl:otherwise>
- </xsl:choose>
- </a>
- </td>
- </xsl:template>
-
-
- <xsl:template match="/">
-
- <xsl:message><xsl:value-of select="count($unusables)"/><xsl:copy-of select="$unusables"/></xsl:message>
-
- <exsl:document href="debug.xml"
- method="xml"
- encoding="utf-8"
- indent="yes">
-
- <debug>
- <runs>
- <xsl:for-each select="$run_toolsets">
- <xsl:copy-of select="."/>
- </xsl:for-each>
- </runs>
- <xsl:copy-of select="$unusables_f"/>
- <xsl:copy-of select="$unusables"/>
- </debug>
-
- </exsl:document>
- <xsl:message>Wrote debug</xsl:message>
- <xsl:variable name="index_path" select="concat( 'index', $release_postfix, '_.html' )"/>
-
- <!-- Index page -->
- <head>
- <link rel="stylesheet" type="text/css" href="../master.css" title="master" />
- <title>Boost regression: <xsl:value-of select="$source"/></title>
- </head>
- <frameset cols="190px,*" frameborder="0" framespacing="0" border="0">
- <frame name="tocframe" src="toc{$release_postfix}.html" scrolling="auto"/>
- <frame name="docframe" src="{$index_path}" scrolling="auto"/>
- </frameset>
-
- <!-- Index content -->
- <xsl:message>Writing document <xsl:value-of select="$index_path"/></xsl:message>
-
- <exsl:document href="{$index_path}"
- method="html"
- doctype-public="-//W3C//DTD XHTML 1.0 Strict//EN"
- encoding="utf-8"
- indent="yes">
-
- <html>
- <head>
- <link rel="stylesheet" type="text/css" href="../master.css" title="master" />
- </head>
- <body>
-
- <img border="0" src="http://www.boost.org/boost.png" width="277" height="86" align="right" alt="Boost logo"></img>
-
- <h1 class="page-title">
- <xsl:value-of select="$mode"/>
- <xsl:text> report: </xsl:text>
- <a class="hover-link" href="summary.html" target="_top"><xsl:value-of select="$source"/></a>
- </h1>
-
- <xsl:variable name="purpose">
- <xsl:choose>
- <xsl:when test="$mode='user'">
- The purpose of this report is to help a user to find out whether a particular library
- works on the particular compiler(s). For SVN "health report", see
- <a href="../{$alternate_mode}/index.html" target="_top">developer summary</a>.
- </xsl:when>
- <xsl:when test="$mode='developer'">
- Provides Boost developers with visual indication of the SVN "health". For user-level
- report, see <a href="../{$alternate_mode}/index.html" target="_top">user summary</a>.
- </xsl:when>
- </xsl:choose>
- </xsl:variable>
-
- <xsl:call-template name="insert_report_header">
- <xsl:with-param name="run_date" select="$run_date"/>
- <xsl:with-param name="warnings" select="$warnings"/>
- <xsl:with-param name="purpose" select="$purpose"/>
- </xsl:call-template>
-
- <div class="comment">
- <xsl:if test="$comment_file != ''">
- <xsl:copy-of select="document( $comment_file )"/>
- </xsl:if>
- </div>
-
- </body>
- </html>
- </exsl:document>
-
-
- <xsl:variable name="multiple.libraries" select="count( $libraries ) > 1"/>
-
- <!-- TOC -->
- <xsl:if test="$multiple.libraries">
-
- <xsl:variable name="toc_path" select="concat( 'toc', $release_postfix, '.html' )"/>
- <xsl:message>Writing document <xsl:value-of select="$toc_path"/></xsl:message>
-
- <exsl:document href="{$toc_path}"
- method="html"
- doctype-public="-//W3C//DTD XHTML 1.0 Strict//EN"
- encoding="utf-8"
- indent="yes">
-
- <html>
- <head>
- <link rel="stylesheet" type="text/css" href="../master.css" title="master" />
- </head>
- <body class="{$mode}-toc">
- <div class="toc-header-entry">
- <a href="index{$release_postfix}.html" class="toc-entry" target="_top">Report info</a>
- </div>
- <div class="toc-header-entry">
- <a href="summary{$release_postfix}.html" class="toc-entry" target="_top">Summary</a>
- </div>
-
- <xsl:if test="$mode='developer'">
- <div class="toc-header-entry">
- <a href="issues.html" class="toc-entry" target="_top">Unresolved issues</a>
- </div>
- </xsl:if>
-
- <div class="toc-header-entry">
- <xsl:call-template name="insert_view_link">
- <xsl:with-param name="page" select="'index'"/>
- <xsl:with-param name="class" select="'toc-entry'"/>
- <xsl:with-param name="release" select="$release"/>
- </xsl:call-template>
- </div>
-
- <hr/>
-
- <xsl:for-each select="$libraries">
- <xsl:sort select="." order="ascending" />
- <xsl:variable name="library_page" select="meta:encode_path(.)" />
- <div class="toc-entry">
- <a href="{$library_page}{$release_postfix}.html" class="toc-entry" target="_top">
- <xsl:value-of select="."/>
- </a>
- </div>
- </xsl:for-each>
- </body>
- </html>
-
- </exsl:document>
- </xsl:if>
-
- <!-- Libraries -->
- <xsl:for-each select="$libraries[ meta:show_library( ., $release )]">
- <xsl:sort select="." order="ascending" />
- <xsl:variable name="library" select="." />
-
- <xsl:variable name="library_results" select="concat( meta:encode_path( $library ), $release_postfix, '_.html' )"/>
- <xsl:variable name="library_page" select="concat( meta:encode_path( $library ), $release_postfix, '.html' )"/>
-
- <!-- Library page -->
- <xsl:message>Writing document <xsl:value-of select="$library_page"/></xsl:message>
-
- <exsl:document href="{$library_page}"
- method="html"
- doctype-public="-//W3C//DTD XHTML 1.0 Strict//EN"
- encoding="utf-8"
- indent="yes">
-
- <html>
- <head>
- <link rel="stylesheet" type="text/css" href="../master.css" title="master" />
- <title>Boost regression: <xsl:value-of select="$library"/>/<xsl:value-of select="$source"/></title>
- </head>
- <frameset cols="190px,*" frameborder="0" framespacing="0" border="0">
- <frame name="tocframe" src="toc{$release_postfix}.html" scrolling="auto"/>
- <frame name="docframe" src="{$library_results}" scrolling="auto"/>
- </frameset>
- </html>
- </exsl:document>
-
- <!-- Library results frame -->
- <xsl:message>Writing document <xsl:value-of select="$library_results"/></xsl:message>
-
- <exsl:document href="{$library_results}"
- method="html"
- doctype-public="-//W3C//DTD XHTML 1.0 Strict//EN"
- encoding="utf-8"
- indent="yes">
-
- <html>
- <head>
- <link rel="stylesheet" type="text/css" href="../master.css" title="master" />
- </head>
-
- <body>
-
- <xsl:call-template name="insert_page_links">
- <xsl:with-param name="page" select="meta:encode_path( $library )"/>
- <xsl:with-param name="release" select="$release"/>
- <xsl:with-param name="mode" select="$alternate_mode"/>
- </xsl:call-template>
-
- <h1 class="page-title">
- <a class="hover-link" name="{$library}" href="http://www.boost.org/libs/{$library}" target="_top">
- <xsl:value-of select="$library" />
- </a>
- <xsl:text>/</xsl:text>
- <a class="hover-link" href="summary.html" target="_top"><xsl:value-of select="$source"/></a>
- </h1>
-
- <xsl:call-template name="insert_report_header">
- <xsl:with-param name="run_date" select="$run_date"/>
- <xsl:with-param name="warnings" select="$warnings"/>
- </xsl:call-template>
-
- <!-- library marks = library-unusable markup for toolsets in the report -->
- <xsl:variable name="library_marks" select="$explicit_markup//library[ @name = $library ]/mark-unusable/toolset[ meta:re_match( @name, $run_toolsets//toolset/@name ) ]/.."/>
-
- <table border="0" cellspacing="0" cellpadding="0" class="library-table" width="1%" summary="Library results">
-
- <thead>
- <xsl:call-template name="insert_runners_rows">
- <xsl:with-param name="mode" select="'details'"/>
- <xsl:with-param name="top_or_bottom" select="'top'"/>
- <xsl:with-param name="run_toolsets" select="$run_toolsets"/>
- <xsl:with-param name="run_date" select="$run_date"/>
- </xsl:call-template>
-
- <xsl:call-template name="insert_toolsets_row">
- <xsl:with-param name="mode" select="'details'"/>
- <xsl:with-param name="library_marks" select="$library_marks"/>
- <xsl:with-param name="library" select="$library"/>
- <xsl:with-param name="run_date" select="$run_date"/>
- </xsl:call-template>
- </thead>
- <tfoot>
- <xsl:call-template name="insert_toolsets_row">
- <xsl:with-param name="mode" select="'details'"/>
- <xsl:with-param name="library_marks" select="$library_marks"/>
- <xsl:with-param name="library" select="$library"/>
- <xsl:with-param name="run_date" select="$run_date"/>
- </xsl:call-template>
-
- <xsl:call-template name="insert_runners_rows">
- <xsl:with-param name="mode" select="'details'"/>
- <xsl:with-param name="top_or_bottom" select="'bottom'"/>
- <xsl:with-param name="run_toolsets" select="$run_toolsets"/>
- <xsl:with-param name="run_date" select="$run_date"/>
- </xsl:call-template>
- </tfoot>
-
- <tbody>
- <xsl:variable name="lib_tests" select="$test_case_logs[@library = $library]" />
- <xsl:variable name="lib_unique_tests_list"
- select="$lib_tests[ generate-id(.) = generate-id( key('test_name_key', concat( @library, '&gt;@&lt;', @test-name ) ) ) ]" />
-
- <xsl:variable name="lib_tests_by_category"
- select="meta:order_tests_by_category( $lib_unique_tests_list )"/>
-
- <xsl:call-template name="insert_test_section">
- <xsl:with-param name="library" select="$library"/>
- <xsl:with-param name="section_test_names" select="$lib_tests_by_category"/>
- <xsl:with-param name="lib_tests" select="$lib_tests"/>
- <xsl:with-param name="toolsets" select="$run_toolsets"/>
- </xsl:call-template>
-
- </tbody>
- </table>
- <xsl:if test="count( $library_marks/note ) > 0 ">
- <table border="0" cellpadding="0" cellspacing="0" class="library-library-notes" summary="library notes">
- <xsl:for-each select="$library_marks/note">
- <tr class="library-library-note">
- <td valign="top" width="3em">
- <a name="{$library}-note-{position()}">
- <span class="super"><xsl:value-of select="position()"/></span>
- </a>
- </td>
- <td>
- <xsl:variable name="refid" select="@refid"/>
- <xsl:call-template name="show_note">
- <xsl:with-param name="note" select="." />
- <xsl:with-param name="references" select="$refid"/>
- </xsl:call-template>
- </td>
- </tr>
- </xsl:for-each>
- </table>
- </xsl:if>
-
- <div id="legend">
- <xsl:copy-of select="document( concat( 'html/library_', $mode, '_legend.html' ) )"/>
- </div>
-
- <xsl:call-template name="insert_page_links">
- <xsl:with-param name="page" select="meta:encode_path( $library )"/>
- <xsl:with-param name="release" select="$release"/>
- <xsl:with-param name="mode" select="$alternate_mode"/>
- </xsl:call-template>
-
- </body>
- </html>
-
- </exsl:document>
-
- </xsl:for-each>
-
- </xsl:template>
-
-
- <!-- insert test result with log file link -->
-
- <xsl:template name="insert_test_result">
- <xsl:param name="result"/>
- <xsl:param name="log_link"/>
-
- <xsl:choose>
- <xsl:when test="$log_link != ''">
- <xsl:text>&#160;&#160;</xsl:text>
- <a href="{$log_link}" class="log-link" target="_top">
- <xsl:copy-of select="$result"/>
- </a>
- <xsl:text>&#160;&#160;</xsl:text>
- </xsl:when>
- <xsl:otherwise>
- <xsl:text>&#160;&#160;</xsl:text>
- <xsl:copy-of select="$result"/>
- <xsl:text>&#160;&#160;</xsl:text>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:template>
-
- <!-- report developer status -->
- <xsl:template name="insert_cell_developer">
- <xsl:param name="library"/>
- <xsl:param name="toolset"/>
- <xsl:param name="test_log"/>
-
- <xsl:variable name="class" select="concat( 'library-', meta:result_cell_class( $library, $toolset, $test_log ) )"/>
-
- <xsl:variable name="cell_link">
- <xsl:choose>
- <xsl:when test="count( $test_log ) &gt; 1">
- <xsl:variable name="variants__file_path" select="concat( meta:encode_path( concat( $test_log/../@runner, '-', $test_log/@library, '-', $test_log/@toolset, '-', $test_log/@test-name, '-variants_', $release_postfix ) ), '.html' )"/>
- <xsl:value-of select="$variants__file_path"/>
- </xsl:when>
- <xsl:otherwise>
- <xsl:value-of select="meta:log_file_path( $test_log, $test_log/../@runner, $release_postfix )"/>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:variable>
-
- <td class="{$class}" title="{$test_log/@test-name}/{$toolset}">
- <xsl:choose>
- <xsl:when test="meta:is_unusable( $explicit_markup, $library, $toolset )">
- <xsl:call-template name="insert_test_result">
- <xsl:with-param name="result" select="'n/a'"/>
- <xsl:with-param name="log_link" select="$cell_link"/>
- </xsl:call-template>
- </xsl:when>
-
- <xsl:when test="count( $test_log ) &lt; 1">
- <xsl:text>&#160;&#160;&#160;&#160;</xsl:text>
- </xsl:when>
-
- <xsl:when test="count( $test_log[ @result != 'success' and @status = 'expected' ] ) &gt; 0">
- <xsl:call-template name="insert_test_result">
- <xsl:with-param name="result">
- <xsl:choose>
- <xsl:when test="$test_log/@expected-reason != ''">
- <xsl:text>fail?</xsl:text>
- </xsl:when>
- <xsl:otherwise>
- <xsl:text>fail*</xsl:text>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:with-param>
- <xsl:with-param name="log_link" select="$cell_link"/>
- </xsl:call-template>
- </xsl:when>
-
- <xsl:when test="$test_log/@result != 'success' and $test_log/@status = 'unexpected'">
- <xsl:call-template name="insert_test_result">
- <xsl:with-param name="result" select="'fail'"/>
- <xsl:with-param name="log_link" select="$cell_link"/>
- </xsl:call-template>
- </xsl:when>
-
- <xsl:when test="$test_log/@result = 'success' and $test_log/@status = 'unexpected'">
- <xsl:call-template name="insert_test_result">
- <xsl:with-param name="result" select="'pass'"/>
- <xsl:with-param name="log_link" select="$cell_link"/>
- </xsl:call-template>
- </xsl:when>
-
- <xsl:otherwise>
- <xsl:call-template name="insert_test_result">
- <xsl:with-param name="result" select="'pass'"/>
- <xsl:with-param name="log_link" select="$cell_link"/>
- </xsl:call-template>
- </xsl:otherwise>
- </xsl:choose>
- </td>
- </xsl:template>
-
- <!-- report user status -->
- <xsl:template name="insert_cell_user">
- <xsl:param name="library"/>
- <xsl:param name="toolset"/>
- <xsl:param name="test_log"/>
-
- <xsl:variable name="class" select="concat( 'library-', meta:result_cell_class( $library, $toolset, $test_log ) )"/>
-
- <xsl:variable name="cell_link">
- <xsl:choose>
- <xsl:when test="count( $test_log ) &gt; 1">
- <xsl:variable name="variants__file_path" select="concat( meta:encode_path( concat( $test_log/../@runner, '-', $test_log/@library, '-', $test_log/@toolset, '-', $test_log/@test-name, '-variants_', $release_postfix ) ), '.html' )"/>
- <xsl:value-of select="$variants__file_path"/>
- </xsl:when>
- <xsl:otherwise>
- <xsl:value-of select="meta:log_file_path( $test_log, $test_log/../@runner, $release_postfix )"/>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:variable>
-
- <td class="{$class} user-{$class}" title="{$test_log/@test-name}/{$toolset}">
- <xsl:choose>
- <xsl:when test="meta:is_unusable( $explicit_markup, $library, $toolset )">
- <xsl:call-template name="insert_test_result">
- <xsl:with-param name="result" select="'unusable'"/>
- <xsl:with-param name="log_link" select="$cell_link"/>
- </xsl:call-template>
- </xsl:when>
-
- <xsl:when test="count( $test_log ) &lt; 1">
- <xsl:text>&#160;&#160;&#160;&#160;</xsl:text>
- </xsl:when>
-
- <xsl:when test="$test_log/@result != 'success' and $test_log/@status = 'expected'">
- <xsl:call-template name="insert_test_result">
- <xsl:with-param name="result">
- <xsl:choose>
- <xsl:when test="$test_log/@expected-reason != ''">
- <xsl:text>fail?</xsl:text>
- </xsl:when>
- <xsl:otherwise>
- <xsl:text>fail*</xsl:text>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:with-param>
- <xsl:with-param name="log_link" select="$cell_link"/>
- </xsl:call-template>
- </xsl:when>
-
- <xsl:when test="$test_log/@result != 'success' and $test_log/@status = 'unexpected'">
- <xsl:call-template name="insert_test_result">
- <xsl:with-param name="result" select="'fail'"/>
- <xsl:with-param name="log_link" select="$cell_link"/>
- </xsl:call-template>
- </xsl:when>
-
- <xsl:when test="$test_log/@result = 'success' and $test_log/@status = 'unexpected'">
- <xsl:call-template name="insert_test_result">
- <xsl:with-param name="result" select="'pass'"/>
- <xsl:with-param name="log_link" select="$cell_link"/>
- </xsl:call-template>
- </xsl:when>
-
- <xsl:otherwise>
- <xsl:call-template name="insert_test_result">
- <xsl:with-param name="result" select="'pass'"/>
- <xsl:with-param name="log_link" select="$cell_link"/>
- </xsl:call-template>
- </xsl:otherwise>
- </xsl:choose>
- </td>
- </xsl:template>
-
- <xsl:template name="insert_test_line">
- <xsl:param name="library"/>
- <xsl:param name="test_name"/>
- <xsl:param name="test_results"/>
- <xsl:param name="line_mod"/>
-
- <xsl:variable name="test_program">
- <xsl:value-of select="$test_results[1]/@test-program"/>
- </xsl:variable>
-
- <xsl:variable name="test_header">
- <td class="test-name">
- <a href="http://svn.boost.org/svn/boost/{$source}/{$test_program}" class="test-link" target="_top">
- <xsl:value-of select="$test_name"/>
- </a>
- </td>
- </xsl:variable>
-
- <tr class="library-row{$line_mod}">
- <xsl:copy-of select="$test_header"/>
- <xsl:call-template name="test_type_col"/>
-
- <xsl:for-each select="$run_toolsets/platforms/platform/runs/run/toolset">
- <xsl:variable name="toolset" select="@name" />
- <xsl:variable name="runner" select="../@runner" />
-
- <xsl:variable name="test_result_for_toolset" select="$test_results[ @toolset = $toolset and ../@runner=$runner ]"/>
-
- <!-- Insert cell -->
- <xsl:choose>
- <xsl:when test="$mode='user'">
- <xsl:call-template name="insert_cell_user">
- <xsl:with-param name="library" select="$library"/>
- <xsl:with-param name="toolset" select="$toolset"/>
- <xsl:with-param name="test_log" select="$test_result_for_toolset"/>
- </xsl:call-template>
- </xsl:when>
- <xsl:when test="$mode='developer'">
- <xsl:call-template name="insert_cell_developer">
- <xsl:with-param name="library" select="$library"/>
- <xsl:with-param name="toolset" select="$toolset"/>
- <xsl:with-param name="test_log" select="$test_result_for_toolset"/>
- </xsl:call-template>
- </xsl:when>
- </xsl:choose>
-
- </xsl:for-each>
- <xsl:copy-of select="$test_header"/>
- </tr>
- </xsl:template>
-
- <xsl:template name="insert_test_section">
- <xsl:param name="library"/>
- <xsl:param name="section_test_names"/>
- <xsl:param name="lib_tests"/>
- <xsl:param name="toolsets"/>
-
- <xsl:variable name="category_span" select="count($toolsets/platforms/platform/runs/run/toolset) + 3"/>
-
- <xsl:for-each select="$section_test_names">
-
- <xsl:variable name="test_name" select="@test-name"/>
- <xsl:variable name="category_start" select="position() = 1 or @category != preceding-sibling::*[1]/@category"/>
- <xsl:variable name="category_end" select="position() = last() or @category != following-sibling::*[1]/@category"/>
-
- <xsl:variable name="line_mod">
- <xsl:choose>
- <xsl:when test="$category_start and $category_end"><xsl:text>-single</xsl:text></xsl:when>
- <xsl:when test="$category_start"><xsl:text>-first</xsl:text></xsl:when>
- <xsl:when test="$category_end"><xsl:text>-last</xsl:text></xsl:when>
- <xsl:otherwise><xsl:text></xsl:text></xsl:otherwise>
- </xsl:choose>
- </xsl:variable>
-
- <xsl:if test="$category_start and @category != '0'">
- <tr>
- <td class="library-test-category-header" colspan="{$category_span}" align="center">
- <xsl:value-of select="@category"/>
- </td>
- </tr>
- </xsl:if>
-
- <xsl:call-template name="insert_test_line">
- <xsl:with-param name="library" select="$library"/>
- <xsl:with-param name="test_results" select="$lib_tests[ @test-name = $test_name ]"/>
- <xsl:with-param name="test_name" select="$test_name"/>
- <xsl:with-param name="line_mod" select="$line_mod"/>
- </xsl:call-template>
- </xsl:for-each>
-
- </xsl:template>
-
- <func:function name="meta:order_tests_by_category">
- <xsl:param name="tests"/>
-
- <xsl:variable name="a">
- <xsl:for-each select="$tests">
- <xsl:sort select="concat( @category, '|', @test-name )" order="ascending"/>
- <xsl:copy-of select="."/>
- </xsl:for-each>
- </xsl:variable>
- <func:result select="exsl:node-set( $a )/*"/>
- </func:function>
-
-</xsl:stylesheet>
diff --git a/tools/regression/xsl_reports/xsl/v2/runners.xsl b/tools/regression/xsl_reports/xsl/v2/runners.xsl
deleted file mode 100644
index 9bda7db8d3..0000000000
--- a/tools/regression/xsl_reports/xsl/v2/runners.xsl
+++ /dev/null
@@ -1,56 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!--
-
-Copyright MetaCommunications, Inc. 2003-2004.
-
-Distributed under the Boost Software License, Version 1.0. (See
-accompanying file LICENSE_1_0.txt or copy at
-http://www.boost.org/LICENSE_1_0.txt)
-
--->
-
-<xsl:stylesheet
- xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
- xmlns:exsl="http://exslt.org/common"
- extension-element-prefixes="exsl"
- version="1.0">
-
- <xsl:output method="html"/>
-
- <xsl:template match="/">
- <html>
- <body bgcolor="#FFFFFF">
- <xsl:apply-templates/>
- </body>
- </html>
- </xsl:template>
-
- <xsl:template match="test-run">
- <table>
- <tr>
- <td>
- <xsl:message>Writing runner document <xsl:value-of select="@runner"/></xsl:message>
- <a href="{@runner}.html"><xsl:value-of select="@runner"/></a>
- <exsl:document href="{@runner}.html"
- method="html"
- doctype-public="-//W3C//DTD XHTML 1.0 Strict//EN"
- encoding="utf-8"
- indent="yes">
- <html>
- <head>
- <title><xsl:value-of select="@runner"/></title>
- </head>
- <body>
- <h1><xsl:value-of select="@runner"/></h1>
- <hr></hr>
- <xsl:value-of select="comment/text()" disable-output-escaping="yes"/>
- </body>
- </html>
- </exsl:document>
- </td>
- </tr>
- </table>
- </xsl:template>
-
-</xsl:stylesheet>
-
diff --git a/tools/regression/xsl_reports/xsl/v2/summary_page.xsl b/tools/regression/xsl_reports/xsl/v2/summary_page.xsl
deleted file mode 100644
index b0e1deb477..0000000000
--- a/tools/regression/xsl_reports/xsl/v2/summary_page.xsl
+++ /dev/null
@@ -1,367 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!--
-
-Copyright MetaCommunications, Inc. 2003-2004.
-
-Distributed under the Boost Software License, Version 1.0. (See
-accompanying file LICENSE_1_0.txt or copy at
-http://www.boost.org/LICENSE_1_0.txt)
-
--->
-
-<xsl:stylesheet
- xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
- xmlns:exsl="http://exslt.org/common"
- xmlns:func="http://exslt.org/functions"
- xmlns:set="http://exslt.org/sets"
- xmlns:meta="http://www.meta-comm.com"
- extension-element-prefixes="func exsl"
- exclude-result-prefixes="exsl func set meta"
- version="1.0">
-
- <xsl:import href="common.xsl"/>
-
- <xsl:output method="html"
- doctype-public="-//W3C//DTD HTML 4.01 Transitional//EN"
- encoding="utf-8"
- indent="yes"
- />
-
- <xsl:param name="mode"/>
- <xsl:param name="source"/>
- <xsl:param name="run_date"/>
- <xsl:param name="warnings"/>
- <xsl:param name="comment_file"/>
- <xsl:param name="explicit_markup_file"/>
- <xsl:param name="release"/>
-
- <xsl:variable name="explicit_markup" select="document( $explicit_markup_file )"/>
-
- <!-- necessary indexes -->
- <xsl:key
- name="library_test_name_key"
- match="test-log"
- use="concat( @library, '&gt;@&lt;', @test-name )"/>
- <xsl:key name="toolset_key" match="test-log" use="@toolset"/>
- <xsl:key name="test_name_key" match="test-log" use="@test-name "/>
-
- <xsl:variable name="unusables_f">
- <xsl:for-each select="set:distinct( $run_toolsets//toolset/@name )">
- <xsl:variable name="toolset" select="."/>
- <xsl:for-each select="$libraries">
- <xsl:variable name="library" select="."/>
- <xsl:if test="meta:is_unusable_( $explicit_markup, $library, $toolset )">
- <unusable library-name="{$library}" toolset-name="{$toolset}"/>
- </xsl:if>
- </xsl:for-each>
- </xsl:for-each>
- </xsl:variable>
-
- <xsl:variable name="unusables" select="exsl:node-set( $unusables_f )"/>
-
-
- <xsl:key
- name="library-name_toolset-name_key"
- match="unusable"
- use="concat( @library-name, '&gt;@&lt;', @toolset-name )"/>
-
- <!--<xsl:variable name="expected_results" select="document( $expected_results_file )" />-->
-
- <!-- runs / toolsets -->
- <xsl:variable name="run_toolsets" select="meta:test_structure( /, $release )"/>
-
- <!-- libraries -->
-
- <xsl:variable name="test_case_logs" select="//test-log[ meta:is_test_log_a_test_case(.) and meta:show_library( @library, $release ) and meta:show_toolset( @toolset, $release )]"/>
- <xsl:variable name="libraries" select="set:distinct( $test_case_logs/@library )"/>
-
- <xsl:variable name="sorted_libraries_output">
- <xsl:for-each select="$libraries[ meta:show_library( ., $release )]">
- <xsl:sort select="." order="ascending" />
- <library><xsl:copy-of select="."/></library>
- </xsl:for-each>
- </xsl:variable>
-
- <xsl:variable name="sorted_libraries" select="exsl:node-set( $sorted_libraries_output )/library/@library"/>
-
- <!-- modes -->
-
- <xsl:variable name="alternate_mode">
- <xsl:choose>
- <xsl:when test="$mode='user'">developer</xsl:when>
- <xsl:otherwise>user</xsl:otherwise>
- </xsl:choose>
- </xsl:variable>
-
- <xsl:variable name="release_postfix">
- <xsl:if test="$release='yes'">
- <xsl:text>_release</xsl:text>
- </xsl:if>
- </xsl:variable>
-
- <xsl:template match="/">
-
- <xsl:variable name="summary_results" select="concat( 'summary', $release_postfix, '_.html' )"/>
-
- <!-- Summary page -->
- <html>
- <head>
- <link rel="stylesheet" type="text/css" href="../master.css" title="master" />
- <title>Boost regression summary: <xsl:value-of select="$source"/></title>
- </head>
- <frameset cols="190px,*" frameborder="0" framespacing="0" border="0">
- <frame name="tocframe" src="toc{$release_postfix}.html" scrolling="auto"/>
- <frame name="docframe" src="{$summary_results}" scrolling="auto"/>
- </frameset>
- </html>
-
- <!-- Summary results -->
- <xsl:message>Writing document <xsl:value-of select="$summary_results"/></xsl:message>
-
- <exsl:document href="{$summary_results}"
- method="html"
- doctype-public="-//W3C//DTD XHTML 1.0 Strict//EN"
- encoding="utf-8"
- indent="yes">
-
- <html>
- <head>
- <link rel="stylesheet" type="text/css" href="../master.css" title="master" />
- </head>
- <body>
-
- <xsl:call-template name="insert_page_links">
- <xsl:with-param name="page" select="'summary'"/>
- <xsl:with-param name="release" select="$release"/>
- <xsl:with-param name="mode" select="$alternate_mode"/>
- </xsl:call-template>
-
- <h1 class="page-title">
- <xsl:text>Summary: </xsl:text>
- <a class="hover-link" href="summary{$release_postfix}.html" target="_top"><xsl:value-of select="$source"/></a>
- </h1>
-
- <xsl:call-template name="insert_report_header">
- <xsl:with-param name="run_date" select="$run_date"/>
- <xsl:with-param name="warnings" select="$warnings"/>
- </xsl:call-template>
-
- <div class="statistics">
- Unusable: <xsl:value-of select="count( $test_case_logs[ meta:test_case_status( $explicit_markup, . ) = 'unusable' ] )"/>
- &#160;|&#160;
- Regressions: <xsl:value-of select="count( $test_case_logs[ meta:test_case_status( $explicit_markup, . ) = 'fail-unexpected' ] )"/>
- &#160;|&#160;
- New failures: <xsl:value-of select="count( $test_case_logs[ meta:test_case_status( $explicit_markup, . ) = 'fail-unexpected-new' ] )"/>
- </div>
-
- <!-- summary table -->
-
- <table border="0" cellspacing="0" cellpadding="0" width="1%" class="summary-table" summary="Overall summary">
-
- <thead>
- <xsl:call-template name="insert_runners_rows">
- <xsl:with-param name="mode" select="'summary'"/>
- <xsl:with-param name="top_or_bottom" select="'top'"/>
- <xsl:with-param name="run_toolsets" select="$run_toolsets"/>
- <xsl:with-param name="run_date" select="$run_date"/>
- </xsl:call-template>
-
- <xsl:call-template name="insert_toolsets_row">
- <xsl:with-param name="mode" select="'summary'"/>
- <xsl:with-param name="run_date" select="$run_date"/>
- </xsl:call-template>
- </thead>
-
- <tfoot>
- <xsl:call-template name="insert_toolsets_row">
- <xsl:with-param name="mode" select="'summary'"/>
- <xsl:with-param name="run_date" select="$run_date"/>
- </xsl:call-template>
- <xsl:call-template name="insert_runners_rows">
- <xsl:with-param name="mode" select="'summary'"/>
- <xsl:with-param name="top_or_bottom" select="'bottom'"/>
- <xsl:with-param name="run_toolsets" select="$run_toolsets"/>
- <xsl:with-param name="run_date" select="$run_date"/>
- </xsl:call-template>
- </tfoot>
-
- <tbody>
- <xsl:variable name="test_logs" select="$test_case_logs"/>
-
- <!-- for each library -->
- <xsl:for-each select="$sorted_libraries">
- <xsl:variable name="library" select="."/>
- <xsl:variable name="library_page" select="meta:encode_path( $library )" />
- <xsl:variable name="current_row" select="$test_logs[ @library=$library ]"/>
-
- <xsl:variable name="expected_test_count" select="count( $current_row[ generate-id(.) = generate-id( key('test_name_key',@test-name)[1] ) ] )"/>
- <xsl:variable name="library_header">
- <td class="library-name">
- <a href="{$library_page}{$release_postfix}.html" class="library-link" target="_top">
- <xsl:value-of select="$library"/>
- </a>
- </td>
- </xsl:variable>
-
- <xsl:variable name="line_mod">
- <xsl:choose>
- <xsl:when test="1 = last()">
- <xsl:text>-single</xsl:text>
- </xsl:when>
- <xsl:when test="generate-id( . ) = generate-id( $sorted_libraries[1] )">
- <xsl:text>-first</xsl:text>
- </xsl:when>
- <xsl:when test="generate-id( . ) = generate-id( $sorted_libraries[ last() ] )">
- <xsl:text>-last</xsl:text>
- </xsl:when>
- <xsl:otherwise>
- <xsl:text></xsl:text>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:variable>
-
-
- <tr class="summary-row{$line_mod}">
- <xsl:copy-of select="$library_header"/>
-
- <xsl:for-each select="$run_toolsets/platforms/platform/runs/run/toolset">
- <xsl:variable name="toolset" select="@name" />
- <xsl:variable name="runner" select="../@runner" />
-
- <xsl:variable name="current_cell" select="$current_row[ @toolset=$toolset and ../@runner = $runner ]"/>
-
- <xsl:choose>
- <xsl:when test="$mode='user'">
- <xsl:call-template name="insert_cell_user">
- <xsl:with-param name="current_cell" select="$current_cell"/>
- <xsl:with-param name="library" select="$library"/>
- <xsl:with-param name="toolset" select="$toolset"/>
- <xsl:with-param name="expected_test_count" select="$expected_test_count"/>
- </xsl:call-template>
- </xsl:when>
- <xsl:when test="$mode='developer'">
- <xsl:call-template name="insert_cell_developer">
- <xsl:with-param name="current_cell" select="$current_cell"/>
- <xsl:with-param name="library" select="$library"/>
- <xsl:with-param name="toolset" select="$toolset"/>
- <xsl:with-param name="expected_test_count" select="$expected_test_count"/>
- </xsl:call-template>
- </xsl:when>
- </xsl:choose>
- </xsl:for-each>
-
- <xsl:copy-of select="$library_header"/>
- </tr>
- </xsl:for-each>
- </tbody>
- </table>
-
- <div id="legend">
- <xsl:copy-of select="document( concat( 'html/summary_', $mode, '_legend.html' ) )"/>
- </div>
-
- <xsl:call-template name="insert_page_links">
- <xsl:with-param name="page" select="'summary'"/>
- <xsl:with-param name="release" select="$release"/>
- <xsl:with-param name="mode" select="$alternate_mode"/>
- </xsl:call-template>
-
- </body>
- </html>
- </exsl:document>
-
- </xsl:template>
-
- <!-- report developer status -->
- <xsl:template name="insert_cell_developer">
- <xsl:param name="current_cell"/>
- <xsl:param name="library"/>
- <xsl:param name="toolset"/>
- <xsl:param name="expected_test_count"/>
-
- <xsl:variable name="class" select="concat( 'summary-', meta:result_cell_class( $library, $toolset, $current_cell ) )"/>
-
- <xsl:variable name="library_page" select="meta:encode_path( $library )" />
-
- <td class="{$class}" title="{$library}/{$toolset}">
- <xsl:choose>
- <xsl:when test="$class='summary-unusable'">
- <xsl:text>&#160;&#160;</xsl:text>
- <a href="{$library_page}{$release_postfix}.html" class="log-link" target="_top">
- <xsl:text>n/a</xsl:text>
- </a>
- <xsl:text>&#160;&#160;</xsl:text>
- </xsl:when>
- <xsl:when test="$class='summary-missing'">
- <xsl:text>&#160;&#160;&#160;&#160;</xsl:text>
- </xsl:when>
- <xsl:when test="$class='summary-fail-unexpected'">
- <a href="{$library_page}{$release_postfix}.html" class="log-link" target="_top">
- <xsl:text>broken</xsl:text>
- </a>
- </xsl:when>
- <xsl:when test="$class='summary-fail-unexpected-new' ">
- <xsl:text>&#160;&#160;</xsl:text>
- <a href="{$library_page}{$release_postfix}.html" class="log-link" target="_top">
- <xsl:text>fail</xsl:text>
- </a>
- <xsl:text>&#160;&#160;</xsl:text>
- </xsl:when>
- <xsl:otherwise>
- <xsl:text>&#160;&#160;OK&#160;&#160;</xsl:text>
- </xsl:otherwise>
- </xsl:choose>
- </td>
-
- </xsl:template>
-
-
- <!-- report user status -->
- <xsl:template name="insert_cell_user">
- <xsl:param name="current_cell"/>
- <xsl:param name="library"/>
- <xsl:param name="toolset"/>
- <xsl:param name="expected_test_count"/>
-
- <xsl:variable name="class" select="concat( 'summary-', meta:result_cell_class( $library, $toolset, $current_cell ) )"/>
-
- <xsl:variable name="library_page" select="meta:encode_path( $library )" />
-
- <td class="{$class} user-{$class}" title="{$library}/{$toolset}">
- <xsl:choose>
- <xsl:when test="$class='summary-unusable'">
- <xsl:text>&#160;</xsl:text>
- <a href="{$library_page}{$release_postfix}.html" class="log-link" target="_top">
- <xsl:text>unusable</xsl:text>
- </a>
- <xsl:text>&#160;</xsl:text>
- </xsl:when>
- <xsl:when test="$class='summary-missing'">
- <xsl:text>&#160;no&#160;results&#160;</xsl:text>
- </xsl:when>
- <xsl:when test="$class='summary-fail-unexpected'">
- <xsl:text>&#160;</xsl:text>
- <a href="{$library_page}{$release_postfix}.html" class="log-link" target="_top">
- <xsl:text>regress.</xsl:text>
- </a>
- <xsl:text>&#160;</xsl:text>
- </xsl:when>
- <xsl:when test="$class='summary-fail-unexpected-new'
- or $class='summary-fail-expected'
- or $class='summary-unknown-status'
- or $class='summary-fail-expected-unresearched'">
- <xsl:text>&#160;</xsl:text>
- <a href="{$library_page}{$release_postfix}.html" class="log-link" target="_top">
- <xsl:text>details</xsl:text>
- </a>
- <xsl:text>&#160;</xsl:text>
- </xsl:when>
- <xsl:otherwise>
- <xsl:text>&#160;pass&#160;</xsl:text>
- </xsl:otherwise>
- </xsl:choose>
- </td>
-
- </xsl:template>
-
-</xsl:stylesheet>