Fix old, broken links from Doxygen comments to pages in the manual that have a different URL now. Unfortunately the URLs make some lines too long to fit in 80 chars, but I'm not sure what we can do about that. Any suggestions?
Tested x86_64-linux, committed to trunk.
commit 2a0f6d650951c63f1b56a6113a8a1c003f0b06c8 Author: Jonathan Wakely <jwak...@redhat.com> Date: Sat Jun 14 21:02:47 2014 +0100 * doc/xml/api.xml: Link to more recent API docs. * include/bits/allocator.h: Fix link in doxygen comment. * include/bits/char_traits.h: Likewise. * include/bits/ios_base.h: Likewise. * include/bits/stl_map.h: Likewise. * include/bits/stl_multimap.h: Likewise. * include/bits/stl_multiset.h: Likewise. * include/bits/stl_set.h: Likewise. * include/bits/unordered_map.h: Likewise. * include/bits/unordered_set.h: Likewise. * include/ext/mt_allocator.h: Likewise. * include/std/fstream: Likewise. * include/std/iosfwd: Likewise. * include/std/ostream: Likewise. * include/std/sstream: Likewise. * include/std/streambuf: Likewise. * doc/html/*: Regenerate. diff --git a/libstdc++-v3/doc/xml/api.xml b/libstdc++-v3/doc/xml/api.xml index 7c02dff..f9478c3 100644 --- a/libstdc++-v3/doc/xml/api.xml +++ b/libstdc++-v3/doc/xml/api.xml @@ -13,6 +13,9 @@ <year> 2010 </year> + <year> + 2014 + </year> <holder> <link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://www.fsf.org/">FSF </link> @@ -85,6 +88,24 @@ </listitem> <listitem> <para> + <link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://gcc.gnu.org/onlinedocs/gcc-4.7.4/libstdc++/api/">for the 4.7.4 release + </link> + </para> + </listitem> + <listitem> + <para> + <link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://gcc.gnu.org/onlinedocs/gcc-4.8.3/libstdc++/api/">for the 4.8.3 release + </link> + </para> + </listitem> + <listitem> + <para> + <link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://gcc.gnu.org/onlinedocs/gcc-4.9.0/libstdc++/api/">for the 4.9.0 release + </link> + </para> + </listitem> + <listitem> + <para> <link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/index.html">"the latest collection" </link> (For the main development tree; see the date on the first page.) @@ -94,7 +115,7 @@ <para> The rendered HTML, as above, is also available for download on the - gcc.org site in a directory located at + gcc.gnu.org site in a directory located at <literal><URL:ftp://gcc.gnu.org/pub/gcc/libstdc++/doxygen/></literal>. You will almost certainly need to use one of the <link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://gcc.gnu.org/mirrors.html">mirror sites</link> to download diff --git a/libstdc++-v3/include/bits/allocator.h b/libstdc++-v3/include/bits/allocator.h index 05a06ba..37248ab 100644 --- a/libstdc++-v3/include/bits/allocator.h +++ b/libstdc++-v3/include/bits/allocator.h @@ -83,7 +83,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION /** * @brief The @a standard allocator, as per [20.4]. * - * See http://gcc.gnu.org/onlinedocs/libstdc++/manual/bk01pt04ch11.html + * See https://gcc.gnu.org/onlinedocs/libstdc++/manual/memory.html#std.util.memory.allocator * for further details. * * @tparam _Tp Type of allocated object. diff --git a/libstdc++-v3/include/bits/char_traits.h b/libstdc++-v3/include/bits/char_traits.h index 8c3bf96..2b7cd3f 100644 --- a/libstdc++-v3/include/bits/char_traits.h +++ b/libstdc++-v3/include/bits/char_traits.h @@ -75,7 +75,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION * may not be specialized for fundamental types, but classes in * namespace __gnu_cxx may be. * - * See http://gcc.gnu.org/onlinedocs/libstdc++/manual/bk01pt05ch13s03.html + * See https://gcc.gnu.org/onlinedocs/libstdc++/manual/strings.html#strings.string.character_types * for advice on how to make use of this class for @a unusual character * types. Also, check out include/ext/pod_char_traits.h. */ @@ -219,7 +219,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION * __gnu_cxx::char_traits, it is possible to achieve a more * appropriate definition by specializing __gnu_cxx::char_traits. * - * See http://gcc.gnu.org/onlinedocs/libstdc++/manual/bk01pt05ch13s03.html + * See https://gcc.gnu.org/onlinedocs/libstdc++/manual/strings.html#strings.string.character_types * for advice on how to make use of this class for @a unusual character * types. Also, check out include/ext/pod_char_traits.h. */ diff --git a/libstdc++-v3/include/bits/ios_base.h b/libstdc++-v3/include/bits/ios_base.h index 59c5066..4aade68 100644 --- a/libstdc++-v3/include/bits/ios_base.h +++ b/libstdc++-v3/include/bits/ios_base.h @@ -368,7 +368,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION /// Perform input and output in binary mode (as opposed to text mode). /// This is probably not what you think it is; see - /// http://gcc.gnu.org/onlinedocs/libstdc++/manual/bk01pt11ch27s02.html + /// https://gcc.gnu.org/onlinedocs/libstdc++/manual/fstreams.html#std.io.filestreams.binary static const openmode binary = _S_bin; /// Open for input. Default for @c ifstream and fstream. @@ -666,7 +666,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION * The synchronization referred to is @e only that between the standard * C facilities (e.g., stdout) and the standard C++ objects (e.g., * cout). User-declared streams are unaffected. See - * http://gcc.gnu.org/onlinedocs/libstdc++/manual/bk01pt11ch28s02.html + * https://gcc.gnu.org/onlinedocs/libstdc++/manual/fstreams.html#std.io.filestreams.binary */ static bool sync_with_stdio(bool __sync = true); diff --git a/libstdc++-v3/include/bits/stl_map.h b/libstdc++-v3/include/bits/stl_map.h index 334c54f..405d4b8 100644 --- a/libstdc++-v3/include/bits/stl_map.h +++ b/libstdc++-v3/include/bits/stl_map.h @@ -595,7 +595,7 @@ _GLIBCXX_BEGIN_NAMESPACE_CONTAINER * cause no gains in efficiency. * * See - * http://gcc.gnu.org/onlinedocs/libstdc++/manual/bk01pt07ch17.html + * https://gcc.gnu.org/onlinedocs/libstdc++/manual/associative.html#containers.associative.insert_hints * for more on @a hinting. * * Insertion requires logarithmic time (if the hint is not taken). @@ -669,7 +669,7 @@ _GLIBCXX_BEGIN_NAMESPACE_CONTAINER * cause no gains in efficiency. * * See - * http://gcc.gnu.org/onlinedocs/libstdc++/manual/bk01pt07ch17.html + * https://gcc.gnu.org/onlinedocs/libstdc++/manual/associative.html#containers.associative.insert_hints * for more on @a hinting. * * Insertion requires logarithmic time (if the hint is not taken). diff --git a/libstdc++-v3/include/bits/stl_multimap.h b/libstdc++-v3/include/bits/stl_multimap.h index c7b80c9..a73164e 100644 --- a/libstdc++-v3/include/bits/stl_multimap.h +++ b/libstdc++-v3/include/bits/stl_multimap.h @@ -508,7 +508,7 @@ _GLIBCXX_BEGIN_NAMESPACE_CONTAINER * cause no gains in efficiency. * * For more on @a hinting, see: - * http://gcc.gnu.org/onlinedocs/libstdc++/manual/bk01pt07ch17.html + * https://gcc.gnu.org/onlinedocs/libstdc++/manual/associative.html#containers.associative.insert_hints * * Insertion requires logarithmic time (if the hint is not taken). */ @@ -562,7 +562,7 @@ _GLIBCXX_BEGIN_NAMESPACE_CONTAINER * cause no gains in efficiency. * * For more on @a hinting, see: - * http://gcc.gnu.org/onlinedocs/libstdc++/manual/bk01pt07ch17.html + * https://gcc.gnu.org/onlinedocs/libstdc++/manual/associative.html#containers.associative.insert_hints * * Insertion requires logarithmic time (if the hint is not taken). */ diff --git a/libstdc++-v3/include/bits/stl_multiset.h b/libstdc++-v3/include/bits/stl_multiset.h index 6d71c1b..f379aef 100644 --- a/libstdc++-v3/include/bits/stl_multiset.h +++ b/libstdc++-v3/include/bits/stl_multiset.h @@ -463,7 +463,7 @@ _GLIBCXX_BEGIN_NAMESPACE_CONTAINER * improve the performance of the insertion process. A bad hint would * cause no gains in efficiency. * - * See http://gcc.gnu.org/onlinedocs/libstdc++/manual/bk01pt07ch17.html + * See https://gcc.gnu.org/onlinedocs/libstdc++/manual/associative.html#containers.associative.insert_hints * for more on @a hinting. * * Insertion requires logarithmic time (if the hint is not taken). @@ -513,7 +513,7 @@ _GLIBCXX_BEGIN_NAMESPACE_CONTAINER * improve the performance of the insertion process. A bad hint would * cause no gains in efficiency. * - * See http://gcc.gnu.org/onlinedocs/libstdc++/manual/bk01pt07ch17.html + * See https://gcc.gnu.org/onlinedocs/libstdc++/manual/associative.html#containers.associative.insert_hints * for more on @a hinting. * * Insertion requires logarithmic time (if the hint is not taken). diff --git a/libstdc++-v3/include/bits/stl_set.h b/libstdc++-v3/include/bits/stl_set.h index 3a39154..48dc761 100644 --- a/libstdc++-v3/include/bits/stl_set.h +++ b/libstdc++-v3/include/bits/stl_set.h @@ -469,7 +469,7 @@ _GLIBCXX_BEGIN_NAMESPACE_CONTAINER * hint would cause no gains in efficiency. * * For more on @a hinting, see: - * http://gcc.gnu.org/onlinedocs/libstdc++/manual/bk01pt07ch17.html + * https://gcc.gnu.org/onlinedocs/libstdc++/manual/associative.html#containers.associative.insert_hints * * Insertion requires logarithmic time (if the hint is not taken). */ @@ -528,7 +528,7 @@ _GLIBCXX_BEGIN_NAMESPACE_CONTAINER * hint would cause no gains in efficiency. * * For more on @a hinting, see: - * http://gcc.gnu.org/onlinedocs/libstdc++/manual/bk01pt07ch17.html + * https://gcc.gnu.org/onlinedocs/libstdc++/manual/associative.html#containers.associative.insert_hints * * Insertion requires logarithmic time (if the hint is not taken). */ diff --git a/libstdc++-v3/include/bits/unordered_map.h b/libstdc++-v3/include/bits/unordered_map.h index 914d26a..580aed9 100644 --- a/libstdc++-v3/include/bits/unordered_map.h +++ b/libstdc++-v3/include/bits/unordered_map.h @@ -360,7 +360,7 @@ _GLIBCXX_BEGIN_NAMESPACE_CONTAINER * cause no gains in efficiency. * * See - * http://gcc.gnu.org/onlinedocs/libstdc++/manual/bk01pt07ch17.html + * https://gcc.gnu.org/onlinedocs/libstdc++/manual/associative.html#containers.associative.insert_hints * for more on @a hinting. * * Insertion requires amortized constant time. @@ -417,7 +417,7 @@ _GLIBCXX_BEGIN_NAMESPACE_CONTAINER * hint would cause no gains in efficiency. * * See - * http://gcc.gnu.org/onlinedocs/libstdc++/manual/bk01pt07ch17.html + * https://gcc.gnu.org/onlinedocs/libstdc++/manual/associative.html#containers.associative.insert_hints * for more on @a hinting. * * Insertion requires amortized constant time. @@ -1064,7 +1064,7 @@ _GLIBCXX_BEGIN_NAMESPACE_CONTAINER * cause no gains in efficiency. * * See - * http://gcc.gnu.org/onlinedocs/libstdc++/manual/bk01pt07ch17.html + * https://gcc.gnu.org/onlinedocs/libstdc++/manual/associative.html#containers.associative.insert_hints * for more on @a hinting. * * Insertion requires amortized constant time. @@ -1111,7 +1111,7 @@ _GLIBCXX_BEGIN_NAMESPACE_CONTAINER * cause no gains in efficiency. * * See - * http://gcc.gnu.org/onlinedocs/libstdc++/manual/bk01pt07ch17.html + * https://gcc.gnu.org/onlinedocs/libstdc++/manual/associative.html#containers.associative.insert_hints * for more on @a hinting. * * Insertion requires amortized constant time. diff --git a/libstdc++-v3/include/bits/unordered_set.h b/libstdc++-v3/include/bits/unordered_set.h index e37bcda..3cf248d 100644 --- a/libstdc++-v3/include/bits/unordered_set.h +++ b/libstdc++-v3/include/bits/unordered_set.h @@ -346,7 +346,7 @@ _GLIBCXX_BEGIN_NAMESPACE_CONTAINER * hint would cause no gains in efficiency. * * For more on @a hinting, see: - * http://gcc.gnu.org/onlinedocs/libstdc++/manual/bk01pt07ch17.html + * https://gcc.gnu.org/onlinedocs/libstdc++/manual/associative.html#containers.associative.insert_hints * * Insertion requires amortized constant time. */ @@ -394,7 +394,7 @@ _GLIBCXX_BEGIN_NAMESPACE_CONTAINER * hint would cause no gains in efficiency. * * For more on @a hinting, see: - * http://gcc.gnu.org/onlinedocs/libstdc++/manual/bk01pt07ch17.html + * https://gcc.gnu.org/onlinedocs/libstdc++/manual/associative.html#containers.associative.insert_hints * * Insertion requires amortized constant. */ @@ -969,7 +969,7 @@ _GLIBCXX_BEGIN_NAMESPACE_CONTAINER * cause no gains in efficiency. * * For more on @a hinting, see: - * http://gcc.gnu.org/onlinedocs/libstdc++/manual/bk01pt07ch17.html + * https://gcc.gnu.org/onlinedocs/libstdc++/manual/associative.html#containers.associative.insert_hints * * Insertion requires amortized constant time. */ @@ -1008,7 +1008,7 @@ _GLIBCXX_BEGIN_NAMESPACE_CONTAINER * cause no gains in efficiency. * * For more on @a hinting, see: - * http://gcc.gnu.org/onlinedocs/libstdc++/manual/bk01pt07ch17.html + * https://gcc.gnu.org/onlinedocs/libstdc++/manual/associative.html#containers.associative.insert_hints * * Insertion requires amortized constant. */ diff --git a/libstdc++-v3/include/ext/mt_allocator.h b/libstdc++-v3/include/ext/mt_allocator.h index 0e6cfd9..856ef3b 100644 --- a/libstdc++-v3/include/ext/mt_allocator.h +++ b/libstdc++-v3/include/ext/mt_allocator.h @@ -632,7 +632,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION * @ingroup allocators * * Further details: - * http://gcc.gnu.org/onlinedocs/libstdc++/manual/bk01pt12ch32.html + * https://gcc.gnu.org/onlinedocs/libstdc++/manual/mt_allocator.html */ template<typename _Tp, typename _Poolp = __common_pool_policy<__pool, __thread_default> > diff --git a/libstdc++-v3/include/std/bitset b/libstdc++-v3/include/std/bitset index d9d4f4d..b89a283 100644 --- a/libstdc++-v3/include/std/bitset +++ b/libstdc++-v3/include/std/bitset @@ -732,7 +732,7 @@ _GLIBCXX_BEGIN_NAMESPACE_CONTAINER * @endcode * * Also see: - * http://gcc.gnu.org/onlinedocs/libstdc++/manual/bk01pt12ch33s02.html + * https://gcc.gnu.org/onlinedocs/libstdc++/manual/ext_containers.html * for a description of extensions. * * Most of the actual code isn't contained in %bitset<> itself, but in the diff --git a/libstdc++-v3/include/std/fstream b/libstdc++-v3/include/std/fstream index 51db21b..4d802f1 100644 --- a/libstdc++-v3/include/std/fstream +++ b/libstdc++-v3/include/std/fstream @@ -358,7 +358,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION * If no file has been opened, and both @a __s and @a __n are zero, then * the stream becomes unbuffered. Otherwise, @c __s is used as a * buffer; see - * http://gcc.gnu.org/onlinedocs/libstdc++/manual/bk01pt11ch25s02.html + * https://gcc.gnu.org/onlinedocs/libstdc++/manual/streambufs.html#io.streambuf.buffering * for more. */ virtual __streambuf_type* diff --git a/libstdc++-v3/include/std/iosfwd b/libstdc++-v3/include/std/iosfwd index 50dd949..ed8af5c 100644 --- a/libstdc++-v3/include/std/iosfwd +++ b/libstdc++-v3/include/std/iosfwd @@ -67,7 +67,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION * themselves (e.g., <code>class ostream;</code>) is not valid ISO C++. * * For more specific declarations, see - * http://gcc.gnu.org/onlinedocs/libstdc++/manual/bk01pt11ch24.html + * https://gcc.gnu.org/onlinedocs/libstdc++/manual/io.html#std.io.objects * * @{ */ diff --git a/libstdc++-v3/include/std/ostream b/libstdc++-v3/include/std/ostream index 18a56ae..a25b3d0 100644 --- a/libstdc++-v3/include/std/ostream +++ b/libstdc++-v3/include/std/ostream @@ -556,7 +556,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION * * This manipulator is often mistakenly used when a simple newline is * desired, leading to poor buffering performance. See - * http://gcc.gnu.org/onlinedocs/libstdc++/manual/bk01pt11ch25s02.html + * https://gcc.gnu.org/onlinedocs/libstdc++/manual/streambufs.html#io.streambuf.buffering * for more on this subject. */ template<typename _CharT, typename _Traits> diff --git a/libstdc++-v3/include/std/sstream b/libstdc++-v3/include/std/sstream index 74ce16c..f97caba 100644 --- a/libstdc++-v3/include/std/sstream +++ b/libstdc++-v3/include/std/sstream @@ -195,7 +195,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION * * If no buffer has already been created, and both @a __s and @a __n are * non-zero, then @c __s is used as a buffer; see - * http://gcc.gnu.org/onlinedocs/libstdc++/manual/bk01pt11ch25s02.html + * https://gcc.gnu.org/onlinedocs/libstdc++/manual/streambufs.html#io.streambuf.buffering * for more. */ virtual __streambuf_type* diff --git a/libstdc++-v3/include/std/streambuf b/libstdc++-v3/include/std/streambuf index 0cb609d..d3aa0ee 100644 --- a/libstdc++-v3/include/std/streambuf +++ b/libstdc++-v3/include/std/streambuf @@ -582,7 +582,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION * * Each derived class provides its own appropriate behavior. See * the next-to-last paragraph of - * http://gcc.gnu.org/onlinedocs/libstdc++/manual/bk01pt11ch25s02.html + * https://gcc.gnu.org/onlinedocs/libstdc++/manual/streambufs.html#io.streambuf.buffering * for more on this function. * * @note Base class version does nothing, returns @c this. @@ -679,7 +679,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION * * A functioning input streambuf can be created by overriding only * this function (no buffer area will be used). For an example, see - * http://gcc.gnu.org/onlinedocs/libstdc++/manual/bk01pt11ch25.html + * https://gcc.gnu.org/onlinedocs/libstdc++/manual/streambufs.html * * @note Base class version does nothing, returns eof(). */