Commit graph

46441 commits

Author SHA1 Message Date
Antony Polukhin
774fd3decc Get rid of Boost.Variant hand written non-usable move emulation and use Boost.Move instead (refs #7601). This commit does not make Boost.Variant use move emulated assignments in all situations, but at least removes duplicate/non-working code and makes sure that Boost.Variant is able to work with boost::move (one step closer to full support of rvalue references emulations).
[SVN r85159]
2013-07-25 13:19:50 +00:00
Antony Polukhin
0f2ebc9e7b Slightly change file and test names from r85152 to better reflect test (refs #6999)
[SVN r85158]
2013-07-25 08:56:08 +00:00
Oliver Kowalke
82d0fb02a1 coroutine: fix unit-test (error_code + errc)
[SVN r85156]
2013-07-25 07:21:21 +00:00
John Maddock
6bad66d7ea Apply patch from #8647.
Fixes #8647.

[SVN r85154]
2013-07-24 17:19:05 +00:00
Oliver Kowalke
e3674af531 coroutine: documentation updated
[SVN r85153]
2013-07-24 16:29:09 +00:00
Antony Polukhin
0eac98db72 Added some more C++11 tests for Boost.Any (refs #6999)
[SVN r85152]
2013-07-24 15:33:51 +00:00
Barend Gehrels
1d93fac7f7 [geometry][extension] adapted nsphere/within to new distance strategy structure
[SVN r85150]
2013-07-24 13:14:00 +00:00
Antony Polukhin
7defc380e5 Fix warnings in lexical_cast found by Boost Inspection program (copyrights restored according to svn history, license text replaced with license name and link to it)
[SVN r85149]
2013-07-24 08:46:08 +00:00
Daniel James
043e9bacd6 Restore Andrii Sydorchuk to maintainers, and alphabetical order.
[SVN r85147]
2013-07-24 08:35:07 +00:00
Matthias Troyer
1ecf92972d Fixed #8881
[SVN r85144]
2013-07-23 23:06:01 +00:00
Daniel James
0e3ffeb59e Remove duplicate function_types entry from maintainers.txt
[SVN r85143]
2013-07-23 22:10:06 +00:00
Barend Gehrels
cbfdfe57a5 [geometry] fixed bug of MSVC. It apparently cannot pass function pointers of template functions by reference (with non-template, it could...)
[SVN r85142]
2013-07-23 21:18:09 +00:00
Barend Gehrels
6da11d1ed2 [geometry] fixed bug of MSVC. This provable bug is postponed by MSVC. See https://connect.microsoft.com/VisualStudio/feedback/details/715626/msvc-needs-namespace-even-if-it-is-hoisted#
[SVN r85141]
2013-07-23 21:11:38 +00:00
Barend Gehrels
4a344bde29 [geometry] fixed pythagoras calculation for Windows (MSVC), the problem was that std::sqrt(int) is ambiguous. Previous version did it in two steps, we now use boost::numeric_cast
[SVN r85140]
2013-07-23 21:03:35 +00:00
Oliver Kowalke
4ef30dbc4a coroutine: coroutine_error + coroutine_errc
[SVN r85139]
2013-07-23 19:49:38 +00:00
John Maddock
8615802ac2 Define BOOST_HAS_STDINT_H for PGI on Linux.
Fixes #6724.

[SVN r85138]
2013-07-23 17:40:15 +00:00
John Maddock
0315ff0599 Apply patches from #8753.
Fixes #8753.

[SVN r85137]
2013-07-23 17:32:10 +00:00
John Maddock
d0cf146511 Use underscores in attribute names.
Fixes #8849.

[SVN r85136]
2013-07-23 17:26:41 +00:00
John Maddock
40eb3c12ff Fix type of std::string::find_first_not_of to suppress warnings.
[SVN r85135]
2013-07-23 17:07:27 +00:00
Antony Polukhin
c30c2e1b50 Fix errors in circular_buffer tests(refs #7888).
[SVN r85133]
2013-07-23 16:06:38 +00:00
John Maddock
62a6e7ff17 Fix gcc-4.8.x warning.
[SVN r85132]
2013-07-23 14:43:17 +00:00
John Maddock
1d762d6f35 Fix gcc-4.8.x warnings.
Fix some Mingw failures.
Fixes #8855.

[SVN r85131]
2013-07-23 11:09:47 +00:00
Daniel James
dc8389421d Expand all phrase templates inline, even if they contain blocks.
Hopefully more intuitive than turning what looks like a phrase into
a block.

[SVN r85130]
2013-07-23 08:23:29 +00:00
Daniel James
fc458f6fe0 Single state saver.
It's always okay to save `template_depth` and `min_section_level`
because they only change at template calls, and template calls are
always cleanly nested.

[SVN r85129]
2013-07-23 08:23:07 +00:00
Daniel James
61a1323db0 Disallow paragraph/list markup in phrase templates.
Can still use block tags.

[SVN r85128]
2013-07-23 08:22:49 +00:00
Daniel James
bdcd33ac09 Allow block markup in phrase templates.
[SVN r85127]
2013-07-23 08:22:26 +00:00
Daniel James
95505b8c98 Allow block markup inside nested blocks (e.g. tables)
Since this is often indented, does not treat indented blocks as code
blocks. This is inconsistent for lists, so maybe indented blocks in
lists should always be code, or never be code. Or maybe it should be a
bit smarter about nested indented blocks.

[SVN r85126]
2013-07-23 08:21:56 +00:00
Daniel James
4b03d1070b Copy old template tests to new version.
[SVN r85125]
2013-07-23 08:21:32 +00:00
Eric Niebler
0dd4aaa26c rename average to fdiv, refs #8262
[SVN r85124]
2013-07-23 06:28:54 +00:00
Eric Niebler
ad5d986ccd silly typos, refs #7915
[SVN r85123]
2013-07-23 05:13:22 +00:00
Eric Niebler
b44c28d92c fix msvc warning, refs #8850
[SVN r85122]
2013-07-23 04:56:21 +00:00
Eric Niebler
f3d62e5c5a make xpressive play nice with clang's -Wimplicit-fallthrough diagnostic, refs #8474
[SVN r85121]
2013-07-23 04:46:55 +00:00
Eric Niebler
0abc7ef2c7 use RAII instead of try/catch in sequence_stack.hpp, refs #8882
[SVN r85120]
2013-07-23 04:03:37 +00:00
Eric Niebler
7a15eb0bfc remove unused local typedef, refs #8880
[SVN r85119]
2013-07-23 03:26:30 +00:00
Eric Niebler
6081c4459d throw instead of assert at incomplete charset, refs #8843
[SVN r85118]
2013-07-23 03:22:01 +00:00
Daniel James
62f19ac3f4 Error if phrase element body doesn't parse.
[SVN r85117]
2013-07-22 19:34:32 +00:00
Daniel James
7441749f71 Error if element used in incorrect context.
Should be less suprising than just not processing them. Needs more tests.

[SVN r85116]
2013-07-22 19:34:03 +00:00
Daniel James
1a4d178b2d Better element handling in syntactic_block_item.
Now all elements are handled within local.common.

[SVN r85115]
2013-07-22 19:33:38 +00:00
Daniel James
ede5e9b465 Rename some local variables.
Just to reduce confusion between the paragraph rule and the paragraph
action. Should possibly do this for all such local variables. I'll see
how it goes.

[SVN r85114]
2013-07-22 19:33:21 +00:00
Daniel James
7c769034be Rename a few grammar wide variables.
Partly for clarity, and partly because there are too many things called
'block' and 'phrase'. The grammar names aren't great, but at least they
match. Might rething once I've done a lot of the 1.7 things.

[SVN r85113]
2013-07-22 19:33:05 +00:00
Daniel James
9f324c7995 Use a value in local for context.
[SVN r85112]
2013-07-22 19:32:43 +00:00
Daniel James
d9a6586a27 Use a value in local for still_in_block.
Allows `paragraph_item` and `list_item` to be merged into a single rule.

[SVN r85111]
2013-07-22 19:32:21 +00:00
Daniel James
a91b41a83e Use a value in local for simple_markup's mark.
Feels a little better to me. Although it isn't as stronly associated with the
rule.

[SVN r85110]
2013-07-22 19:32:05 +00:00
Daniel James
7d8e4d238b Generic 'scoped_no_eols' implementation.
So that it can be reused for other state variables.

[SVN r85109]
2013-07-22 19:31:48 +00:00
Eric Niebler
70acc745f6 revert previous hasty change
[SVN r85108]
2013-07-22 17:03:01 +00:00
Eric Niebler
500c1b83a5 first and second function objects use poly_function to get return types correct
[SVN r85107]
2013-07-22 16:24:16 +00:00
Marshall Clow
cc96cbda96 Removed unused typedef; Refs #8546
[SVN r85106]
2013-07-22 15:46:43 +00:00
Oliver Kowalke
08d089e682 coroutine: update of interface
[SVN r85105]
2013-07-22 15:03:42 +00:00
Antony Polukhin
c71dbece97 Unify behavior of is_copy_constructible triat when dealing with rvalues + add comments for some tests (refs #8802):
[SVN r85104]
2013-07-22 12:51:09 +00:00
John Maddock
46bcc76adb Fix Thomas Luu's approximation.
[SVN r85103]
2013-07-22 11:50:26 +00:00