spirit_3_0_4.html 8.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118
  1. <html>
  2. <head>
  3. <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
  4. <title>Spirit V3.0.4 (Boost V1.70.0)</title>
  5. <link rel="stylesheet" href="../../../../../../../doc/src/boostbook.css" type="text/css">
  6. <meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
  7. <link rel="home" href="../../index.html" title="Spirit X3 3.0.4">
  8. <link rel="up" href="../changelog.html" title="Changelog">
  9. <link rel="prev" href="../changelog.html" title="Changelog">
  10. <link rel="next" href="spirit_3_0_3.html" title="Spirit V3.0.3 (Boost V1.69.0)">
  11. </head>
  12. <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
  13. <table cellpadding="2" width="100%"><tr>
  14. <td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../../../boost.png"></td>
  15. <td align="center"><a href="../../../../../../../index.html">Home</a></td>
  16. <td align="center"><a href="../../../../../../../libs/libraries.htm">Libraries</a></td>
  17. <td align="center"><a href="http://www.boost.org/users/people.html">People</a></td>
  18. <td align="center"><a href="http://www.boost.org/users/faq.html">FAQ</a></td>
  19. <td align="center"><a href="../../../../../../../more/index.htm">More</a></td>
  20. </tr></table>
  21. <hr>
  22. <div class="spirit-nav">
  23. <a accesskey="p" href="../changelog.html"><img src="../../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../changelog.html"><img src="../../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="spirit_3_0_3.html"><img src="../../../../../../../doc/src/images/next.png" alt="Next"></a>
  24. </div>
  25. <div class="section">
  26. <div class="titlepage"><div><div><h3 class="title">
  27. <a name="spirit_x3.changelog.spirit_3_0_4"></a><a class="link" href="spirit_3_0_4.html" title="Spirit V3.0.4 (Boost V1.70.0)">Spirit V3.0.4 (Boost
  28. V1.70.0)</a>
  29. </h3></div></div></div>
  30. <div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; ">
  31. <li class="listitem">
  32. Integer parsers should now handle user defined types. <a href="https://github.com/boostorg/spirit/pull/429" target="_top">GH#429</a>
  33. </li>
  34. <li class="listitem">
  35. <span class="bold"><strong>Note:</strong></span> The <code class="computeroutput"><span class="identifier">check_overflow</span></code>
  36. trait default implementation now relies on <code class="computeroutput"><span class="identifier">std</span><span class="special">::</span><span class="identifier">numeric_limits</span><span class="special">&lt;</span><span class="identifier">T</span><span class="special">&gt;::</span><span class="identifier">is_bounded</span></code>
  37. instead of <code class="computeroutput"><span class="identifier">boost</span><span class="special">::</span><span class="identifier">integer_traits</span><span class="special">&lt;</span><span class="identifier">T</span><span class="special">&gt;::</span><span class="identifier">is_integral</span></code>.
  38. </li>
  39. <li class="listitem">
  40. Removed use of deprecated <code class="computeroutput"><span class="identifier">boost</span><span class="special">/</span><span class="identifier">detail</span><span class="special">/</span><span class="identifier">iterator</span><span class="special">.</span><span class="identifier">hpp</span></code>
  41. header. <a href="https://github.com/boostorg/spirit/pull/432" target="_top">GH#432</a>
  42. </li>
  43. <li class="listitem">
  44. Removed sequence into plain parsing. Now it triggers a compile time error
  45. instead of silently parsing the the sequence and taking the last value
  46. as a result. <a href="https://github.com/boostorg/spirit/pull/439" target="_top">GH#439</a>
  47. </li>
  48. <li class="listitem">
  49. Fixed <code class="computeroutput"><span class="identifier">parse_rule</span></code> instantiation
  50. with <code class="computeroutput"><span class="identifier">BOOST_SPIRIT_INSTANTIATE</span></code>
  51. when:
  52. <div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: circle; ">
  53. <li class="listitem">
  54. A rule has no attribute. <a href="https://github.com/boostorg/spirit/pull/455" target="_top">GH#455</a>
  55. </li>
  56. <li class="listitem">
  57. An actual attribute is not of type a rule was declared with. <a href="https://github.com/boostorg/spirit/pull/456" target="_top">GH#456</a> <a href="https://github.com/boostorg/spirit/issues/457" target="_top">GH#457</a>
  58. </li>
  59. </ul></div>
  60. </li>
  61. <li class="listitem">
  62. A <span class="bold"><strong>huge</strong></span> thanks goes out to <a href="https://github.com/Xeverous" target="_top">Xeverous</a>
  63. for reporting a regression in <a href="https://github.com/boostorg/spirit/issues/453" target="_top">GH#453</a>.
  64. </li>
  65. <li class="listitem">
  66. Fixed unneded attribute synthesization and no-transformation attribute
  67. reference pass-through in rules. <a href="https://github.com/boostorg/spirit/issues/444" target="_top">GH#444</a> <a href="https://github.com/boostorg/spirit/pull/449" target="_top">GH#449</a> <a href="https://github.com/boostorg/spirit/pull/452" target="_top">GH#452</a>
  68. </li>
  69. <li class="listitem">
  70. Removed broken 1.0#INF parser. It was poorly documented and never worked.
  71. <a href="https://github.com/boostorg/spirit/issues/415" target="_top">GH#415</a> <a href="https://github.com/boostorg/spirit/pull/458" target="_top">GH#458</a> <a href="https://svn.boost.org/trac/boost/ticket/8699" target="_top">TRAC#8699</a>
  72. </li>
  73. <li class="listitem">
  74. The undocumented <code class="computeroutput"><span class="identifier">make_attribute</span></code>
  75. trait was removed due to bugs <a href="https://github.com/boostorg/spirit/pull/449" target="_top">GH#449</a>
  76. and to simplify attribute transformation.
  77. <a href="https://github.com/boostorg/spirit/pull/460" target="_top">GH#460</a>
  78. </li>
  79. <li class="listitem">
  80. If you were using it to workaround bugs in attribute transformation -
  81. they should not be needed anymore as of this release.
  82. </li>
  83. <li class="listitem">
  84. The integer value parser now respects <code class="computeroutput"><span class="identifier">std</span><span class="special">::</span><span class="identifier">numeric_limits</span><span class="special">&lt;</span><span class="identifier">T</span><span class="special">&gt;::</span><span class="identifier">digits10</span></code>
  85. value. <a href="https://github.com/boostorg/spirit/pull/469" target="_top">GH#469</a>
  86. </li>
  87. <li class="listitem">
  88. Fixed underflow check for a <code class="computeroutput"><span class="special">(</span><span class="identifier">Min</span> <span class="special">%</span> <span class="identifier">Base</span><span class="special">)</span> <span class="special">==</span> <span class="number">0</span></code> corner
  89. case. <a href="https://github.com/boostorg/spirit/pull/469" target="_top">GH#469</a>
  90. </li>
  91. <li class="listitem">
  92. Fixed an output value on overflow of <code class="computeroutput"><span class="identifier">IgnoreOverflowDigits</span><span class="special">=</span><span class="keyword">true</span></code>
  93. integer parser. <a href="https://github.com/boostorg/spirit/pull/470" target="_top">GH#470</a>
  94. </li>
  95. <li class="listitem">
  96. Container attribute elements were copyied, but not moved. <a href="https://github.com/boostorg/spirit/pull/472" target="_top">GH#472</a>
  97. </li>
  98. <li class="listitem">
  99. Special handling of references in <code class="computeroutput"><span class="identifier">transform_attribute</span></code>
  100. was removed. <a href="https://github.com/boostorg/spirit/pull/480" target="_top">GH#480</a>
  101. </li>
  102. </ul></div>
  103. </div>
  104. <table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
  105. <td align="left"></td>
  106. <td align="right"><div class="copyright-footer">Copyright &#169; 2001-2018 Joel de Guzman,
  107. Hartmut Kaiser<p>
  108. Distributed under the Boost Software License, Version 1.0. (See accompanying
  109. file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)
  110. </p>
  111. </div></td>
  112. </tr></table>
  113. <hr>
  114. <div class="spirit-nav">
  115. <a accesskey="p" href="../changelog.html"><img src="../../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../changelog.html"><img src="../../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="spirit_3_0_3.html"><img src="../../../../../../../doc/src/images/next.png" alt="Next"></a>
  116. </div>
  117. </body>
  118. </html>