|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r58034 - in trunk/tools/quickbook: . detail test
From: daniel_james_at_[hidden]
Date: 2009-11-29 14:16:43
Author: danieljames
Date: 2009-11-29 14:16:42 EST (Sun, 29 Nov 2009)
New Revision: 58034
URL: http://svn.boost.org/trac/boost/changeset/58034
Log:
Merge some non-spirit 2 changes from the spirit 2 branch.
Mostly administrative, but also disable xinclude test as it fails on some
platforms due to the different paths used by boost build, I'm not sure how to
fix it.
Properties modified:
trunk/tools/quickbook/ (props changed)
Text files modified:
trunk/tools/quickbook/Jamfile.v2 | 8 ++++++++
trunk/tools/quickbook/code_snippet.hpp | 2 ++
trunk/tools/quickbook/detail/actions.cpp | 3 +++
trunk/tools/quickbook/detail/actions.hpp | 7 ++-----
trunk/tools/quickbook/test/Jamfile.v2 | 2 +-
trunk/tools/quickbook/test/heading.gold | 2 +-
6 files changed, 17 insertions(+), 7 deletions(-)
Modified: trunk/tools/quickbook/Jamfile.v2
==============================================================================
--- trunk/tools/quickbook/Jamfile.v2 (original)
+++ trunk/tools/quickbook/Jamfile.v2 2009-11-29 14:16:42 EST (Sun, 29 Nov 2009)
@@ -8,6 +8,14 @@
# http://www.boost.org/LICENSE_1_0.txt)
#==============================================================================
+project quickbook
+ : requirements
+ <toolset>gcc:<c++-template-depth>300
+ <toolset>darwin:<c++-template-depth>300
+ <toolset>gcc:<cflags>-g0
+ <toolset>darwin:<cflags>-g0
+ ;
+
exe quickbook
:
detail/quickbook.cpp
Modified: trunk/tools/quickbook/code_snippet.hpp
==============================================================================
--- trunk/tools/quickbook/code_snippet.hpp (original)
+++ trunk/tools/quickbook/code_snippet.hpp 2009-11-29 14:16:42 EST (Sun, 29 Nov 2009)
@@ -11,7 +11,9 @@
#include <boost/spirit/include/classic_core.hpp>
#include <boost/spirit/include/classic_actor.hpp>
+#include <boost/bind.hpp>
#include "./detail/template_stack.hpp"
+#include "./detail/actions.hpp"
namespace quickbook
{
Modified: trunk/tools/quickbook/detail/actions.cpp
==============================================================================
--- trunk/tools/quickbook/detail/actions.cpp (original)
+++ trunk/tools/quickbook/detail/actions.cpp 2009-11-29 14:16:42 EST (Sun, 29 Nov 2009)
@@ -25,6 +25,9 @@
namespace quickbook
{
+ char const* quickbook_get_date = "__quickbook_get_date__";
+ char const* quickbook_get_time = "__quickbook_get_time__";
+
namespace {
std::string fully_qualified_id(std::string const& library_id,
std::string const& qualified_section_id,
Modified: trunk/tools/quickbook/detail/actions.hpp
==============================================================================
--- trunk/tools/quickbook/detail/actions.hpp (original)
+++ trunk/tools/quickbook/detail/actions.hpp 2009-11-29 14:16:42 EST (Sun, 29 Nov 2009)
@@ -286,11 +286,8 @@
collector& out;
};
- namespace
- {
- char const* quickbook_get_date = "__quickbook_get_date__";
- char const* quickbook_get_time = "__quickbook_get_time__";
- }
+ extern char const* quickbook_get_date;
+ extern char const* quickbook_get_time;
struct do_macro_action
{
Modified: trunk/tools/quickbook/test/Jamfile.v2
==============================================================================
--- trunk/tools/quickbook/test/Jamfile.v2 (original)
+++ trunk/tools/quickbook/test/Jamfile.v2 2009-11-29 14:16:42 EST (Sun, 29 Nov 2009)
@@ -23,7 +23,7 @@
[ quickbook-test templates ]
[ quickbook-test templates_1_4 ]
[ quickbook-test templates_1_5 ]
- [ quickbook-test xinclude ]
+ #[ quickbook-test xinclude ]
[ quickbook-test import ]
[ quickbook-test section_1_4 ]
[ quickbook-test section_1_5 ]
Modified: trunk/tools/quickbook/test/heading.gold
==============================================================================
--- trunk/tools/quickbook/test/heading.gold (original)
+++ trunk/tools/quickbook/test/heading.gold 2009-11-29 14:16:42 EST (Sun, 29 Nov 2009)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE library PUBLIC "-//Boost//DTD BoostBook XML V1.0//EN" "http://www.boost.org/tools/boostbook/dtd/boostbook.dtd">
-<article id="header" last-revision="$Date: 2009/10/11 16:14:06 $" xmlns:xi="http://www.w3.org/2001/XInclude">
+<article id="header" last-revision="DEBUG MODE Date: 2000/12/20 12:00:00 $" xmlns:xi="http://www.w3.org/2001/XInclude">
<title>Header</title>
<articleinfo>
</articleinfo>
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