Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r84376 - in trunk/tools/quickbook/test: python snippets xinclude/sub
From: dnljms_at_[hidden]
Date: 2013-05-19 14:07:53


Author: danieljames
Date: 2013-05-19 14:07:51 EDT (Sun, 19 May 2013)
New Revision: 84376
URL: http://svn.boost.org/trac/boost/changeset/84376

Log:
Fill in more missing quickbook test copyright info.
Added:
   trunk/tools/quickbook/test/xinclude/sub/boost-no-inspect (contents, props changed)
Text files modified:
   trunk/tools/quickbook/test/python/include_path_deps.txt | 3 +++
   trunk/tools/quickbook/test/python/include_path_locs.txt | 3 +++
   trunk/tools/quickbook/test/python/missing_relative_deps.txt | 3 +++
   trunk/tools/quickbook/test/python/missing_relative_locs.txt | 3 +++
   trunk/tools/quickbook/test/python/output-deps.py | 6 ++++++
   trunk/tools/quickbook/test/python/svg_missing_deps.txt | 3 +++
   trunk/tools/quickbook/test/python/svg_missing_locs.txt | 3 +++
   trunk/tools/quickbook/test/snippets/unbalanced_snippet1.cpp | 8 ++++++++
   trunk/tools/quickbook/test/snippets/unbalanced_snippet2.cpp | 9 +++++++++
   9 files changed, 41 insertions(+), 0 deletions(-)

Modified: trunk/tools/quickbook/test/python/include_path_deps.txt
==============================================================================
--- trunk/tools/quickbook/test/python/include_path_deps.txt (original)
+++ trunk/tools/quickbook/test/python/include_path_deps.txt 2013-05-19 14:07:51 EDT (Sun, 19 May 2013)
@@ -1,3 +1,6 @@
+# Copyright 2012-2013 Daniel James
+# 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)
 include_path.qbk
 sub1/a.qbk
 sub2/b.qbk

Modified: trunk/tools/quickbook/test/python/include_path_locs.txt
==============================================================================
--- trunk/tools/quickbook/test/python/include_path_locs.txt (original)
+++ trunk/tools/quickbook/test/python/include_path_locs.txt 2013-05-19 14:07:51 EDT (Sun, 19 May 2013)
@@ -1,3 +1,6 @@
+# Copyright 2012-2013 Daniel James
+# 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)
 + include_path.qbk
 - a.qbk
 + sub1/a.qbk

Modified: trunk/tools/quickbook/test/python/missing_relative_deps.txt
==============================================================================
--- trunk/tools/quickbook/test/python/missing_relative_deps.txt (original)
+++ trunk/tools/quickbook/test/python/missing_relative_deps.txt 2013-05-19 14:07:51 EDT (Sun, 19 May 2013)
@@ -1 +1,4 @@
+# Copyright 2012-2013 Daniel James
+# 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)
 missing_relative.qbk

Modified: trunk/tools/quickbook/test/python/missing_relative_locs.txt
==============================================================================
--- trunk/tools/quickbook/test/python/missing_relative_locs.txt (original)
+++ trunk/tools/quickbook/test/python/missing_relative_locs.txt 2013-05-19 14:07:51 EDT (Sun, 19 May 2013)
@@ -1,3 +1,6 @@
+# Copyright 2012-2013 Daniel James
+# 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)
 + missing_relative.qbk
 - ../missing.qbk
 - missing-dir/x.qbk

Modified: trunk/tools/quickbook/test/python/output-deps.py
==============================================================================
--- trunk/tools/quickbook/test/python/output-deps.py (original)
+++ trunk/tools/quickbook/test/python/output-deps.py 2013-05-19 14:07:51 EDT (Sun, 19 May 2013)
@@ -1,5 +1,9 @@
 #!/usr/bin/env python
 
+# Copyright 2012-2013 Daniel James
+# 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 sys, os, subprocess, tempfile, re
 
 def main(args, directory):
@@ -110,6 +114,7 @@
     dependencies = set()
     f = open(filename, 'r')
     for path in f:
+ if path[0] == '#': continue
         if adjust_paths:
             path = os.path.realpath(path)
         if path in dependencies:
@@ -122,6 +127,7 @@
     dependencies = {}
     f = open(filename, 'r')
     for line in f:
+ if line[0] == '#': continue
         m = line_matcher.match(line)
         if not m:
             raise Exception("Invalid dependency file: %1s" % filename)

Modified: trunk/tools/quickbook/test/python/svg_missing_deps.txt
==============================================================================
--- trunk/tools/quickbook/test/python/svg_missing_deps.txt (original)
+++ trunk/tools/quickbook/test/python/svg_missing_deps.txt 2013-05-19 14:07:51 EDT (Sun, 19 May 2013)
@@ -1 +1,4 @@
+# Copyright 2012-2013 Daniel James
+# 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)
 svg_missing.qbk

Modified: trunk/tools/quickbook/test/python/svg_missing_locs.txt
==============================================================================
--- trunk/tools/quickbook/test/python/svg_missing_locs.txt (original)
+++ trunk/tools/quickbook/test/python/svg_missing_locs.txt 2013-05-19 14:07:51 EDT (Sun, 19 May 2013)
@@ -1,2 +1,5 @@
+# Copyright 2012-2013 Daniel James
+# 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/missing.svg
 + svg_missing.qbk

Modified: trunk/tools/quickbook/test/snippets/unbalanced_snippet1.cpp
==============================================================================
--- trunk/tools/quickbook/test/snippets/unbalanced_snippet1.cpp (original)
+++ trunk/tools/quickbook/test/snippets/unbalanced_snippet1.cpp 2013-05-19 14:07:51 EDT (Sun, 19 May 2013)
@@ -1,3 +1,11 @@
+/*=============================================================================
+ Copyright (c) 2011 Daniel James
+
+ 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)
+=============================================================================*/
+
 //[unclosed
 
 int main() {}

Modified: trunk/tools/quickbook/test/snippets/unbalanced_snippet2.cpp
==============================================================================
--- trunk/tools/quickbook/test/snippets/unbalanced_snippet2.cpp (original)
+++ trunk/tools/quickbook/test/snippets/unbalanced_snippet2.cpp 2013-05-19 14:07:51 EDT (Sun, 19 May 2013)
@@ -1 +1,10 @@
 //]
+
+/*=============================================================================
+ Copyright (c) 2011 Daniel James
+
+ 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)
+=============================================================================*/
+

Added: trunk/tools/quickbook/test/xinclude/sub/boost-no-inspect
==============================================================================
--- (empty file)
+++ trunk/tools/quickbook/test/xinclude/sub/boost-no-inspect 2013-05-19 14:07:51 EDT (Sun, 19 May 2013)
@@ -0,0 +1,2 @@
+This directory just contains simple test files, which might be disrupted by
+adding copyright etc.


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