From patchwork Tue Dec 18 11:08:36 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jonathan Wakely X-Patchwork-Id: 207072 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) by ozlabs.org (Postfix) with SMTP id 5E1B22C0087 for ; Tue, 18 Dec 2012 22:09:07 +1100 (EST) Comment: DKIM? See http://www.dkim.org DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=gcc.gnu.org; s=default; x=1356433749; h=Comment: DomainKey-Signature:Received:Received:Received:Received: MIME-Version:Received:Received:In-Reply-To:References:Date: Message-ID:Subject:From:To:Cc:Content-Type:Mailing-List: Precedence:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:Sender:Delivered-To; bh=xTAFraD0URk/7djEOViWpDdXfRU=; b=bH8bkk1tFW2j77FAe+DwcBGFQWO0aOBWz4o0tVXJ2YxmIPyw59fiwIUjsFE1S4 L83vdTcNkVApzbFWo42Yq01noGDkNYdDe3sf4ZFpUumfV6rpMf8p0D1NSFKVPEM1 tU+DPkg0tXjG5rZGiDmbCTffWntjxYtAu5b93qnX0kSWw= Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=gcc.gnu.org; h=Received:Received:X-SWARE-Spam-Status:X-Spam-Check-By:Received:Received:MIME-Version:Received:Received:In-Reply-To:References:Date:Message-ID:Subject:From:To:Cc:Content-Type:Mailing-List:Precedence:List-Id:List-Unsubscribe:List-Archive:List-Post:List-Help:Sender:Delivered-To; b=fMdiYASqVCfRMAQaSfp4yyEf7utjeUTT6KpQgDto9FvoOMBguYkOZVP5si6CE1 zQd9eMf8JEYOj7oO0Eu+hg0eeXGmuZUL0KUllJZNEXu+WS9hyHIlZd2+z0oA3USu wBilsHDgt8lbaYeQRLVS/3MuUsuRwSHtAJThu1/GuNle0=; Received: (qmail 27825 invoked by alias); 18 Dec 2012 11:08:48 -0000 Received: (qmail 27808 invoked by uid 22791); 18 Dec 2012 11:08:47 -0000 X-SWARE-Spam-Status: No, hits=-4.9 required=5.0 tests=AWL, BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, FREEMAIL_FROM, KHOP_RCVD_TRUST, KHOP_THREADED, RCVD_IN_DNSWL_LOW, RCVD_IN_HOSTKARMA_YE, SARE_HTML_TITLE_LWORD X-Spam-Check-By: sourceware.org Received: from mail-ie0-f169.google.com (HELO mail-ie0-f169.google.com) (209.85.223.169) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 18 Dec 2012 11:08:37 +0000 Received: by mail-ie0-f169.google.com with SMTP id c14so606347ieb.14 for ; Tue, 18 Dec 2012 03:08:36 -0800 (PST) MIME-Version: 1.0 Received: by 10.50.12.138 with SMTP id y10mr1985395igb.58.1355828916461; Tue, 18 Dec 2012 03:08:36 -0800 (PST) Received: by 10.43.5.199 with HTTP; Tue, 18 Dec 2012 03:08:36 -0800 (PST) In-Reply-To: <20121210181440.5eec0110@oakwood> References: <20121210181440.5eec0110@oakwood> Date: Tue, 18 Dec 2012 11:08:36 +0000 Message-ID: Subject: Re: [v3] docbook vs. texlive > 2007 From: Jonathan Wakely To: Benjamin De Kosnik Cc: libstdc++@gcc.gnu.org, gcc-patches@gcc.gnu.org Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Delivered-To: mailing list gcc-patches@gcc.gnu.org On 11 December 2012 02:14, Benjamin De Kosnik wrote: > > The recent change in Fedora's documentation stack, from texlive-2007 to > texlive-2013 caused some havoc in the libstdc++ "make pdf" rules. > > This patch fixes the previously unknown issues so that the pdf docs for > libstdc++ can be built on texlive-2007 and texlive-2013. This patch broke html generation for me. The new file containing the bibliography didn't have an xmlns attribute on the root node, so the element wasn't processed correctly. This fixes it, however the Bibliography still appears after the first section in the Policy Based Data Structures chapter, rather than the last, because the element doesn't start a new chunk so is in the same file as the first section. Adding a PI doesn't have seem to have any effect on a . This patch also adds PIs to several sections so the HTML pages get stable names, rather than something like bk01pt03ch20s05.html * doc/xml/manual/abi.xml: Update URLs for C++ ABI. * doc/xml/manual/policy_data_structures_biblio.xml: Add xmlns attribute. * doc/xml/manual/debug_mode.xml: Give filenames to chunks. * doc/xml/manual/diagnostics.xml: Likewise. * doc/xml/manual/extensions.xml: Likewise. * doc/xml/manual/bitmap_allocator.xml: Likewise. * doc/xml/manual/mt_allocator.xml: Likewise. * doc/xml/manual/policy_data_structures.xml: Likewise. * doc/xml/manual/parallel_mode.xml: Likewise. * doc/xml/manual/profile_mode.xml: Likewise. * doc/xml/manual/spine.xml: Likewise. Update copyright years. * doc/html/*: Regenerate. Committed to trunk. I'll fix the ABI URLs and check the html gen on the 4.7 branch too. commit b5e4659a8addd90789ca648277a99ad643a45ff7 Author: Jonathan Wakely Date: Sat Dec 15 00:06:11 2012 +0000 * doc/xml/manual/abi.xml: Update URLs for C++ ABI. * doc/xml/manual/policy_data_structures_biblio.xml: Add xmlns attribute. * doc/xml/manual/debug_mode.xml: Give filenames to chunks. * doc/xml/manual/diagnostics.xml: Likewise. * doc/xml/manual/extensions.xml: Likewise. * doc/xml/manual/bitmap_allocator.xml: Likewise. * doc/xml/manual/mt_allocator.xml: Likewise. * doc/xml/manual/policy_data_structures.xml: Likewise. * doc/xml/manual/parallel_mode.xml: Likewise. * doc/xml/manual/profile_mode.xml: Likewise. * doc/xml/manual/spine.xml: Likewise. Update copyright years. * doc/html/*: Regenerate. diff --git a/libstdc++-v3/doc/xml/manual/abi.xml b/libstdc++-v3/doc/xml/manual/abi.xml index 23c6355..9d7395e 100644 --- a/libstdc++-v3/doc/xml/manual/abi.xml +++ b/libstdc++-v3/doc/xml/manual/abi.xml @@ -42,7 +42,7 @@ virtual functions, etc. These details are defined as the compiler Application Binary Interface, or ABI. The GNU C++ compiler uses an industry-standard C++ ABI starting with version 3. Details can be - found in the ABI + found in the ABI specification. @@ -717,7 +717,7 @@ class that would otherwise have implicit versions. This will change the way the compiler deals with this class in by-value return statements or parameters: instead of passing instances of this class in registers, the compiler will be forced to use memory. See the -section on Function +section on Function Calling Conventions and APIs of the C++ ABI documentation for further details. @@ -1075,7 +1075,7 @@ gcc test.c -g -O2 -L. -lone -ltwo /usr/lib/libstdc++.so.5 /usr/lib/libstdc++.so. <link xmlns:xlink="http://www.w3.org/1999/xlink" - xlink:href="http://www.codesourcery.com/public/cxx-abi"> + xlink:href="http://www.codesourcery.com/cxx-abi/"> C++ ABI Summary </link> diff --git a/libstdc++-v3/doc/xml/manual/bitmap_allocator.xml b/libstdc++-v3/doc/xml/manual/bitmap_allocator.xml index 3bc489a..1450162 100644 --- a/libstdc++-v3/doc/xml/manual/bitmap_allocator.xml +++ b/libstdc++-v3/doc/xml/manual/bitmap_allocator.xml @@ -53,6 +53,7 @@
Implementation +
Free List Store diff --git a/libstdc++-v3/doc/xml/manual/concurrency_extensions.xml b/libstdc++-v3/doc/xml/manual/concurrency_extensions.xml index 0d0e1b9..aef588d 100644 --- a/libstdc++-v3/doc/xml/manual/concurrency_extensions.xml +++ b/libstdc++-v3/doc/xml/manual/concurrency_extensions.xml @@ -185,6 +185,7 @@ host hardware and operating system.
Implementation +
Using Builtin Atomic Functions @@ -290,8 +291,8 @@ etc.
Use + - Typical usage of the last two constructs is demonstrated as follows: diff --git a/libstdc++-v3/doc/xml/manual/debug_mode.xml b/libstdc++-v3/doc/xml/manual/debug_mode.xml index 389f9bd..e7d309b 100644 --- a/libstdc++-v3/doc/xml/manual/debug_mode.xml +++ b/libstdc++-v3/doc/xml/manual/debug_mode.xml @@ -58,6 +58,7 @@
Semantics + @@ -139,6 +140,7 @@ which always works correctly.
Using + @@ -314,6 +316,7 @@ containers have additional debug capability.
Design + diff --git a/libstdc++-v3/doc/xml/manual/diagnostics.xml b/libstdc++-v3/doc/xml/manual/diagnostics.xml index 9b642b1..99206e9 100644 --- a/libstdc++-v3/doc/xml/manual/diagnostics.xml +++ b/libstdc++-v3/doc/xml/manual/diagnostics.xml @@ -72,6 +72,7 @@
Concept Checking + In 1999, SGI added concept checkers to their diff --git a/libstdc++-v3/doc/xml/manual/extensions.xml b/libstdc++-v3/doc/xml/manual/extensions.xml index 522f562..1f3da2f 100644 --- a/libstdc++-v3/doc/xml/manual/extensions.xml +++ b/libstdc++-v3/doc/xml/manual/extensions.xml @@ -14,6 +14,7 @@ </info> +<?dbhtml filename="ext_preface.html"?> <para> Here we will make an attempt at describing the non-Standard extensions to the library. Some of these are from older versions of @@ -187,6 +188,7 @@ extensions, be aware of two things: <section xml:id="manual.ext.containers.deprecated_sgi" xreflabel="SGI ext dep"><info><title>Deprecated + diff --git a/libstdc++-v3/doc/xml/manual/mt_allocator.xml b/libstdc++-v3/doc/xml/manual/mt_allocator.xml index 3e3a864..12fe2ee 100644 --- a/libstdc++-v3/doc/xml/manual/mt_allocator.xml +++ b/libstdc++-v3/doc/xml/manual/mt_allocator.xml @@ -41,6 +41,7 @@
Design Issues +
Overview @@ -105,6 +106,7 @@ classes, namely member functions allocate and
Implementation + @@ -314,6 +316,7 @@ pool that frees memory, see the following
Single Thread Example + @@ -408,6 +411,7 @@ faster than maintaining a set of "last pointers" as well.
Multiple Thread Example + diff --git a/libstdc++-v3/doc/xml/manual/parallel_mode.xml b/libstdc++-v3/doc/xml/manual/parallel_mode.xml index 0ab59d5..6dc81c9 100644 --- a/libstdc++-v3/doc/xml/manual/parallel_mode.xml +++ b/libstdc++-v3/doc/xml/manual/parallel_mode.xml @@ -76,6 +76,7 @@ specific compiler flag.
Semantics + The parallel mode STL algorithms are currently not exception-safe, @@ -93,6 +94,7 @@ It might work with other compilers, though.
Using +
Prerequisite Compiler Flags @@ -457,6 +459,7 @@ flags for atomic operations.)
Design + @@ -783,6 +786,7 @@ the generated source documentation.
Testing + diff --git a/libstdc++-v3/doc/xml/manual/policy_data_structures.xml b/libstdc++-v3/doc/xml/manual/policy_data_structures.xml index 9e6bb59..cf8af18 100644 --- a/libstdc++-v3/doc/xml/manual/policy_data_structures.xml +++ b/libstdc++-v3/doc/xml/manual/policy_data_structures.xml @@ -5053,6 +5053,7 @@
Acknowledgments + Written by Ami Tavory and Vladimir Dreizin (IBM Haifa Research diff --git a/libstdc++-v3/doc/xml/manual/policy_data_structures_biblio.xml b/libstdc++-v3/doc/xml/manual/policy_data_structures_biblio.xml index ec8854a..11f798f 100644 --- a/libstdc++-v3/doc/xml/manual/policy_data_structures_biblio.xml +++ b/libstdc++-v3/doc/xml/manual/policy_data_structures_biblio.xml @@ -1,12 +1,8 @@ - - - - - Bibliography - - - + + + Bibliography diff --git a/libstdc++-v3/doc/xml/manual/profile_mode.xml b/libstdc++-v3/doc/xml/manual/profile_mode.xml index adb3c87..59af2db 100644 --- a/libstdc++-v3/doc/xml/manual/profile_mode.xml +++ b/libstdc++-v3/doc/xml/manual/profile_mode.xml @@ -210,6 +210,7 @@ vector-size: improvement = 3: call stack = 0x804842c ...
Design + @@ -425,6 +426,7 @@ it helps the user focus on the key problems and ignore the uninteresting ones.
Extensions for Custom Containers + @@ -440,6 +442,7 @@ it helps the user focus on the key problems and ignore the uninteresting ones.
Empirical Cost Model + @@ -465,6 +468,7 @@ it helps the user focus on the key problems and ignore the uninteresting ones.
Implementation Issues + @@ -557,6 +561,7 @@ it helps the user focus on the key problems and ignore the uninteresting ones.
Developer Information +
Big Picture @@ -660,6 +665,7 @@ it helps the user focus on the key problems and ignore the uninteresting ones.
Diagnostics + diff --git a/libstdc++-v3/doc/xml/manual/spine.xml b/libstdc++-v3/doc/xml/manual/spine.xml index 806f4ec..614e886 100644 --- a/libstdc++-v3/doc/xml/manual/spine.xml +++ b/libstdc++-v3/doc/xml/manual/spine.xml @@ -19,6 +19,7 @@ 2009 2010 2011 + 2012 FSF @@ -158,6 +159,7 @@ Standard Contents + @@ -220,6 +222,7 @@ Appendices +