|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r50849 - in branches/release: . doc libs/optional/doc libs/scope_exit libs/scope_exit/doc libs/scope_exit/doc/html libs/scope_exit/doc/html/scope_exit libs/typeof tools/boostbook/xsl tools/inspect
From: daniel_james_at_[hidden]
Date: 2009-01-28 10:53:43
Author: danieljames
Date: 2009-01-28 10:53:42 EST (Wed, 28 Jan 2009)
New Revision: 50849
URL: http://svn.boost.org/trac/boost/changeset/50849
Log:
Merge several documentation fixes. Plus a small inspect fix.
Merged revisions 50798-50799,50837-50839,50847-50848 via svnmerge from
https://svn.boost.org/svn/boost/trunk
........
r50798 | danieljames | 2009-01-26 23:14:53 +0000 (Mon, 26 Jan 2009) | 5 lines
Make checking for duplicated names case insensitive.
This avoids generating filenames with names that only differ by case as they
cause problems on case insensitive file systems.
........
r50799 | danieljames | 2009-01-26 23:29:52 +0000 (Mon, 26 Jan 2009) | 1 line
Label the line ending inspect errors.
........
r50837 | danieljames | 2009-01-28 09:14:21 +0000 (Wed, 28 Jan 2009) | 1 line
Add scope exit to the root html file.
........
r50838 | danieljames | 2009-01-28 09:14:45 +0000 (Wed, 28 Jan 2009) | 1 line
Fix a link in the typeof forwarding html file.
........
r50839 | danieljames | 2009-01-28 09:14:56 +0000 (Wed, 28 Jan 2009) | 1 line
Fix an incorrectly escaped right arrow.
........
r50847 | danieljames | 2009-01-28 15:17:34 +0000 (Wed, 28 Jan 2009) | 2 lines
Fix some documentation issues with scope_exit.
........
r50848 | danieljames | 2009-01-28 15:32:46 +0000 (Wed, 28 Jan 2009) | 1 line
Generate the scope_exit documentation.
........
Added:
branches/release/libs/scope_exit/doc/html/
- copied from r50848, /trunk/libs/scope_exit/doc/html/
branches/release/libs/scope_exit/doc/html/index.html
- copied unchanged from r50848, /trunk/libs/scope_exit/doc/html/index.html
branches/release/libs/scope_exit/doc/html/scope_exit/
- copied from r50848, /trunk/libs/scope_exit/doc/html/scope_exit/
branches/release/libs/scope_exit/doc/html/scope_exit/acknowledge.html
- copied unchanged from r50848, /trunk/libs/scope_exit/doc/html/scope_exit/acknowledge.html
branches/release/libs/scope_exit/doc/html/scope_exit/alternatives.html
- copied unchanged from r50848, /trunk/libs/scope_exit/doc/html/scope_exit/alternatives.html
branches/release/libs/scope_exit/doc/html/scope_exit/compilers.html
- copied unchanged from r50848, /trunk/libs/scope_exit/doc/html/scope_exit/compilers.html
branches/release/libs/scope_exit/doc/html/scope_exit/conf.html
- copied unchanged from r50848, /trunk/libs/scope_exit/doc/html/scope_exit/conf.html
branches/release/libs/scope_exit/doc/html/scope_exit/ref.html
- copied unchanged from r50848, /trunk/libs/scope_exit/doc/html/scope_exit/ref.html
branches/release/libs/scope_exit/doc/html/scope_exit/tutorial.html
- copied unchanged from r50848, /trunk/libs/scope_exit/doc/html/scope_exit/tutorial.html
branches/release/libs/scope_exit/index.html
- copied unchanged from r50848, /trunk/libs/scope_exit/index.html
Properties modified:
branches/release/ (props changed)
Text files modified:
branches/release/doc/Jamfile.v2 | 2 --
branches/release/libs/optional/doc/special_cases.qbk | 2 +-
branches/release/libs/scope_exit/doc/Jamfile.v2 | 12 +++++++++++-
branches/release/libs/scope_exit/doc/scope_exit.qbk | 26 +++++++++++++-------------
branches/release/libs/typeof/index.html | 2 +-
branches/release/tools/boostbook/xsl/annotation.xsl | 5 ++++-
branches/release/tools/boostbook/xsl/lookup.xsl | 3 ++-
branches/release/tools/boostbook/xsl/macro.xsl | 3 ++-
branches/release/tools/inspect/crlf_check.cpp | 2 +-
9 files changed, 35 insertions(+), 22 deletions(-)
Modified: branches/release/doc/Jamfile.v2
==============================================================================
--- branches/release/doc/Jamfile.v2 (original)
+++ branches/release/doc/Jamfile.v2 2009-01-28 10:53:42 EST (Wed, 28 Jan 2009)
@@ -30,7 +30,6 @@
<dependency>../libs/mpi/doc//mpi_autodoc.xml
#<dependency>../libs/proto/doc//protodoc.xml
<dependency>../libs/proto/doc//proto
- <dependency>../libs/scope_exit/doc//scope_exit
<dependency>../libs/typeof/doc//typeof
<dependency>../libs/xpressive/doc//autodoc.xml
<dependency>../libs/xpressive/doc//xpressive
@@ -57,7 +56,6 @@
<implicit-dependency>../libs/tr1/doc//tr1
<implicit-dependency>../libs/foreach/doc//foreach
<implicit-dependency>../libs/proto/doc//proto
- <implicit-dependency>../libs/scope_exit/doc//scope_exit
<implicit-dependency>../libs/typeof/doc//typeof
<implicit-dependency>../libs/xpressive/doc//xpressive
<implicit-dependency>../tools/jam/doc//bjam
Modified: branches/release/libs/optional/doc/special_cases.qbk
==============================================================================
--- branches/release/libs/optional/doc/special_cases.qbk (original)
+++ branches/release/libs/optional/doc/special_cases.qbk 2009-01-28 10:53:42 EST (Wed, 28 Jan 2009)
@@ -205,7 +205,7 @@
{
// Wrapped object constructed in-place via a TypedInPlaceFactory.
// No temporary created.
- W ( TypedInPlaceFactory2<X,int,std::string&rt(123,"hello")) ;
+ W ( TypedInPlaceFactory2<X,int,std::string>(123,"hello")) ;
}
The factories are divided in two groups:
Modified: branches/release/libs/scope_exit/doc/Jamfile.v2
==============================================================================
--- branches/release/libs/scope_exit/doc/Jamfile.v2 (original)
+++ branches/release/libs/scope_exit/doc/Jamfile.v2 2009-01-28 10:53:42 EST (Wed, 28 Jan 2009)
@@ -5,4 +5,14 @@
using quickbook ;
-boostbook standalone : scope_exit.qbk ;
+xml scope_exit : scope_exit.qbk ;
+boostbook standalone : scope_exit
+ :
+ # Path for links to Boost:
+ <xsl:param>boost.root=../../../..
+ # Path for libraries index:
+ <xsl:param>boost.libraries=../../../../libs/libraries.htm
+ # Use the main Boost stylesheet:
+ <xsl:param>html.stylesheet=../../../../doc/html/boostbook.css
+ ;
+
Modified: branches/release/libs/scope_exit/doc/scope_exit.qbk
==============================================================================
--- branches/release/libs/scope_exit/doc/scope_exit.qbk (original)
+++ branches/release/libs/scope_exit/doc/scope_exit.qbk 2009-01-28 10:53:42 EST (Wed, 28 Jan 2009)
@@ -20,18 +20,18 @@
[/ Links ]
-[def _scope_exit_ [@index.html ScopeExit]]
-[def _Tutorial_ [@scope_exit/tutorial.html Tutorial]]
-[def _Reference_ [@scope_exit/ref.html Reference]]
-[def _lambda_ [@../../libs/lambda/index.html Boost.Lambda]]
-[def _typeof_ [@../../libs/typeof/index.html Boost.Typeof]]
-[def _typeof_emulation_ [@../../libs/typeof/index.html typeof emulation]]
-[def _typeof_REGISTER_TYPE_ [@../../libs/typeof/refe.html#typeof.regtype BOOST_TYPEOF_REGISTER_TYPE]]
-[def _typeof_REGISTER_TEMPLATE_ [@../../libs/typeof/refe.html#typeof.regtemp BOOST_TYPEOF_REGISTER_TEMPLATE]]
-[def _pp_ [@../../libs/preprocessor/index.html Boost.Preprocessor]]
-[def _pp_seq_ [@../../libs/preprocessor/index.html Boost.Preprocessor sequence]]
-[def _ptr_container_ [@../../libs/ptr_container/doc/ptr_container.html Boost Pointer Container Library]]
-[def _multi_index_ [@../../libs/multi_index/doc/index.html Boost Multi-Index Containers Library]]
+[def _scope_exit_ [link scope_exit ScopeExit]]
+[def _Tutorial_ [link scope_exit.tutorial Tutorial]]
+[def _Reference_ [link scope_exit.ref Reference]]
+[def _lambda_ [@../../../../libs/lambda/index.html Boost.Lambda]]
+[def _typeof_ [@../../../../libs/typeof/index.html Boost.Typeof]]
+[def _typeof_emulation_ [@../../../../libs/typeof/index.html typeof emulation]]
+[def _typeof_REGISTER_TYPE_ [@../../../../doc/html/typeof/refe.html#typeof.regtype BOOST_TYPEOF_REGISTER_TYPE]]
+[def _typeof_REGISTER_TEMPLATE_ [@../../../../doc/html/typeof/refe.html#typeof.regtemp BOOST_TYPEOF_REGISTER_TEMPLATE]]
+[def _pp_ [@../../../../libs/preprocessor/index.html Boost.Preprocessor]]
+[def _pp_seq_ [@../../../../libs/preprocessor/index.html Boost.Preprocessor sequence]]
+[def _ptr_container_ [@../../../../libs/ptr_container/doc/ptr_container.html Boost Pointer Container Library]]
+[def _multi_index_ [@../../../../libs/multi_index/doc/index.html Boost Multi-Index Containers Library]]
[def _scope_guard_ [@http://www.ddj.com/dept/cpp/184403758 ScopeGuard]]
[def _D_ [@http://www.digitalmars.com/d/index.html D]]
[def _D_scope_exit_ [@http://www.digitalmars.com/d/2.0/statement.html#ScopeGuardStatement scope(exit)]]
@@ -150,7 +150,7 @@
checkpoint = ++person.m_evolution;
}
-Full code listing can be found in [@../example/world.cpp world.cpp].
+Full code listing can be found in [@../../example/world.cpp world.cpp].
[endsect]
Modified: branches/release/libs/typeof/index.html
==============================================================================
--- branches/release/libs/typeof/index.html (original)
+++ branches/release/libs/typeof/index.html 2009-01-28 10:53:42 EST (Wed, 28 Jan 2009)
@@ -10,7 +10,7 @@
</head>
<body>
Automatic redirection failed, please go to
-../../doc/html/typeof.html
+../../doc/html/typeof.html
</body>
</html>
Modified: branches/release/tools/boostbook/xsl/annotation.xsl
==============================================================================
--- branches/release/tools/boostbook/xsl/annotation.xsl (original)
+++ branches/release/tools/boostbook/xsl/annotation.xsl 2009-01-28 10:53:42 EST (Wed, 28 Jan 2009)
@@ -8,6 +8,9 @@
-->
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version="1.0">
+ <xsl:variable name="uppercase-letters" select="'ABCDEFGHIJKLMNOPQRSTUVWXYZ'"/>
+ <xsl:variable name="lowercase-letters" select="'abcdefghijklmnopqrstuvwxyz'"/>
+
<xsl:key name="classes" match="class|struct|union|typedef" use="@name"/>
<xsl:key name="methods" match="method|overloaded-method" use="@name"/>
<xsl:key name="functions" match="function|overloaded-function" use="@name"/>
@@ -17,7 +20,7 @@
<xsl:key name="macros" match="macro" use="@name"/>
<xsl:key name="headers" match="header" use="@name"/>
<xsl:key name="globals" match="namespace/data-member|header/data-member" use="@name"/>
- <xsl:key name="named-entities" match="class|struct|union|concept|function|overloaded-function|macro|library|namespace/data-member|header/data-member|*[attribute::id]" use="@name|@id"/>
+ <xsl:key name="named-entities" match="class|struct|union|concept|function|overloaded-function|macro|library|namespace/data-member|header/data-member|*[attribute::id]" use="translate(@name|@id, $uppercase-letters, $lowercase-letters)"/>
<xsl:template match="function|overloaded-function" mode="generate.id">
<xsl:call-template name="fully-qualified-id">
Modified: branches/release/tools/boostbook/xsl/lookup.xsl
==============================================================================
--- branches/release/tools/boostbook/xsl/lookup.xsl (original)
+++ branches/release/tools/boostbook/xsl/lookup.xsl 2009-01-28 10:53:42 EST (Wed, 28 Jan 2009)
@@ -225,7 +225,8 @@
</xsl:template>
<xsl:template match="function|overloaded-function" mode="unique.name">
- <xsl:value-of select="number(count(key('named-entities', @name)) = 1)"/>
+ <xsl:value-of select="number(count(key('named-entities',
+ translate(@name, $uppercase-letters, $lowercase-letters))) = 1)"/>
</xsl:template>
<!-- Print the name of the current node -->
Modified: branches/release/tools/boostbook/xsl/macro.xsl
==============================================================================
--- branches/release/tools/boostbook/xsl/macro.xsl (original)
+++ branches/release/tools/boostbook/xsl/macro.xsl 2009-01-28 10:53:42 EST (Wed, 28 Jan 2009)
@@ -74,7 +74,8 @@
<xsl:template match="macro" mode="generate.id">
<xsl:value-of select="@name"/>
- <xsl:if test="count(key('named-entities', @name))!=1">
+ <xsl:if test="count(key('named-entities',
+ translate(@name, $uppercase-letters, $lowercase-letters)))!=1">
<xsl:text>_</xsl:text>
<xsl:value-of select="generate-id(.)"/>
</xsl:if>
Modified: branches/release/tools/inspect/crlf_check.cpp
==============================================================================
--- branches/release/tools/inspect/crlf_check.cpp (original)
+++ branches/release/tools/inspect/crlf_check.cpp 2009-01-28 10:53:42 EST (Wed, 28 Jan 2009)
@@ -58,7 +58,7 @@
if (!failed && full_path.leaf() == test_file_name)
{
++m_files_with_errors;
- error( library_name, full_path, "should have cr-only line endings" );
+ error( library_name, full_path, string(name()) + " should have cr-only line endings" );
}
/*
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