Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r83177 - in website/public_html/beta: feed/history site-tools/boost_site
From: dnljms_at_[hidden]
Date: 2013-02-27 03:43:46


Author: danieljames
Date: 2013-02-27 03:43:45 EST (Wed, 27 Feb 2013)
New Revision: 83177
URL: http://svn.boost.org/trac/boost/changeset/83177

Log:
Website: Support bold in boostbook to html conversion.

And update old release notes to still use italic.

Text files modified:
   website/public_html/beta/feed/history/boost_1_33_1.qbk | 2 +-
   website/public_html/beta/feed/history/boost_1_34_0.qbk | 2 +-
   website/public_html/beta/feed/history/boost_1_38_0.qbk | 2 +-
   website/public_html/beta/feed/history/boost_1_52_0.qbk | 24 ++++++++++++------------
   website/public_html/beta/feed/history/boost_1_53_0.qbk | 30 +++++++++++++++---------------
   website/public_html/beta/site-tools/boost_site/boostbook_parser.py | 16 +++++++++++++++-
   6 files changed, 45 insertions(+), 31 deletions(-)

Modified: website/public_html/beta/feed/history/boost_1_33_1.qbk
==============================================================================
--- website/public_html/beta/feed/history/boost_1_33_1.qbk (original)
+++ website/public_html/beta/feed/history/boost_1_33_1.qbk 2013-02-27 03:43:45 EST (Wed, 27 Feb 2013)
@@ -75,7 +75,7 @@
 compilers and platforms will work as well. For more information, see the
 [@http://www.boost.org/regression/release/user/ regression test results].
 
-[*New for this release]: Support for building with the newest STLport-5.0 was
+['New for this release]: Support for building with the newest STLport-5.0 was
 added. The support includes building with MinGW Runtime 3.8 plus STLport-5.0
 improved to support wide character operations. Apple GCC 4.0, HP Tru64 C++,
 and Microsoft Visual C++ 8.0 are supported platforms. We have added an

Modified: website/public_html/beta/feed/history/boost_1_34_0.qbk
==============================================================================
--- website/public_html/beta/feed/history/boost_1_34_0.qbk (original)
+++ website/public_html/beta/feed/history/boost_1_34_0.qbk 2013-02-27 03:43:45 EST (Wed, 27 Feb 2013)
@@ -104,7 +104,7 @@
     [@/doc/libs/1_34_0/libs/graph/doc/BidirectionalGraph.html Bidirectional Graph] concept.
   * [@/doc/libs/1_34_0/libs/graph/doc/dijkstra_shortest_paths.html `dijkstra_shortest_paths`]
     now calls `vis.initialize_vertex` for each vertex during initialization.
- * [*Note:] the name of the compiled library for the
+ * ['Note:] the name of the compiled library for the
     [@/doc/libs/1_34_0/libs/graph/doc/read_graphviz.html GraphViz reader] has changed to
     [^boost_graph] (from [^bgl-viz]) to match Boost conventions.
   * See the [@/doc/libs/1_34_0/libs/graph/doc/history.html#1.34.0 complete revision history]

Modified: website/public_html/beta/feed/history/boost_1_38_0.qbk
==============================================================================
--- website/public_html/beta/feed/history/boost_1_38_0.qbk (original)
+++ website/public_html/beta/feed/history/boost_1_38_0.qbk 2013-02-27 03:43:45 EST (Wed, 27 Feb 2013)
@@ -158,7 +158,7 @@
   * Allow 0- and 1-argument variants of `proto::or_` and `proto::and_`
 
 * [phrase library..[@/libs/regex/index.html Regex]:]
- * [*Breaking change]: empty expressions, and empty alternatives are now
+ * ['Breaking change]: empty expressions, and empty alternatives are now
   allowed when using the Perl regular expression syntax. This change has
   been added for Perl compatibility, when the new `syntax_option_type`
   ['no_empty_expressions] is set then the old behaviour is preserved and

Modified: website/public_html/beta/feed/history/boost_1_52_0.qbk
==============================================================================
--- website/public_html/beta/feed/history/boost_1_52_0.qbk (original)
+++ website/public_html/beta/feed/history/boost_1_52_0.qbk 2013-02-27 03:43:45 EST (Wed, 27 Feb 2013)
@@ -33,21 +33,21 @@
   * Define `BOOST_NO_SFINAE_EXPR` for gcc-4.4, since the support was found to be too buggy.
 
 * [phrase library..[@/libs/chrono/ Chrono]:]
- * [*New Features:]
+ * ['New Features:]
     * [ticket 5980] Enhance chrono I/O with H. Hinnant proposal [@http://home.roadrunner.com/~hinnant/bloomington/chrono_io.html proposal] which has the advantage to provide I/O for system clocks using the Gregorian Calendar.
     * [ticket 5981] Add i/o state savers for duration and time_point formatting state.
     * [ticket 7059] Add low level i/o facilities.
- * [*Deprecated features:]
+ * ['Deprecated features:]
     * The chrono i/o version included in Boost.Chrono 1.2.x has been completly refactored in version 2.0.0
     * chrono I/O: The manipulators `__duration_short`, `__duration_long` are depreceated. You should use the parameterized form `__duration_fmt` or the renamed manipulators `__duration_symbol` and `__duration_prefix` instead.
     * chrono I/O: The `__duration_punct<>` facet is deprecated. You should use the `__get_duration_style` free function to get the informations and use the `__duration_units` facet for localization purposes.
     * When `BOOST_CHRONO_VERSION==2` the preceding deprecated functions are not available.
- * [*Fixes:]
+ * ['Fixes:]
     * [ticket 7381] C++11 compliance: unresolved symbol when assigning a constexpr duration to a non-const local variable.
     * [@http://svn.boost.org/trac/boost/ticket/7479 #7479] Compile fails
       with compilers supporting constexpr fails if the standard library
       doesn't provides the constexpr interface
- * [*Would not fix:]
+ * ['Would not fix:]
     * [ticket 6871] chrono_io.hpp: `operator<<(ostream& os, ...)` modifies the state of os. The neww io interface provided in version 2 solves this issue. You should move to the new version.
 
 * [phrase library..[@/libs/container/ Container]:]
@@ -87,7 +87,7 @@
 
 * [phrase library..[@/libs/interprocess/ Interprocess]:]
   * Added `shrink_by` and `advise` functions in `mapped_region`.
- * [*ABI breaking:] Reimplemented `message_queue` with a circular buffer index (the
+ * ['ABI breaking:] Reimplemented `message_queue` with a circular buffer index (the
    old behavior used an ordered array, leading to excessive copies). This
    should greatly increase performance but breaks ABI. Old behaviour/ABI can be used
    undefining macro `BOOST_INTERPROCESS_MSG_QUEUE_CIRCULAR_INDEX` in `boost/interprocess/detail/workaround.hpp`
@@ -102,7 +102,7 @@
     * [ticket 5825] constructing function_input_iterator without consuming an
       item
     * [ticket 7194] Error in documentation of make_function_input_iterator
- * [*Breaking changes:]
+ * ['Breaking changes:]
     * Due to the fix for [ticket 5825], a function_input_iterator will no longer
       make unnecessary invokations to the wrapped nullary function. For example,
       constructing an end iterator will now not trigger an invokation; and
@@ -160,13 +160,13 @@
     for specifying the target domain of the resulting expression.
 
 * [phrase library..[@/libs/ratio/ Ratio]:]
- * [*Features:]
+ * ['Features:]
     * Replace the `short_name` and `long_name` functions by symbol and prefix functions respectively.
- * [*Deprecated:]
+ * ['Deprecated:]
     * The `ratio_string<>::short_name` and `ratio_string<>::long_name` are
       deprecated. Use `ratio_string<>::symbol` and `ratio_string<>::prefix`
       respectively. These functions be removed in 1.55.
- * [*Fixes:]
+ * ['Fixes:]
     * [@http://svn.boost.org/trac/boost/ticket/7478 #7478] Compiles
       fails with compilers supporting char16_t and char32_t fails if the
       library doesn't provides std::u16string and std::u32string.
@@ -179,18 +179,18 @@
     See [@http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2012/n3436.html n3436].
 
 * [phrase library..[@/libs/thread/index.html Thread]:]
- * [*Deprecated Features]: Deprecated features since boost 1.50 available only until boost 1.55. These deprecated features will be provided by default up to boost 1.52. If you don't want to include the deprecated features you could define BOOST_THREAD_DONT_PROVIDE_DEPRECATED_FEATURES_SINCE_V3_0_0. Since 1.53 these features will not be included any more by default. Since this version, if you want to include the deprecated features yet you could define BOOST_THREAD_PROVIDE_DEPRECATED_FEATURES_SINCE_V3_0_0. These deprecated features will be only available until boost 1.55, that is you have yet 1 year to move to the new features.
+ * ['Deprecated Features]: Deprecated features since boost 1.50 available only until boost 1.55. These deprecated features will be provided by default up to boost 1.52. If you don't want to include the deprecated features you could define BOOST_THREAD_DONT_PROVIDE_DEPRECATED_FEATURES_SINCE_V3_0_0. Since 1.53 these features will not be included any more by default. Since this version, if you want to include the deprecated features yet you could define BOOST_THREAD_PROVIDE_DEPRECATED_FEATURES_SINCE_V3_0_0. These deprecated features will be only available until boost 1.55, that is you have yet 1 year to move to the new features.
     * Time related functions don't using the Boost.Chrono library, use the chrono overloads instead.
   * Breaking changes when `BOOST_THREAD_VERSION==3` (Default value since Boost 1.53):
     There are some new features which share the same interface but with different behavior. These breaking features are provided by default when BOOST_THREAD_VERSION is 3, but the user can however choose the version 2 behavior by defining the corresponding macro. As for the deprecated features, these broken features will be only available until boost 1.55.
     * [ticket 6229] C++11 compliance & Breaking change: Rename the unique_future to future following the c++11.
     * [ticket 6266] C++11 compliance & Breaking change: thread destructor should call terminate if joinable.
     * [ticket 6269] C++11 compliance & Breaking change: thread move assignment should call terminate if joinable.
- * [*New Features:]
+ * ['New Features:]
     * [ticket 4710] C++11 compliance: Missing `async()`.
     * [ticket 7283] C++11 compliance: Add `notify_all_at_thread_exit`.
     * [ticket 7345] C++11 compliance: Add `noexcept` to recursive mutex `try_lock`.
- * [*Fixed Bugs:]
+ * ['Fixed Bugs:]
     * [ticket 2361] `thread_specific_ptr`: document nature of the key, complexity and rationale.
     * [ticket 2797] Two problems with `thread_specific_ptr`.
     * [ticket 5274] failed to compile `future.hpp` with stlport 5.1.5 under msvc8.1, because of undefined class.

Modified: website/public_html/beta/feed/history/boost_1_53_0.qbk
==============================================================================
--- website/public_html/beta/feed/history/boost_1_53_0.qbk (original)
+++ website/public_html/beta/feed/history/boost_1_53_0.qbk 2013-02-27 03:43:45 EST (Wed, 27 Feb 2013)
@@ -77,12 +77,12 @@
   * Fixed vector_of views `operator[](size_type)` and `at(size_type)` functions return value.
 
 * [phrase library..[@/libs/chrono/ Chrono]:]
- * [*Deprecated:]
+ * ['Deprecated:]
     * The chrono i/o version included in Boost.Chrono 1.2.x has been completly refactored in version 2.0.0
     * chrono I/O: The manipulators __duration_short, __duration_long are depreceated. You should use the parameterized form __duration_fmt or the renamed manipulators __duration_symbol and __duration_prefix instead.
     * chrono I/O: The __duration_punct<> facet is depreceated. You should use the __get_duration_style free function to get the informations and use the __duration_units facet for localization purposes.
     * When BOOST_CHRONO_VERSION==2 the preceding deprecated functions are not available.
- * [*Fixes:]
+ * ['Fixes:]
     * [@https://svn.boost.org/trac/boost/ticket/7546 #7546] time_point<system_clock> output version 2 fails to compile
     * [@https://svn.boost.org/trac/boost/ticket/7547 #7547] time_point<system_clock> input version 2 fails to compile
     * [@https://svn.boost.org/trac/boost/ticket/7868 #7868] chrono_io parses time incorrectly (1.53 and 1.52)
@@ -100,16 +100,16 @@
   * Support for SEH Overwrite Protection on Win32.
 
 * [phrase library..[@/libs/geometry Geometry]:]
- * [*Bugfixes]
+ * ['Bugfixes]
     * avoid generating output polygons with interior rings below minimum size (e.g. one or two points)
     * `geometry::disjoint` for degenerate segments (patched by Karsten Ahnert)
     * problem in `geometry::difference` for missing handling tangency, reported by H2
     * fixed `geometry::for_each` for use with Lambda's
     * fixed `geometry::comparable_distance` point-linestring (and -range, -polygon)
- * [*Additional functionality]
+ * ['Additional functionality]
     * combinations for `geometry::disjoint`: point/ring, point/polygon, point/multi_polygon
     * combinations for `geometry::intersects`: point/ring, point/polygon, point/multi_polygon
- * [*Internal changes]
+ * ['Internal changes]
     * updates in specializations/not_implemented for various algorithms (as in an earlier version, these changes are still going on; they take care for simplified structs, better error reporting, and automatized documentation)
     * fixes in unit tests
 
@@ -141,7 +141,7 @@
   * Fixed GCC -Wshadow warnings.
   * Experimental multiple allocation interface improved and changed again. Still unstable.
   * Replaced deprecated BOOST_NO_XXXX with newer BOOST_NO_CXX11_XXX macros.
- * [*ABI breaking]: changed node pool allocators internals for improved efficiency.
+ * ['ABI breaking]: changed node pool allocators internals for improved efficiency.
   * Fixed bug [@https://svn.boost.org/trac/boost/ticket/7795 #7795].
   
 * [phrase library..[@/libs/intrusive/ Intrusive]:]
@@ -192,11 +192,11 @@
            [@https://svn.boost.org/trac/boost/ticket/7832 #7832].
 
 * [phrase library..[@/libs/polygon/ Polygon]:]
- * [*Fixes:]
+ * ['Fixes:]
     * [ticket 6366] Bug in `boost::polygon::contains` for polygon_90 type.
     * [ticket 7678] multiple definitions of `bool boost::polygon::belongs(...)`
       by multiple `#include`.
- * [*Internal changes:]
+ * ['Internal changes:]
     * refactored point/segment/interval data/concept/traits.
     * added unit tests for point and interval data/concept/traits.
     * simplified `transform.hpp` to operate only in 2D.
@@ -206,10 +206,10 @@
   * Now compiles with exceptions disabled ([ticket 5399]).
 
 * [phrase library..[@/libs/range/ Range]:]
- * [*Bug fixes:]
+ * ['Bug fixes:]
     * [ticket 5603] the "range/any_range.hpp" header is not self-sufficient
     * [ticket 6103] boost::range_detail vs. boost::range::range_detail compiler error
- * [*Documentation fixes:]
+ * ['Documentation fixes:]
     * [ticket 5160]
     * [ticket 5314]
     * [ticket 5440]
@@ -221,14 +221,14 @@
     * [ticket 7926]
 
 * [phrase library..[@/libs/ratio/ Ratio]:]
- * [*Fixes:]
+ * ['Fixes:]
     * [@https://svn.boost.org/trac/boost/ticket/7616 #7616] br_mul::nan - warning C4293: '<<' : shift count negative or too big, undefined behavior`.
 
 * [phrase library..[@/libs/regex/ Regex]:]
    Fixed Issues: [@https://svn.boost.org/trac/boost/ticket/7744 #7744], [@https://svn.boost.org/trac/boost/ticket/7644 #7644].
 
 * [phrase library..[@/libs/smart_ptr/ Smart Pointers]:]
- * [*New Features:]
+ * ['New Features:]
     * Glen Fernandes provided implementations of make_shared and
       allocate_shared for arrays. They achieve a single allocation for an
       array that can be initialized with constructor arguments or
@@ -250,12 +250,12 @@
   * Disambiguated some calls to insert ([ticket 7346]).
 
 * [phrase library..[@/libs/thread/ Thread]:]
- * [*Deprecated features:]
+ * ['Deprecated features:]
     * Deprecated features since boost 1.53 will be available only until boost 1.58.
     * C++11 compliance: packaged_task<R> is deprecated, use instead packaged_task<R()>.
     * [@https://svn.boost.org/trac/boost/ticket/7537 #7537] deprecate Mutex::scoped_lock and scoped_try_lock and boost::condition
 
- * [*New Features:]
+ * ['New Features:]
     * [@https://svn.boost.org/trac/boost/ticket/6270 #6270] C++11 compliance: Add thread constructor from movable callable and movable arguments
     * [@https://svn.boost.org/trac/boost/ticket/7279 #7279] C++11 compliance: Add noexcept in system related functions
     * [@https://svn.boost.org/trac/boost/ticket/7280 #7280] C++11 compliance: Add promise::...at_thread_exit functions
@@ -277,7 +277,7 @@
     * [@https://svn.boost.org/trac/boost/ticket/7593 #7593] Synchro: Add a externally_locked class.
     * [@https://svn.boost.org/trac/boost/ticket/7590 #7594] Threads: Allow to disable thread interruptions.
 
- * [*Fixed Bugs:]
+ * ['Fixed Bugs:]
     * [@https://svn.boost.org/trac/boost/ticket/7464 #7464] BOOST_TEST(n_alive == 1); fails due to race condition in a regression test tool.
     * [@https://svn.boost.org/trac/boost/ticket/7657 #7657] Serious performance and memory consumption hit if condition_variable methods condition notify_one or notify_all is used repeatedly.
     * [@https://svn.boost.org/trac/boost/ticket/7665 #7665] this_thread::sleep_for no longer uses steady_clock in thread.

Modified: website/public_html/beta/site-tools/boost_site/boostbook_parser.py
==============================================================================
--- website/public_html/beta/site-tools/boost_site/boostbook_parser.py (original)
+++ website/public_html/beta/site-tools/boost_site/boostbook_parser.py 2013-02-27 03:43:45 EST (Wed, 27 Feb 2013)
@@ -170,7 +170,21 @@
             *self.x_children(node))
 
     def x_emphasis(self,node):
- return self.new_node('em',
+ role = ''
+ if node.hasAttribute('role'):
+ role = node.getAttribute('role').lower()
+
+ tags = {
+ '' : 'em',
+ 'bold' : 'strong',
+ 'strong' : 'strong'
+ }
+
+ if role not in tags:
+ print "Warning: Unknown emphasis role: " + role
+ role = ''
+
+ return self.new_node(tags[role],
             *self.x_children(node))
 
     def x_inlinemediaobject(self,node):


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