|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r67612 - in trunk: boost/functional/hash libs/functional/hash/test libs/unordered/test/unordered tools/boostbook/test/more tools/boostbook/test/more/tests/book tools/boostbook/test/more/tests/libs tools/boostbook/test/more/tests/syntax-highlight tools/quickbook/doc tools/quickbook/src
From: dnljms_at_[hidden]
Date: 2011-01-03 07:43:49
Author: danieljames
Date: 2011-01-03 07:43:34 EST (Mon, 03 Jan 2011)
New Revision: 67612
URL: http://svn.boost.org/trac/boost/changeset/67612
Log:
Fix tabs and files without copyright.
Text files modified:
trunk/boost/functional/hash/hash.hpp | 4 ++--
trunk/libs/functional/hash/test/hash_number_test.cpp | 2 +-
trunk/libs/unordered/test/unordered/insert_tests.cpp | 4 ++--
trunk/libs/unordered/test/unordered/rehash_tests.cpp | 2 +-
trunk/tools/boostbook/test/more/run-tests.py | 4 ++++
trunk/tools/boostbook/test/more/tests/book/boostbook.xml | 7 +++++++
trunk/tools/boostbook/test/more/tests/book/chapter.xml | 7 +++++++
trunk/tools/boostbook/test/more/tests/book/library-autoid.xml | 7 +++++++
trunk/tools/boostbook/test/more/tests/book/library.xml | 7 +++++++
trunk/tools/boostbook/test/more/tests/libs/array.xml | 7 +++++++
trunk/tools/boostbook/test/more/tests/syntax-highlight/comments.xml | 7 +++++++
trunk/tools/quickbook/doc/block.qbk | 9 +++++++++
trunk/tools/quickbook/doc/change_log.qbk | 9 +++++++++
trunk/tools/quickbook/doc/editors.qbk | 9 +++++++++
trunk/tools/quickbook/doc/faq.qbk | 9 +++++++++
trunk/tools/quickbook/doc/install.qbk | 9 +++++++++
trunk/tools/quickbook/doc/intro.qbk | 9 +++++++++
trunk/tools/quickbook/doc/phrase.qbk | 9 +++++++++
trunk/tools/quickbook/doc/ref.qbk | 9 +++++++++
trunk/tools/quickbook/doc/syntax.qbk | 9 +++++++++
trunk/tools/quickbook/src/fwd.hpp | 2 +-
trunk/tools/quickbook/src/syntax_highlight.cpp | 2 +-
22 files changed, 135 insertions(+), 8 deletions(-)
Modified: trunk/boost/functional/hash/hash.hpp
==============================================================================
--- trunk/boost/functional/hash/hash.hpp (original)
+++ trunk/boost/functional/hash/hash.hpp 2011-01-03 07:43:34 EST (Mon, 03 Jan 2011)
@@ -210,8 +210,8 @@
#endif
{
#if defined(__VMS) && __INITIAL_POINTER_SIZE == 64
- // for some reason ptrdiff_t on OpenVMS compiler with
- // 64 bit is not 64 bit !!!
+ // for some reason ptrdiff_t on OpenVMS compiler with
+ // 64 bit is not 64 bit !!!
std::size_t x = static_cast<std::size_t>(
reinterpret_cast<long long int>(v));
#else
Modified: trunk/libs/functional/hash/test/hash_number_test.cpp
==============================================================================
--- trunk/libs/functional/hash/test/hash_number_test.cpp (original)
+++ trunk/libs/functional/hash/test/hash_number_test.cpp 2011-01-03 07:43:34 EST (Mon, 03 Jan 2011)
@@ -114,7 +114,7 @@
BOOST_TEST(x1(T(1)) != x2(T(2)));
if((limits::max)() != (limits::max)() - 1)
BOOST_TEST(x1(static_cast<T>((limits::max)()))
- != x2(static_cast<T>((limits::max)() - 1)));
+ != x2(static_cast<T>((limits::max)() - 1)));
}
void bool_test()
Modified: trunk/libs/unordered/test/unordered/insert_tests.cpp
==============================================================================
--- trunk/libs/unordered/test/unordered/insert_tests.cpp (original)
+++ trunk/libs/unordered/test/unordered/insert_tests.cpp 2011-01-03 07:43:34 EST (Mon, 03 Jan 2011)
@@ -172,7 +172,7 @@
BOOST_TEST(*pos == *r2);
tracker.compare_key(x, *it);
- if(static_cast<double>(x.size()) < b * static_cast<double>(old_bucket_count))
+ if(static_cast<double>(x.size()) < b * static_cast<double>(old_bucket_count))
BOOST_TEST(x.bucket_count() == old_bucket_count);
}
@@ -197,7 +197,7 @@
tracker.insert(*it);
tracker.compare_key(x, *it);
- if(static_cast<double>(x.size()) < b * static_cast<double>(old_bucket_count))
+ if(static_cast<double>(x.size()) < b * static_cast<double>(old_bucket_count))
BOOST_TEST(x.bucket_count() == old_bucket_count);
}
Modified: trunk/libs/unordered/test/unordered/rehash_tests.cpp
==============================================================================
--- trunk/libs/unordered/test/unordered/rehash_tests.cpp (original)
+++ trunk/libs/unordered/test/unordered/rehash_tests.cpp 2011-01-03 07:43:34 EST (Mon, 03 Jan 2011)
@@ -20,7 +20,7 @@
bool postcondition(X const& x, BOOST_DEDUCED_TYPENAME X::size_type n)
{
return static_cast<double>(x.bucket_count()) >
- static_cast<double>(x.size()) / x.max_load_factor() &&
+ static_cast<double>(x.size()) / x.max_load_factor() &&
x.bucket_count() >= n;
}
Modified: trunk/tools/boostbook/test/more/run-tests.py
==============================================================================
--- trunk/tools/boostbook/test/more/run-tests.py (original)
+++ trunk/tools/boostbook/test/more/run-tests.py 2011-01-03 07:43:34 EST (Mon, 03 Jan 2011)
@@ -1,5 +1,9 @@
#!/usr/bin/env python
+# Copyright 2010 Daniel James.
+# 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)
+
"""Boostbook tests
Usage: python build_docs.py [--generate-gold]
Modified: trunk/tools/boostbook/test/more/tests/book/boostbook.xml
==============================================================================
--- trunk/tools/boostbook/test/more/tests/book/boostbook.xml (original)
+++ trunk/tools/boostbook/test/more/tests/book/boostbook.xml 2011-01-03 07:43:34 EST (Mon, 03 Jan 2011)
@@ -1,4 +1,11 @@
<?xml version="1.0" encoding="utf-8"?>
+<!--
+ Copyright 2010 Daniel James.
+
+ 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)
+-->
<!DOCTYPE boostbook PUBLIC "-//Boost//DTD BoostBook XML V1.0//EN"
"http://www.boost.org/tools/boostbook/dtd/boostbook.dtd">
<boostbook id="test" xmlns:xi="http://www.w3.org/2001/XInclude"
Modified: trunk/tools/boostbook/test/more/tests/book/chapter.xml
==============================================================================
--- trunk/tools/boostbook/test/more/tests/book/chapter.xml (original)
+++ trunk/tools/boostbook/test/more/tests/book/chapter.xml 2011-01-03 07:43:34 EST (Mon, 03 Jan 2011)
@@ -1,4 +1,11 @@
<?xml version="1.0" encoding="utf-8"?>
+<!--
+ Copyright 2010 Daniel James.
+
+ 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)
+-->
<!DOCTYPE chapter PUBLIC "-//Boost//DTD BoostBook XML V1.0//EN"
"http://www.boost.org/tools/boostbook/dtd/boostbook.dtd">
<chapter id="test" xmlns:xi="http://www.w3.org/2001/XInclude"
Modified: trunk/tools/boostbook/test/more/tests/book/library-autoid.xml
==============================================================================
--- trunk/tools/boostbook/test/more/tests/book/library-autoid.xml (original)
+++ trunk/tools/boostbook/test/more/tests/book/library-autoid.xml 2011-01-03 07:43:34 EST (Mon, 03 Jan 2011)
@@ -1,4 +1,11 @@
<?xml version="1.0" encoding="utf-8"?>
+<!--
+ Copyright 2010 Daniel James.
+
+ 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)
+-->
<!DOCTYPE library PUBLIC "-//Boost//DTD BoostBook XML V1.0//EN"
"http://www.boost.org/tools/boostbook/dtd/boostbook.dtd">
<library lang="en">
Modified: trunk/tools/boostbook/test/more/tests/book/library.xml
==============================================================================
--- trunk/tools/boostbook/test/more/tests/book/library.xml (original)
+++ trunk/tools/boostbook/test/more/tests/book/library.xml 2011-01-03 07:43:34 EST (Mon, 03 Jan 2011)
@@ -1,4 +1,11 @@
<?xml version="1.0" encoding="utf-8"?>
+<!--
+ Copyright 2010 Daniel James.
+
+ 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)
+-->
<!DOCTYPE library PUBLIC "-//Boost//DTD BoostBook XML V1.0//EN"
"http://www.boost.org/tools/boostbook/dtd/boostbook.dtd">
<library id="test" xmlns:xi="http://www.w3.org/2001/XInclude"
Modified: trunk/tools/boostbook/test/more/tests/libs/array.xml
==============================================================================
--- trunk/tools/boostbook/test/more/tests/libs/array.xml (original)
+++ trunk/tools/boostbook/test/more/tests/libs/array.xml 2011-01-03 07:43:34 EST (Mon, 03 Jan 2011)
@@ -1,4 +1,11 @@
<?xml version="1.0" encoding="utf-8"?>
+<!--
+ Copyright 2010 Daniel James.
+
+ 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)
+-->
<!DOCTYPE library PUBLIC "-//Boost//DTD BoostBook XML V1.0//EN"
"http://www.boost.org/tools/boostbook/dtd/boostbook.dtd">
<library name="Array" dirname="array" id="array" last-revision="$Date$">
Modified: trunk/tools/boostbook/test/more/tests/syntax-highlight/comments.xml
==============================================================================
--- trunk/tools/boostbook/test/more/tests/syntax-highlight/comments.xml (original)
+++ trunk/tools/boostbook/test/more/tests/syntax-highlight/comments.xml 2011-01-03 07:43:34 EST (Mon, 03 Jan 2011)
@@ -1,4 +1,11 @@
<?xml version="1.0" encoding="utf-8"?>
+<!--
+ Copyright 2010 Daniel James.
+
+ 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)
+-->
<header name="example.hpp">
<para>
Fake reference documentation, so that the syntax highlighter will kick in.
Modified: trunk/tools/quickbook/doc/block.qbk
==============================================================================
--- trunk/tools/quickbook/doc/block.qbk (original)
+++ trunk/tools/quickbook/doc/block.qbk 2011-01-03 07:43:34 EST (Mon, 03 Jan 2011)
@@ -1,3 +1,12 @@
+[/
+ Copyright 2002,2004,2006 Joel de Guzman, Eric Niebler
+ Copyright 2010-2011 Daniel James
+
+ 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])
+]
+
[section:block Block Level Elements]
[section Document]
Modified: trunk/tools/quickbook/doc/change_log.qbk
==============================================================================
--- trunk/tools/quickbook/doc/change_log.qbk (original)
+++ trunk/tools/quickbook/doc/change_log.qbk 2011-01-03 07:43:34 EST (Mon, 03 Jan 2011)
@@ -1,3 +1,12 @@
+[/
+ Copyright 2002,2004,2006 Joel de Guzman, Eric Niebler
+ Copyright 2010-2011 Daniel James
+
+ 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])
+]
+
[section:change_log Change Log]
[section:versions Language Versions]
Modified: trunk/tools/quickbook/doc/editors.qbk
==============================================================================
--- trunk/tools/quickbook/doc/editors.qbk (original)
+++ trunk/tools/quickbook/doc/editors.qbk 2011-01-03 07:43:34 EST (Mon, 03 Jan 2011)
@@ -1,3 +1,12 @@
+[/
+ Copyright 2002,2004,2006 Joel de Guzman, Eric Niebler
+ Copyright 2010-2011 Daniel James
+
+ 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])
+]
+
[section:editors Editor Support]
Editing quickbook files is usually done with text editors both simple and
Modified: trunk/tools/quickbook/doc/faq.qbk
==============================================================================
--- trunk/tools/quickbook/doc/faq.qbk (original)
+++ trunk/tools/quickbook/doc/faq.qbk 2011-01-03 07:43:34 EST (Mon, 03 Jan 2011)
@@ -1,3 +1,12 @@
+[/
+ Copyright 2002,2004,2006 Joel de Guzman, Eric Niebler
+ Copyright 2010-2011 Daniel James
+
+ 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])
+]
+
[section:faq Frequently Asked Questions]
[heading Can I use QuickBook for non-Boost documentation?]
Modified: trunk/tools/quickbook/doc/install.qbk
==============================================================================
--- trunk/tools/quickbook/doc/install.qbk (original)
+++ trunk/tools/quickbook/doc/install.qbk 2011-01-03 07:43:34 EST (Mon, 03 Jan 2011)
@@ -1,3 +1,12 @@
+[/
+ Copyright 2002,2004,2006 Joel de Guzman, Eric Niebler
+ Copyright 2010-2011 Daniel James
+
+ 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])
+]
+
[section:install Installation and configuration]
This section provides some guidelines on how to install and configure
Modified: trunk/tools/quickbook/doc/intro.qbk
==============================================================================
--- trunk/tools/quickbook/doc/intro.qbk (original)
+++ trunk/tools/quickbook/doc/intro.qbk 2011-01-03 07:43:34 EST (Mon, 03 Jan 2011)
@@ -1,3 +1,12 @@
+[/
+ Copyright 2002,2004,2006 Joel de Guzman, Eric Niebler
+ Copyright 2010-2011 Daniel James
+
+ 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])
+]
+
[section:intro Introduction]
[:[*['["Why program by hand in five days what you can spend five years of your
Modified: trunk/tools/quickbook/doc/phrase.qbk
==============================================================================
--- trunk/tools/quickbook/doc/phrase.qbk (original)
+++ trunk/tools/quickbook/doc/phrase.qbk 2011-01-03 07:43:34 EST (Mon, 03 Jan 2011)
@@ -1,3 +1,12 @@
+[/
+ Copyright 2002,2004,2006 Joel de Guzman, Eric Niebler
+ Copyright 2010-2011 Daniel James
+
+ 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])
+]
+
[section:phrase Phrase Level Elements]
[section Font Styles]
Modified: trunk/tools/quickbook/doc/ref.qbk
==============================================================================
--- trunk/tools/quickbook/doc/ref.qbk (original)
+++ trunk/tools/quickbook/doc/ref.qbk 2011-01-03 07:43:34 EST (Mon, 03 Jan 2011)
@@ -1,3 +1,12 @@
+[/
+ Copyright 2002,2004,2006 Joel de Guzman, Eric Niebler
+ Copyright 2010-2011 Daniel James
+
+ 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])
+]
+
[section:ref Quick Reference]
[c++]
Modified: trunk/tools/quickbook/doc/syntax.qbk
==============================================================================
--- trunk/tools/quickbook/doc/syntax.qbk (original)
+++ trunk/tools/quickbook/doc/syntax.qbk 2011-01-03 07:43:34 EST (Mon, 03 Jan 2011)
@@ -1,3 +1,12 @@
+[/
+ Copyright 2002,2004,2006 Joel de Guzman, Eric Niebler
+ Copyright 2010-2011 Daniel James
+
+ 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])
+]
+
[section:syntax Syntax Summary]
A QuickBook document is composed of one or more blocks. An example of
Modified: trunk/tools/quickbook/src/fwd.hpp
==============================================================================
--- trunk/tools/quickbook/src/fwd.hpp (original)
+++ trunk/tools/quickbook/src/fwd.hpp 2011-01-03 07:43:34 EST (Mon, 03 Jan 2011)
@@ -24,4 +24,4 @@
std::string::const_iterator, position> iterator;
}
-#endif
\ No newline at end of file
+#endif
Modified: trunk/tools/quickbook/src/syntax_highlight.cpp
==============================================================================
--- trunk/tools/quickbook/src/syntax_highlight.cpp (original)
+++ trunk/tools/quickbook/src/syntax_highlight.cpp 2011-01-03 07:43:34 EST (Mon, 03 Jan 2011)
@@ -76,4 +76,4 @@
return str;
}
-}
\ No newline at end of file
+}
Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk