Commit 09d6794b by Benjamin Kosnik Committed by Benjamin Kosnik

class.txml: Adjust biblio markup.

2010-02-22  Benjamin Kosnik  <bkoz@redhat.com>

	* doc/xml/class.txml: Adjust biblio markup.
	* doc/xml/manual/allocator.xml: Same.
	* doc/xml/manual/ctype.xml: Same.
	* doc/xml/manual/codecvt.xml: Same.
	* doc/xml/manual/backwards_compatibility.xml: Same.
	* doc/xml/manual/abi.xml: Same.
	* doc/xml/manual/shared_ptr.xml: Same.
	* doc/xml/manual/profile_mode.xml: Same.
	* doc/xml/manual/using_exceptions.xml: Same.
	* doc/xml/manual/locale.xml: Same.
	* doc/xml/manual/appendix_contributing.xml: Same.
	* doc/xml/manual/messages.xml: Same.
	* doc/Makefile.am (DBLATEX_FLAGS): Adjust.
	* doc/Makefile.in: Regenerate.

From-SVN: r156980
parent a98c2819
2010-02-22 Benjamin Kosnik <bkoz@redhat.com>
* doc/xml/class.txml: Adjust biblio markup.
* doc/xml/manual/allocator.xml: Same.
* doc/xml/manual/ctype.xml: Same.
* doc/xml/manual/codecvt.xml: Same.
* doc/xml/manual/backwards_compatibility.xml: Same.
* doc/xml/manual/abi.xml: Same.
* doc/xml/manual/shared_ptr.xml: Same.
* doc/xml/manual/profile_mode.xml: Same.
* doc/xml/manual/using_exceptions.xml: Same.
* doc/xml/manual/locale.xml: Same.
* doc/xml/manual/appendix_contributing.xml: Same.
* doc/xml/manual/messages.xml: Same.
* doc/Makefile.am (DBLATEX_FLAGS): Adjust.
* doc/Makefile.in: Regenerate.
2010-02-22 François Dumont <francois.cppdevs@free.fr>
* doc/xml/manual/profile_mode.xml: Minor updates and fixes.
......
......@@ -228,7 +228,7 @@ doc-pdf-prince: $(xml_sources) ${glibcxx_builddir}/doc/pdf
# PDF 5
# dblatex
DBLATEX_FLAGS = --verbose --pdf -o pdf/spine.pdf
DBLATEX_FLAGS = --dump --verbose --pdf -o pdf/manual.pdf
doc-pdf-dblatex: $(xml_sources) ${glibcxx_builddir}/doc/pdf
@echo "Generating pdf dblatex files..."
dblatex $(DBLATEX_FLAGS) ${top_srcdir}/doc/xml/spine.xml
......
......@@ -377,7 +377,7 @@ PRINCE_FLAGS = --log prince.log -o pdf/spine.pdf
# PDF 5
# dblatex
DBLATEX_FLAGS = --verbose --pdf -o pdf/spine.pdf
DBLATEX_FLAGS = --dump --verbose --pdf -o pdf/manual.pdf
# By adding these files here, automake will remove them for 'make clean'
CLEANFILES = *.log
......
......@@ -114,8 +114,13 @@
<abbrev>
</abbrev>
<title>
</title>
<biblioid class="uri">
<ulink url="http://about:blank">
<citetitle>
The Title
</citetitle>
</ulink>
</biblioid>
<editor>
<firstname></firstname>
......@@ -138,11 +143,6 @@
</publishername>
</publisher>
<biblioid>
<ulink url="">
</ulink>
</biblioid>
</biblioentry>
-->
......
......@@ -1085,7 +1085,7 @@ indicate a place that may require attention for multi-thread safety.
</para>
<table frame='all'>
<title>HTML to Doxygen markup comparison</title>
<title>HTML to Doxygen Markup Comparison</title>
<tgroup cols='2' align='left' colsep='1' rowsep='1'>
<colspec colname='c1'></colspec>
<colspec colname='c2'></colspec>
......@@ -1318,15 +1318,16 @@ xmllint --noout --valid <filename>xml/index.xml</filename>
<sect3 id="docbook.markup">
<title>Markup By Example</title>
<para>
Complete details on Docbook markup can be found in the DocBook Element
Reference, <ulink url="http://www.docbook.org/tdg/en/html/part2.html">online</ulink>. An
incomplete reference for HTML to Docbook conversion is detailed in the
table below.
</para>
<para>
Complete details on Docbook markup can be found in the DocBook
Element Reference,
<ulink url="http://www.docbook.org/tdg/en/html/part2.html">online</ulink>.
An incomplete reference for HTML to Docbook conversion is
detailed in the table below.
</para>
<table frame='all'>
<title>HTML to Docbook XML markup comparison</title>
<title>HTML to Docbook XML Markup Comparison</title>
<tgroup cols='2' align='left' colsep='1' rowsep='1'>
<colspec colname='c1'></colspec>
<colspec colname='c2'></colspec>
......
<sect1 id="manual.localization.facet.codecvt" xreflabel="codecvt">
<?dbhtml filename="codecvt.html"?>
<sect1info>
<keywordset>
<keyword>
......@@ -53,21 +53,21 @@ The text around the codecvt definition gives some clues:
-1- The class codecvt&lt;internT,externT,stateT&gt; is for use when
converting from one codeset to another, such as from wide characters
to multibyte characters, between wide character encodings such as
Unicode and EUC.
Unicode and EUC.
</emphasis>
</para>
</blockquote>
<para>
<para>
Hmm. So, in some unspecified way, Unicode encodings and
translations between other character sets should be handled by this
class.
class.
</para>
<blockquote>
<para>
<emphasis>
-2- The stateT argument selects the pair of codesets being mapped between.
-2- The stateT argument selects the pair of codesets being mapped between.
</emphasis>
</para>
</blockquote>
......@@ -248,7 +248,7 @@ when implemented using standard &quot;C&quot; functions.
</para>
<para>
Three problems arise, one big, one of medium importance, and one small.
Three problems arise, one big, one of medium importance, and one small.
</para>
<para>
......@@ -348,7 +348,7 @@ There are two constructors for encoding_state:
</para>
<para>
<code>
<code>
encoding_state() : __in_desc(0), __out_desc(0)
</code>
</para>
......@@ -359,7 +359,7 @@ nl_langinfo(CODESET).
</para>
<para>
<code>
<code>
encoding_state(const char* __int, const char* __ext)
</code>
</para>
......@@ -380,9 +380,9 @@ inducing) strategy was implemented: end-users can specify any string
encodings. It is up to the user to make sure that these strings are
valid on the target system.
</para>
<para>
<code>
<code>
void
_M_init()
</code>
......@@ -396,7 +396,7 @@ functions will return error.
</para>
<para>
<code>
<code>
bool
_M_good()
</code>
......@@ -413,7 +413,7 @@ ready to convert and will return true.
</para>
<para>
<code>
<code>
encoding_state(const encoding_state&amp;)
</code>
</para>
......@@ -448,8 +448,8 @@ codecvt usage.
const ext_type* e_lit = "black pearl jasmine tea";
int size = strlen(e_lit);
int_type i_lit_base[24] =
{ 25088, 27648, 24832, 25344, 27392, 8192, 28672, 25856, 24832, 29184,
int_type i_lit_base[24] =
{ 25088, 27648, 24832, 25344, 27392, 8192, 28672, 25856, 24832, 29184,
27648, 8192, 27136, 24832, 29440, 27904, 26880, 28160, 25856, 8192, 29696,
25856, 24832, 2560
};
......@@ -465,14 +465,14 @@ codecvt usage.
locale loc(locale::classic(), new unicode_codecvt);
// sanity check the constructed locale has the specialized facet.
VERIFY( has_facet&lt;unicode_codecvt&gt;(loc) );
const unicode_codecvt&amp; cvt = use_facet&lt;unicode_codecvt&gt;(loc);
const unicode_codecvt&amp; cvt = use_facet&lt;unicode_codecvt&gt;(loc);
// convert between const char* and unicode strings
unicode_codecvt::state_type state01("UNICODE", "ISO_8859-1");
initialize_state(state01);
result r1 = cvt.in(state01, e_lit, e_lit + size, efrom_next,
i_arr, i_arr + size, ito_next);
result r1 = cvt.in(state01, e_lit, e_lit + size, efrom_next,
i_arr, i_arr + size, ito_next);
VERIFY( r1 == codecvt_base::ok );
VERIFY( !int_traits::compare(i_arr, i_lit, size) );
VERIFY( !int_traits::compare(i_arr, i_lit, size) );
VERIFY( efrom_next == e_lit + size );
VERIFY( ito_next == i_arr + size );
</programlisting>
......@@ -505,7 +505,7 @@ codecvt usage.
what is equal? A byte by byte comparison or an
encoding then byte comparison?
</para></listitem>
<listitem><para>
conversions between narrow, wide, and unicode strings
</para></listitem>
......@@ -520,12 +520,12 @@ codecvt usage.
standards-conformant manner?
</para></listitem>
<listitem><para>
<listitem><para>
how to synchronize the &quot;C&quot; and &quot;C++&quot;
conversion information?
</para></listitem>
<listitem><para>
<listitem><para>
wchar_t/char internal buffers and conversions between
internal/external buffers?
</para></listitem>
......@@ -542,7 +542,6 @@ codecvt usage.
<title>
The GNU C Library
</title>
<author>
<surname>McGrath</surname>
<firstname>Roland</firstname>
......@@ -551,94 +550,85 @@ codecvt usage.
<surname>Drepper</surname>
<firstname>Ulrich</firstname>
</author>
<copyright>
<year>2007</year>
<holder>FSF</holder>
</copyright>
<pagenums>Chapters 6 Character Set Handling and 7 Locales and Internationalization</pagenums>
</biblioentry>
<pagenums>
Chapters 6 Character Set Handling and 7 Locales and Internationalization
</pagenums>
</biblioentry>
<biblioentry>
<title>
Correspondence
</title>
<author>
<surname>Drepper</surname>
<firstname>Ulrich</firstname>
</author>
<copyright>
<year>2002</year>
<holder></holder>
</copyright>
</biblioentry>
</biblioentry>
<biblioentry>
<title>
ISO/IEC 14882:1998 Programming languages - C++
</title>
<copyright>
<year>1998</year>
<holder>ISO</holder>
</copyright>
</biblioentry>
</biblioentry>
<biblioentry>
<title>
ISO/IEC 9899:1999 Programming languages - C
</title>
<copyright>
<year>1999</year>
<holder>ISO</holder>
</copyright>
</biblioentry>
</biblioentry>
<biblioentry>
<title>
The Open Group Base Specifications, Issue 6 (IEEE Std. 1003.1-2004)
</title>
<biblioid class="uri">
<ulink url="http://www.opengroup.org/austin">
<citetitle>
System Interface Definitions, Issue 7 (IEEE Std. 1003.1-2008)
</citetitle>
</ulink>
</biblioid>
<copyright>
<year>1999</year>
<year>2008</year>
<holder>
The Open Group/The Institute of Electrical and Electronics Engineers, Inc.</holder>
The Open Group/The Institute of Electrical and Electronics
Engineers, Inc.
</holder>
</copyright>
<biblioid>
<ulink url="http://www.unix.org/version3/ieee_std.html">
</ulink>
</biblioid>
</biblioentry>
</biblioentry>
<biblioentry>
<title>
The C++ Programming Language, Special Edition
</title>
<author>
<surname>Stroustrup</surname>
<firstname>Bjarne</firstname>
</author>
<copyright>
<year>2000</year>
<holder>Addison Wesley, Inc.</holder>
</copyright>
<pagenums>Appendix D</pagenums>
<publisher>
<publishername>
Addison Wesley
</publishername>
</publisher>
</biblioentry>
</biblioentry>
<biblioentry>
......@@ -648,82 +638,67 @@ codecvt usage.
<subtitle>
Advanced Programmer's Guide and Reference
</subtitle>
<author>
<surname>Langer</surname>
<firstname>Angelika</firstname>
</author>
<author>
<surname>Kreft</surname>
<firstname>Klaus</firstname>
</author>
<copyright>
<year>2000</year>
<holder>Addison Wesley Longman, Inc.</holder>
</copyright>
<publisher>
<publishername>
Addison Wesley Longman
</publishername>
</publisher>
</biblioentry>
</biblioentry>
<biblioentry>
<title>
A brief description of Normative Addendum 1
</title>
<biblioid class="uri">
<ulink url="http://www.lysator.liu.se/c/na1.html">
<citetitle>
A brief description of Normative Addendum 1
</citetitle>
</ulink>
</biblioid>
<author>
<surname>Feather</surname>
<firstname>Clive</firstname>
</author>
<pagenums>Extended Character Sets</pagenums>
<biblioid>
<ulink url="http://www.lysator.liu.se/c/na1.html">
</ulink>
</biblioid>
</biblioentry>
</biblioentry>
<biblioentry>
<title>
The Unicode HOWTO
</title>
<biblioid class="uri">
<ulink url="http://tldp.org/HOWTO/Unicode-HOWTO.html">
<citetitle>
The Unicode HOWTO
</citetitle>
</ulink>
</biblioid>
<author>
<surname>Haible</surname>
<firstname>Bruno</firstname>
</author>
</biblioentry>
<biblioid>
<ulink url="http://tldp.org/HOWTO/Unicode-HOWTO.html">
<biblioentry>
<biblioid class="uri">
<ulink url="http://www.cl.cam.ac.uk/~mgk25/unicode.html">
<citetitle>
UTF-8 and Unicode FAQ for Unix/Linux
</citetitle>
</ulink>
</biblioid>
</biblioentry>
<biblioentry>
<title>
UTF-8 and Unicode FAQ for Unix/Linux
</title>
<author>
<surname>Khun</surname>
<firstname>Markus</firstname>
</author>
<biblioid>
<ulink url="http://www.cl.cam.ac.uk/~mgk25/unicode.html">
</ulink>
</biblioid>
</biblioentry>
</biblioentry>
</bibliography>
......
<sect1 id="manual.localization.facet.ctype" xreflabel="ctype">
<?dbhtml filename="ctype.html"?>
<sect1info>
<keywordset>
<keyword>
......@@ -67,45 +67,45 @@ characters.
<itemizedlist>
<listitem>
<para>
How to deal with the global locale issue?
How to deal with the global locale issue?
</para></listitem>
<listitem>
<para>
<para>
How to deal with different types than char, wchar_t? </para></listitem>
<listitem><para>
Overlap between codecvt/ctype: narrow/widen
Overlap between codecvt/ctype: narrow/widen
</para></listitem>
<listitem>
<para>
<para>
Mask typedef in codecvt_base, argument types in codecvt. what
is know about this type?
is know about this type?
</para></listitem>
<listitem>
<para>
<para>
Why mask* argument in codecvt?
</para></listitem>
<listitem>
<para>
Can this be made (more) generic? is there a simple way to
straighten out the configure-time mess that is a by-product of
this class?
this class?
</para></listitem>
<listitem>
<para>
<para>
Get the ctype&lt;wchar_t&gt;::mask stuff under control. Need to
make some kind of static table, and not do lookup every time
somebody hits the do_is... functions. Too bad we can't just
redefine mask for ctype&lt;wchar_t&gt;
redefine mask for ctype&lt;wchar_t&gt;
</para></listitem>
<listitem>
<para>
<para>
Rename abstract base class. See if just smash-overriding is a
better approach. Clarify, add sanity to naming.
</para>
......@@ -124,7 +124,6 @@ characters.
<title>
The GNU C Library
</title>
<author>
<surname>McGrath</surname>
<firstname>Roland</firstname>
......@@ -133,95 +132,81 @@ characters.
<surname>Drepper</surname>
<firstname>Ulrich</firstname>
</author>
<copyright>
<year>2007</year>
<holder>FSF</holder>
</copyright>
<pagenums>Chapters 6 Character Set Handling and 7 Locales and Internationalization</pagenums>
</biblioentry>
</biblioentry>
<biblioentry>
<title>
Correspondence
</title>
<author>
<surname>Drepper</surname>
<firstname>Ulrich</firstname>
</author>
<copyright>
<year>2002</year>
<holder></holder>
</copyright>
</biblioentry>
</biblioentry>
<biblioentry>
<title>
ISO/IEC 14882:1998 Programming languages - C++
</title>
<copyright>
<year>1998</year>
<holder>ISO</holder>
</copyright>
</biblioentry>
</biblioentry>
<biblioentry>
<title>
ISO/IEC 9899:1999 Programming languages - C
</title>
<copyright>
<year>1999</year>
<holder>ISO</holder>
</copyright>
</biblioentry>
</biblioentry>
<biblioentry>
<title>
The Open Group Base Specifications, Issue 6 (IEEE Std. 1003.1-2004)
</title>
<biblioid class="uri">
<ulink url="http://www.unix.org/version3/ieee_std.html">
<citetitle>
The Open Group Base Specifications, Issue 6 (IEEE Std. 1003.1-2004)
</citetitle>
</ulink>
</biblioid>
<copyright>
<year>1999</year>
<holder>
The Open Group/The Institute of Electrical and Electronics Engineers, Inc.</holder>
</copyright>
<biblioid>
<ulink url="http://www.unix.org/version3/ieee_std.html">
</ulink>
</biblioid>
</biblioentry>
</biblioentry>
<biblioentry>
<title>
The C++ Programming Language, Special Edition
</title>
<author>
<surname>Stroustrup</surname>
<firstname>Bjarne</firstname>
</author>
<copyright>
<year>2000</year>
<holder>Addison Wesley, Inc.</holder>
</copyright>
<pagenums>Appendix D</pagenums>
<publisher>
<publishername>
Addison Wesley
</publishername>
</publisher>
</biblioentry>
</biblioentry>
<biblioentry>
<title>
......@@ -230,29 +215,24 @@ characters.
<subtitle>
Advanced Programmer's Guide and Reference
</subtitle>
<author>
<surname>Langer</surname>
<firstname>Angelika</firstname>
</author>
<author>
<surname>Kreft</surname>
<firstname>Klaus</firstname>
</author>
<copyright>
<year>2000</year>
<holder>Addison Wesley Longman, Inc.</holder>
</copyright>
<publisher>
<publishername>
Addison Wesley Longman
</publishername>
</publisher>
</biblioentry>
</biblioentry>
</bibliography>
......
<sect1 id="manual.localization.locales.locale" xreflabel="Locale">
<sect1info>
<keywordset>
<keyword>
......@@ -113,8 +113,8 @@ portability is an issue.
<itemizedlist>
<listitem>
<para>
<code>`locale -a`</code> displays available locales.
<para>
<code>`locale -a`</code> displays available locales.
</para>
<blockquote>
<programlisting>
......@@ -419,9 +419,9 @@ zh_TW.utf8
</programlisting>
</blockquote>
</listitem>
<listitem>
<para>
<para>
<code>`locale`</code> displays environmental variables that
impact how locale("") will be deduced.
</para>
......@@ -478,33 +478,33 @@ global locale" (emphasis Paolo), that is:
<para>
Locale initialization: at what point does _S_classic, _S_global
get initialized? Can named locales assume this initialization
has already taken place?
has already taken place?
</para>
</listitem>
<listitem>
<para>
<para>
Document how named locales error check when filling data
members. I.e., a fr_FR locale that doesn't have
numpunct::truename(): does it use "true"? Or is it a blank
string? What's the convention?
string? What's the convention?
</para>
</listitem>
<listitem>
<para>
<para>
Explain how locale aliasing happens. When does "de_DE" use "de"
information? What is the rule for locales composed of just an
ISO language code (say, "de") and locales with both an ISO
language code and ISO country code (say, "de_DE").
language code and ISO country code (say, "de_DE").
</para>
</listitem>
<listitem>
<para>
<para>
What should non-required facet instantiations do? If the
generic implementation is provided, then how to end-users
provide specializations?
provide specializations?
</para>
</listitem>
</itemizedlist>
......@@ -517,7 +517,6 @@ global locale" (emphasis Paolo), that is:
<title>
The GNU C Library
</title>
<author>
<surname>McGrath</surname>
<firstname>Roland</firstname>
......@@ -526,95 +525,86 @@ global locale" (emphasis Paolo), that is:
<surname>Drepper</surname>
<firstname>Ulrich</firstname>
</author>
<copyright>
<year>2007</year>
<holder>FSF</holder>
</copyright>
<pagenums>Chapters 6 Character Set Handling and 7 Locales and Internationalization</pagenums>
</biblioentry>
<pagenums>
Chapters 6 Character Set Handling and 7 Locales and
Internationalization
</pagenums>
</biblioentry>
<biblioentry>
<title>
Correspondence
</title>
<author>
<surname>Drepper</surname>
<firstname>Ulrich</firstname>
</author>
<copyright>
<year>2002</year>
<holder></holder>
</copyright>
</biblioentry>
</biblioentry>
<biblioentry>
<title>
ISO/IEC 14882:1998 Programming languages - C++
</title>
<copyright>
<year>1998</year>
<holder>ISO</holder>
</copyright>
</biblioentry>
</biblioentry>
<biblioentry>
<title>
ISO/IEC 9899:1999 Programming languages - C
</title>
<copyright>
<year>1999</year>
<holder>ISO</holder>
</copyright>
</biblioentry>
</biblioentry>
<biblioentry>
<title>
The Open Group Base Specifications, Issue 6 (IEEE Std. 1003.1-2004)
</title>
<biblioid class="uri">
<ulink url="http://www.opengroup.org/austin">
<citetitle>
System Interface Definitions, Issue 7 (IEEE Std. 1003.1-2008)
</citetitle>
</ulink>
</biblioid>
<copyright>
<year>1999</year>
<year>2008</year>
<holder>
The Open Group/The Institute of Electrical and Electronics Engineers, Inc.</holder>
The Open Group/The Institute of Electrical and Electronics
Engineers, Inc.
</holder>
</copyright>
<biblioid>
<ulink url="http://www.unix.org/version3/ieee_std.html">
</ulink>
</biblioid>
</biblioentry>
</biblioentry>
<biblioentry>
<title>
The C++ Programming Language, Special Edition
</title>
<author>
<surname>Stroustrup</surname>
<firstname>Bjarne</firstname>
</author>
<copyright>
<year>2000</year>
<holder>Addison Wesley, Inc.</holder>
</copyright>
<pagenums>Appendix D</pagenums>
<publisher>
<publishername>
Addison Wesley
</publishername>
</publisher>
</biblioentry>
</biblioentry>
<biblioentry>
<title>
......@@ -623,29 +613,24 @@ global locale" (emphasis Paolo), that is:
<subtitle>
Advanced Programmer's Guide and Reference
</subtitle>
<author>
<surname>Langer</surname>
<firstname>Angelika</firstname>
</author>
<author>
<surname>Kreft</surname>
<firstname>Klaus</firstname>
</author>
<copyright>
<year>2000</year>
<holder>Addison Wesley Longman, Inc.</holder>
</copyright>
<publisher>
<publishername>
Addison Wesley Longman
</publishername>
</publisher>
</biblioentry>
</biblioentry>
</bibliography>
......
<sect1 id="manual.localization.facet.messages" xreflabel="Messages">
<?dbhtml filename="messages.html"?>
<sect1info>
<keywordset>
<keyword>
......@@ -40,7 +40,7 @@ during program execution.
<para>
This class has three public member functions, which directly
correspond to three protected virtual member functions.
correspond to three protected virtual member functions.
</para>
<para>
......@@ -84,7 +84,7 @@ catalog can be opened.
<blockquote>
<para>
<emphasis>
-3- Requires: A catalog cat obtained from open() and not yet closed.
-3- Requires: A catalog cat obtained from open() and not yet closed.
-4- Returns: A message identified by arguments set, msgid, and dfault,
according to an implementation-defined mapping. If no such message can
be found, returns dfault.
......@@ -98,9 +98,9 @@ be found, returns dfault.
<blockquote>
<para>
<emphasis>
-5- Requires: A catalog cat obtained from open() and not yet closed.
-6- Effects: Releases unspecified resources associated with cat.
-7- Notes: The limit on such resources, if any, is implementation-defined.
-5- Requires: A catalog cat obtained from open() and not yet closed.
-6- Effects: Releases unspecified resources associated with cat.
-7- Notes: The limit on such resources, if any, is implementation-defined.
</emphasis>
</para>
</blockquote>
......@@ -112,14 +112,14 @@ be found, returns dfault.
<title>Design</title>
<para>
A couple of notes on the standard.
A couple of notes on the standard.
</para>
<para>
First, why is <code>messages_base::catalog</code> specified as a typedef
to int? This makes sense for implementations that use
<code>catopen</code>, but not for others. Fortunately, it's not heavily
used and so only a minor irritant.
used and so only a minor irritant.
</para>
<para>
......@@ -145,7 +145,7 @@ reflection.
Lastly, it seems odd that messages, which explicitly require code
conversion, don't use the codecvt facet. Because the messages facet
has only one template parameter, it is assumed that ctype, and not
codecvt, is to be used to convert between character sets.
codecvt, is to be used to convert between character sets.
</para>
<para>
......@@ -183,12 +183,12 @@ other, explicitly named locales.
generic
</para>
<para>
This model does very little, and is what is used by default.
This model does very little, and is what is used by default.
</para>
</listitem>
<listitem>
<para>
<para>
gnu
</para>
<para>
......@@ -203,7 +203,7 @@ other, explicitly named locales.
</listitem>
<listitem>
<para>
<para>
ieee_1003.1-200x
</para>
<para>
......@@ -257,14 +257,14 @@ model.
</listitem>
<listitem>
<para>
<para>
Make initial catalog (see "4 Making the PO Template File" from
the gettext docs).</para>
<para>
<code> xgettext --c++ --debug string_literals.cc -o libstdc++.pot </code>
</para>
</listitem>
<listitem>
<para>Make language and country-specific locale catalogs.</para>
<para>
......@@ -284,7 +284,7 @@ model.
<code>emacs fr_FR.po</code>
</para>
</listitem>
<listitem>
<para>Make the binary mo files.</para>
<para>
......@@ -336,9 +336,9 @@ void test01()
{
typedef messages&lt;char&gt;::catalog catalog;
const char* dir =
"/mnt/egcs/build/i686-pc-linux-gnu/libstdc++/po/share/locale";
"/mnt/egcs/build/i686-pc-linux-gnu/libstdc++/po/share/locale";
const locale loc_de("de_DE");
const messages&lt;char&gt;&amp; mssg_de = use_facet&lt;messages&lt;char&gt; &gt;(loc_de);
const messages&lt;char&gt;&amp; mssg_de = use_facet&lt;messages&lt;char&gt; &gt;(loc_de);
catalog cat_de = mssg_de.open("libstdc++", loc_de, dir);
string s01 = mssg_de.get(cat_de, 0, 0, "please");
......@@ -373,7 +373,7 @@ void test01()
</listitem>
<listitem>
<para>
<para>
There are issues with gettext needing the global locale set
to extract a message. This dependence on the global locale
makes the current "gnu" model non MT-safe. Future versions
......@@ -385,7 +385,7 @@ void test01()
</listitem>
<listitem>
<para>
<para>
Development versions of the GNU "C" library, glibc 2.3 will allow
a more efficient, MT implementation of std::messages, and will
allow the removal of the _M_name_messages data member. If this is
......@@ -414,14 +414,14 @@ void test01()
<para>
<code>
catalog
open(const basic_string&lt;char&gt;&amp; __s, const locale&amp; __loc) const
catalog
open(const basic_string&lt;char&gt;&amp; __s, const locale&amp; __loc) const
</code>
</para>
<para>
<code>
catalog
catalog
open(const basic_string&lt;char&gt;&amp;, const locale&amp;, const char*) const;
</code>
</para>
......@@ -445,7 +445,6 @@ void test01()
<title>
The GNU C Library
</title>
<author>
<surname>McGrath</surname>
<firstname>Roland</firstname>
......@@ -454,42 +453,37 @@ void test01()
<surname>Drepper</surname>
<firstname>Ulrich</firstname>
</author>
<copyright>
<year>2007</year>
<holder>FSF</holder>
</copyright>
<pagenums>Chapters 6 Character Set Handling, and 7 Locales and Internationalization
</pagenums>
</biblioentry>
</biblioentry>
<biblioentry>
<title>
Correspondence
</title>
<author>
<surname>Drepper</surname>
<firstname>Ulrich</firstname>
</author>
<copyright>
<year>2002</year>
<holder></holder>
</copyright>
</biblioentry>
</biblioentry>
<biblioentry>
<title>
ISO/IEC 14882:1998 Programming languages - C++
</title>
<copyright>
<year>1998</year>
<holder>ISO</holder>
</copyright>
</biblioentry>
</biblioentry>
<biblioentry>
<title>
......@@ -500,50 +494,44 @@ void test01()
<year>1999</year>
<holder>ISO</holder>
</copyright>
</biblioentry>
</biblioentry>
<biblioentry>
<title>
System Interface Definitions, Issue 6 (IEEE Std. 1003.1-200x)
</title>
<biblioid class="uri">
<ulink url="http://www.opengroup.org/austin">
<citetitle>
System Interface Definitions, Issue 7 (IEEE Std. 1003.1-2008)
</citetitle>
</ulink>
</biblioid>
<copyright>
<year>1999</year>
<year>2008</year>
<holder>
The Open Group/The Institute of Electrical and Electronics Engineers, Inc.</holder>
The Open Group/The Institute of Electrical and Electronics
Engineers, Inc.
</holder>
</copyright>
<biblioid>
<ulink url="http://www.opengroup.org/austin/">
</ulink>
</biblioid>
</biblioentry>
</biblioentry>
<biblioentry>
<title>
The C++ Programming Language, Special Edition
</title>
<author>
<surname>Stroustrup</surname>
<firstname>Bjarne</firstname>
</author>
<copyright>
<year>2000</year>
<holder>Addison Wesley, Inc.</holder>
</copyright>
<pagenums>Appendix D</pagenums>
<publisher>
<publishername>
Addison Wesley
</publishername>
</publisher>
</biblioentry>
</biblioentry>
<biblioentry>
<title>
......@@ -552,52 +540,48 @@ void test01()
<subtitle>
Advanced Programmer's Guide and Reference
</subtitle>
<author>
<surname>Langer</surname>
<firstname>Angelika</firstname>
</author>
<author>
<surname>Kreft</surname>
<firstname>Klaus</firstname>
</author>
<copyright>
<year>2000</year>
<holder>Addison Wesley Longman, Inc.</holder>
</copyright>
<publisher>
<publishername>
Addison Wesley Longman
</publishername>
</publisher>
</biblioentry>
</biblioentry>
<biblioentry>
<title>
Java 2 Platform, Standard Edition, v 1.3.1 API Specification
</title>
<pagenums>java.util.Properties, java.text.MessageFormat,
java.util.Locale, java.util.ResourceBundle</pagenums>
<biblioid>
<biblioid class="uri">
<ulink url="http://java.sun.com/reference/api/index.html">
<citetitle>
API Specifications, Java Platform
</citetitle>
</ulink>
</biblioid>
</biblioentry>
<pagenums>java.util.Properties, java.text.MessageFormat,
java.util.Locale, java.util.ResourceBundle
</pagenums>
</biblioentry>
<biblioentry>
<title>
GNU gettext tools, version 0.10.38, Native Language Support
Library and Tools.
</title>
<biblioid>
<biblioid class="uri">
<ulink url="http://www.gnu.org/software/gettext/">
<citetitle>
GNU gettext tools, version 0.10.38, Native Language Support
Library and Tools.
</citetitle>
</ulink>
</biblioid>
</biblioentry>
</biblioentry>
</bibliography>
......
......@@ -225,7 +225,7 @@ vector-size: improvement = 3: call stack = 0x804842c ...
<para>
</para>
<table frame='all'>
<title>Code Location</title>
<title>Profile Code Location</title>
<tgroup cols='2' align='left' colsep='1' rowsep='1'>
<colspec colname='c1'></colspec>
<colspec colname='c2'></colspec>
......@@ -713,7 +713,7 @@ it helps the user focus on the key problems and ignore the uninteresting ones.
</para>
<table frame='all'>
<title>Diagnostics</title>
<title>Profile Diagnostics</title>
<tgroup cols='6' align='left' colsep='1' rowsep='1'>
<colspec colname='c1'></colspec>
<colspec colname='c2'></colspec>
......
......@@ -501,78 +501,55 @@ the following types, depending on how the shared_ptr is constructed.
<title>Bibliography</title>
<biblioentry>
<abbrev>
n2351
</abbrev>
<title>
Improving shared_ptr for C++0x, Revision 2
</title>
<subtitle>
N2351
</subtitle>
<biblioid>
<biblioid class="uri">
<ulink url="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2007/n2351.htm">
<citetitle>
Improving shared_ptr for C++0x, Revision 2
</citetitle>
</ulink>
</biblioid>
</biblioentry>
<biblioentry>
<abbrev>
n2456
</abbrev>
<title>
C++ Standard Library Active Issues List (Revision R52)
</title>
<subtitle>
N2456
N2351
</subtitle>
</biblioentry>
<biblioid>
<biblioentry>
<biblioid class="uri">
<ulink url="http://open-std.org/jtc1/sc22/wg21/docs/papers/2007/n2456.html">
<citetitle>
C++ Standard Library Active Issues List
</citetitle>
</ulink>
</biblioid>
</biblioentry>
<biblioentry>
<abbrev>
n2461
</abbrev>
<title>
Working Draft, Standard for Programming Language C++
</title>
<subtitle>
N2461
N2456
</subtitle>
</biblioentry>
<biblioid>
<biblioentry>
<biblioid class="uri">
<ulink url="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2007/n2461.pdf">
<citetitle>
Working Draft, Standard for Programming Language C++
</citetitle>
</ulink>
</biblioid>
</biblioentry>
<biblioentry>
<abbrev>
boostshared_ptr
</abbrev>
<title>
Boost C++ Libraries documentation - shared_ptr class template
</title>
<subtitle>
N2461
</subtitle>
</biblioentry>
<biblioid>
<biblioentry>
<biblioid class="uri">
<ulink url="http://boost.org/libs/smart_ptr/shared_ptr.htm">shared_ptr
<citetitle>
Boost C++ Libraries documentation, shared_ptr
</citetitle>
</ulink>
</biblioid>
<subtitle>
N2461
</subtitle>
</biblioentry>
</bibliography>
......
......@@ -39,7 +39,7 @@ the <literal>throw</literal> keyword.
These are very powerful constructs, and require some thought when
applied to the standard library in order to yield components that work
efficiently while cleaning up resources when unexpectedly killed via
exceptional circumstances.
exceptional circumstances.
</para>
<para>
......@@ -51,8 +51,8 @@ exception neutrality and exception safety.
<sect2 id="intro.using.exception.safety" xreflabel="Exception Safety">
<title>Exception Safety</title>
<para>
What is exception-safe code?
<para>
What is exception-safe code?
</para>
<para>
......@@ -230,9 +230,9 @@ exception neutrality and exception safety.
use <literal>-fno-exceptions</literal>. If you have some code that
uses <literal>try</literal> or <literal>catch</literal>, you
shouldn't use <literal>-fno-exceptions</literal>.
</para>
</para>
<para>
<para>
And what it to be gained, tinkering in the back alleys with a
language like this? Exception handling overhead can be measured
in the size of the executable binary, and varies with the
......@@ -318,7 +318,7 @@ exception neutrality and exception safety.
library has been transformed, user code may need modification. User
code that attempts or expects to do error checking on standard
library components compiled with exception handling disabled should
be evaluated and potentially made conditional.
be evaluated and potentially made conditional.
</para>
<para>
......@@ -360,7 +360,7 @@ exception neutrality and exception safety.
<sect3 id="using.exception.compat.c">
<title>With <literal>C</literal></title>
<para>
<para>
C language code that is expecting to interoperate with C++ should be
compiled with <literal>-fexceptions</literal>. This will make
debugging a C language function called as part of C++-induced stack
......@@ -386,7 +386,7 @@ is called.
<sect3 id="using.exception.compat.posix">
<title>With <literal>POSIX</literal> thread cancellation</title>
<para>
<para>
GNU systems re-use some of the exception handling mechanisms to
track control flow for <literal>POSIX</literal> thread cancellation.
</para>
......@@ -439,30 +439,33 @@ is called.
<title>Bibliography</title>
<biblioentry>
<title>
System Interface Definitions, Issue 7 (IEEE Std. 1003.1-2008)
</title>
<biblioid class="uri">
<ulink url="http://www.opengroup.org/austin">
<citetitle>
System Interface Definitions, Issue 7 (IEEE Std. 1003.1-2008)
</citetitle>
</ulink>
</biblioid>
<pagenums>
2.9.5 Thread Cancellation
</pagenums>
<copyright>
<year>2008</year>
<holder>
The Open Group/The Institute of Electrical and Electronics Engineers, Inc.</holder>
The Open Group/The Institute of Electrical and Electronics
Engineers, Inc.
</holder>
</copyright>
</biblioentry>
<biblioid>
<ulink url="http://www.opengroup.org/austin/">
<biblioentry>
<biblioid class="uri">
<ulink url="http://www.boost.org/community/error_handling.html">
<citetitle>
Error and Exception Handling
</citetitle>
</ulink>
</biblioid>
</biblioentry>
<biblioentry>
<title>
Error and Exception Handling
</title>
<author>
<firstname>David</firstname>
<surname>Abrahams </surname>
......@@ -472,17 +475,17 @@ is called.
Boost
</publishername>
</publisher>
<biblioid>
<ulink url="http://www.boost.org/community/error_handling.html">
</ulink>
</biblioid>
</biblioentry>
</biblioentry>
<biblioentry>
<title>
Exception-Safety in Generic Components
</title>
<biblioid class="uri">
<ulink url="http://www.boost.org/community/exception_safety.html">
<citetitle>
Exception-Safety in Generic Components
</citetitle>
</ulink>
</biblioid>
<author>
<firstname>David</firstname>
<surname>Abrahams</surname>
......@@ -492,16 +495,16 @@ is called.
Boost
</publishername>
</publisher>
<biblioid>
<ulink url="http://www.boost.org/community/exception_safety.html">
</ulink>
</biblioid>
</biblioentry>
</biblioentry>
<biblioentry>
<title>
Standard Library Exception Policy
</title>
<biblioid class="uri">
<ulink url="www.open-std.org/jtc1/sc22/wg21/docs/papers/1997/N1077.pdf">
<citetitle>
Standard Library Exception Policy
</citetitle>
</ulink>
</biblioid>
<author>
<firstname>Matt</firstname>
<surname>Austern</surname>
......@@ -511,16 +514,16 @@ is called.
WG21 N1077
</publishername>
</publisher>
<biblioid>
<ulink url="www.open-std.org/jtc1/sc22/wg21/docs/papers/1997/N1077.pdf">
</ulink>
</biblioid>
</biblioentry>
</biblioentry>
<biblioentry>
<title>
ia64 c++ abi exception handling
</title>
<biblioid class="uri">
<ulink url="http://gcc.gnu.org/ml/gcc-patches/2001-03/msg00661.html">
<citetitle>
ia64 c++ abi exception handling
</citetitle>
</ulink>
</biblioid>
<author>
<firstname>Richard</firstname>
<surname>Henderson</surname>
......@@ -530,25 +533,21 @@ is called.
GNU
</publishername>
</publisher>
<biblioid>
<ulink url="http://gcc.gnu.org/ml/gcc-patches/2001-03/msg00661.html">
</ulink>
</biblioid>
</biblioentry>
</biblioentry>
<biblioentry>
<title>
Appendix E: Standard-Library Exception Safety
</title>
<biblioid class="uri">
<ulink url="http://www.research.att.com/~bs/3rd_safe.pdf">
<citetitle>
Appendix E: Standard-Library Exception Safety
</citetitle>
</ulink>
</biblioid>
<author>
<firstname>Bjarne</firstname>
<surname>Stroustrup</surname>
</author>
<biblioid>
<ulink url="http://www.research.att.com/~bs/3rd_safe.pdf">
</ulink>
</biblioid>
</biblioentry>
</biblioentry>
<biblioentry>
<title>
......@@ -561,18 +560,17 @@ is called.
<firstname>Herb</firstname>
<surname>Sutter</surname>
</author>
</biblioentry>
</biblioentry>
<biblioentry>
<title>
exception_defines.h #defines try/catch
</title>
<subtitle>
GCC Bug <ulink url="http://gcc.gnu.org/PR25191">25191</ulink>
</subtitle>
<biblioid>
<biblioid class="uri">
<ulink url="http://gcc.gnu.org/PR25191">
<citetitle>
GCC Bug 25191: exception_defines.h #defines try/catch
</citetitle>
</ulink>
</biblioid>
</biblioentry>
</biblioentry>
</bibliography>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment