From: Jonathan Wakely Date: Fri, 24 Jan 2020 11:17:58 +0000 (+0000) Subject: libstdc++: Fix recent documentation changes X-Git-Tag: releases/gcc-9.3.0~188 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=461c01b2d94bcbdc28b24a7399896125c23997b6;p=thirdparty%2Fgcc.git libstdc++: Fix recent documentation changes Backport from mainline 2020-01-20 Jonathan Wakely * doc/xml/faq.xml: Fix grammar. * doc/xml/manual/appendix_contributing.xml: Improve instructions. * doc/xml/manual/spine.xml: Update copyright years. * doc/html/*: Regenerate. --- diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index c80447757a9e..5b259164a013 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,13 @@ +2020-01-24 Jonathan Wakely + + Backport from mainline + 2020-01-20 Jonathan Wakely + + * doc/xml/faq.xml: Fix grammar. + * doc/xml/manual/appendix_contributing.xml: Improve instructions. + * doc/xml/manual/spine.xml: Update copyright years. + * doc/html/*: Regenerate. + 2020-01-19 Eric S. Raymond Sandra Loosemore diff --git a/libstdc++-v3/doc/html/faq.html b/libstdc++-v3/doc/html/faq.html index 1f6934ef4c8e..ac99835acf29 100644 --- a/libstdc++-v3/doc/html/faq.html +++ b/libstdc++-v3/doc/html/faq.html @@ -113,9 +113,8 @@ clauses 20 through 33 and annex D (prior to the 2017 standard the library clauses started with 17). For those who want to see exactly how far the project has come, or just want the latest - bleeding-edge code, the up-to-date source is available over - anonymous SVN, and can be browsed over the - web. + bleeding-edge code, the up-to-date source can be cloned via + Git.

N.B. The library is called libstdc++ not stdlibc++.

1.2.

@@ -260,24 +259,11 @@ mirrors. A full list of download sites is provided on the main GCC site.

- Current libstdc++ sources can always be checked out of the main - GCC source repository using the appropriate version control - tool. At this time, that tool - is Subversion. -

- Subversion, or SVN, is - one of several revision control packages. It was selected for GNU - projects because it's free (speech), free (beer), and very high - quality. The Subversion - home page has a better description. -

- The “anonymous client checkout” feature of SVN is - similar to anonymous FTP in that it allows anyone to retrieve - the latest libstdc++ sources. -

- For more information - see SVN - details. + Current libstdc++ sources can always be found in the main GCC source + repository, available using the appropriate version control tool. + At this time, that tool is Git. + For more details see the documentation on + using the Git repository.

3.3.

How do I know if it works?

Libstdc++ comes with its own validation testsuite, which includes diff --git a/libstdc++-v3/doc/html/manual/appendix_contributing.html b/libstdc++-v3/doc/html/manual/appendix_contributing.html index ca8ae873b9e8..2f384a64afa8 100644 --- a/libstdc++-v3/doc/html/manual/appendix_contributing.html +++ b/libstdc++-v3/doc/html/manual/appendix_contributing.html @@ -90,14 +90,12 @@ easily and simply show the existing error or test new functionality.

  • - The patch itself. If you are accessing the SVN - repository use svn update; svn diff NEW; - else, use diff -cp OLD NEW ... If your + The patch itself. If you are using the Git repository use + git diff or git format-patch + to produce a patch; + otherwise, use diff -cp OLD NEW. If your version of diff does not support these options, then get the - latest version of GNU - diff. The SVN - Tricks wiki page has information on customising the - output of svn diff. + latest version of GNU diff.

  • When you have all these pieces, bundle them up in a mail message and send it to libstdc++@gcc.gnu.org. All diff --git a/libstdc++-v3/doc/html/manual/index.html b/libstdc++-v3/doc/html/manual/index.html index f493b2756326..f0c8d3ed97ee 100644 --- a/libstdc++-v3/doc/html/manual/index.html +++ b/libstdc++-v3/doc/html/manual/index.html @@ -1,5 +1,5 @@ -The GNU C++ Library Manual

    The GNU C++ Library Manual

    Paolo Carlini

    Phil Edwards

    Doug Gregor

    Benjamin Kosnik

    Dhruv Matani

    Jason Merrill

    Mark Mitchell

    Nathan Myers

    Felix Natter

    Stefan Olsson

    Silvius Rus

    Johannes Singler

    Ami Tavory

    Jonathan Wakely

    The GNU C++ Library Manual

    Paolo Carlini

    Phil Edwards

    Doug Gregor

    Benjamin Kosnik

    Dhruv Matani

    Jason Merrill

    Mark Mitchell

    Nathan Myers

    Felix Natter

    Stefan Olsson

    Silvius Rus

    Johannes Singler

    Ami Tavory

    Jonathan Wakely


    Table of Contents

    I. Introduction diff --git a/libstdc++-v3/doc/xml/faq.xml b/libstdc++-v3/doc/xml/faq.xml index 21c312dce35f..aff6c8d60042 100644 --- a/libstdc++-v3/doc/xml/faq.xml +++ b/libstdc++-v3/doc/xml/faq.xml @@ -34,8 +34,8 @@ clauses 20 through 33 and annex D (prior to the 2017 standard the library clauses started with 17). For those who want to see exactly how far the project has come, or just want the latest - bleeding-edge code, the up-to-date source , and can be cloned via Git: see - web. + bleeding-edge code, the up-to-date source can be cloned via + Git. @@ -295,15 +295,11 @@ download sites is provided on the main GCC site. - Current libstdc++ sources can always be checked out of the main - GCC source repository using the appropriate version control - tool. At this time, that tool - is Git. - - - For more information - see - details. + Current libstdc++ sources can always be found in the main GCC source + repository, available using the appropriate version control tool. + At this time, that tool is Git. + For more details see the documentation on + using the Git repository. diff --git a/libstdc++-v3/doc/xml/manual/appendix_contributing.xml b/libstdc++-v3/doc/xml/manual/appendix_contributing.xml index a049d7d91adf..eb011cbd4bc9 100644 --- a/libstdc++-v3/doc/xml/manual/appendix_contributing.xml +++ b/libstdc++-v3/doc/xml/manual/appendix_contributing.xml @@ -170,9 +170,10 @@ - The patch itself. If you are accessing the Git - repository use git pull; git diff >NEW; - else, use diff -cp OLD NEW ... If your + The patch itself. If you are using the Git repository use + git diff or git format-patch + to produce a patch; + otherwise, use diff -cp OLD NEW. If your version of diff does not support these options, then get the latest version of GNU diff. diff --git a/libstdc++-v3/doc/xml/manual/spine.xml b/libstdc++-v3/doc/xml/manual/spine.xml index 2b6973ba0aee..9585f1eed010 100644 --- a/libstdc++-v3/doc/xml/manual/spine.xml +++ b/libstdc++-v3/doc/xml/manual/spine.xml @@ -27,6 +27,7 @@ 2017 2018 2019 + 2020 FSF