Commit Graph

4777 Commits

Author SHA1 Message Date
djowel
d98a785093 Merge branch 'Some-Tutorials' into develop 2018-02-21 10:50:07 +08:00
Nikita Kniazev
f41e80a719
Merge pull request #364 from boostorg/develop
Prepare Boost 1.67 release
2018-02-20 21:17:00 +03:00
Nikita Kniazev
f324a80d83 Bump version and update changelog [skip ci] 2018-02-20 21:14:37 +03:00
Nikita Kniazev
55431dbc28
Merge pull request #362 from boostorg/update-readme
Extend README with info of Spirit libraries
2018-02-20 01:23:09 +03:00
Nikita Kniazev
d71a33a2be Extend README with Spirit versions info [skip ci] 2018-02-20 01:21:46 +03:00
Nikita Kniazev
2f62ea64f6
Merge pull request #361 from Kojoley/hold_any-copy-assignment
Added missing copy assignment operator
2018-02-18 20:36:46 +03:00
Nikita Kniazev
8a29b4c574 Added missing copy assignment operator
Closes trac #8268
2018-02-18 03:10:45 +03:00
Nikita Kniazev
fb1092c8bb
Merge pull request #360 from Kojoley/doc-repository-and-x3-builds
Include Repository and X3 docs in doc builds
2018-02-18 02:54:58 +03:00
Nikita Kniazev
37bcfced65
Merge pull request #358 from Kojoley/add-some-asserts-to-real-parsers
Added some asserts to real parsers
2018-02-15 21:36:19 +03:00
Nikita Kniazev
895ffc6ebf Doc: Add X3 link on the main page and adjust version info 2018-02-15 19:42:02 +03:00
Nikita Kniazev
f769fb38f6
Merge pull request #359 from Kojoley/nonterminal-doc-fixes
Nonterminal doc fixes
2018-02-15 19:17:39 +03:00
Nikita Kniazev
200a22d6e6 Doc: Enable building of Repository and X3 docs 2018-02-15 19:14:48 +03:00
Nikita Kniazev
da97acdddc Doc: Fixed X3 version macro name 2018-02-15 19:13:54 +03:00
Nikita Kniazev
835d76b1d7 Doc: Fixed import paths 2018-02-15 19:13:22 +03:00
Nikita Kniazev
490371c46a Doc: Added a note about default Nonterminal's Signature value 2018-02-14 23:38:12 +03:00
Nikita Kniazev
517912b114 Doc: Fixed wrong Nonterminal's sig_type description 2018-02-14 21:23:05 +03:00
Nikita Kniazev
4326c0f097 Doc: Karma Nonterminal was called as rule 2018-02-14 20:55:55 +03:00
Nikita Kniazev
7ba702ff8f Added some asserts to real parsers
Should prevent static analyzer false-positives.
2018-02-14 19:48:38 +03:00
Nikita Kniazev
4d75886c7a
Merge pull request #353 from kuhlenough/develop
toupper() may not be a macro
2018-02-14 15:26:08 +03:00
Nikita Kniazev
e9e3c35e10
Merge pull request #355 from timangus/develop
X3: Use traits to test if container is empty
2018-01-25 01:50:45 +03:00
Tim Angus
3d04ba605f Use traits to detect test container is empty 2018-01-24 17:27:51 +00:00
Brian Kuhl
19fa9074d7
toupper() may not be a macro
.. and in the Dinkum STL shipped with VxWorks it's an inline function.
2018-01-16 10:09:48 -05:00
Nikita Kniazev
1e4316d719
Merge pull request #351 from oracleoftroy/develop
Prevent parse_nan() from dereferencing out of range iterator
2018-01-06 02:20:55 +03:00
Marc Gallagher
ea57c257f6 Prevent parse_nan() from dereferencing out of range iterator 2018-01-04 15:29:32 -08:00
Nikita Kniazev
54d5ea1ea8
Merge pull request #345 from DanielaE/fix/no-iterator-inheritance
Inheriting std::iterator is deprecated in c++17
2018-01-01 19:49:28 +03:00
Nikita Kniazev
1433de2fe3 X3: Remove unused function_types includes 2017-12-30 20:52:38 +03:00
Nikita Kniazev
49587ff7a0
Merge pull request #340 from Kojoley/x3-deref-view-instead-of-unwrap-seq
X3: Dereference a single item view instead of unwrapping sequence
2017-12-30 02:50:03 +03:00
Daniela Engert
8edbebe8b3
Inheriting std::iterator is deprecated in c++17
Boost's iterator.hpp is deprecated, too. It does nothing but pulling std::iterator into namespace boost and including standard headers 'iterator' and 'cstddef'. Therefore get rid of all of that and replace inheritance by lifting std::iterator's members into the derived class.
2017-12-29 19:35:56 +01:00
Nikita Kniazev
0887e25568 X3: Check passed attribute type 2017-12-29 20:44:36 +03:00
Nikita Kniazev
ddcdafbe95
Merge pull request #344 from Kojoley/tests-lex-token_moretypes-use-optional
Lex.Tests: token_moretypes: Use optional
2017-12-27 19:08:13 +03:00
Nikita Kniazev
160dee1799 Do not use extended initializer lists 2017-12-26 16:25:54 +03:00
Nikita Kniazev
2d2c05c1ae Qi: Mirror char_range boundaries tests from #147 2017-12-26 15:28:14 +03:00
Nikita Kniazev
a9eab0ef78 Lex.Tests: token_moretypes: Use optional
Simplifies values declaration and fixes warnings.
2017-12-26 15:27:34 +03:00
Nikita Kniazev
e2a13c6a2c
Fusion now should compatible with Clang 3.0 C++11
ref boostorg/fusion#166
2017-12-25 18:29:26 +03:00
Nikita Kniazev
cf1e9a883b
Mark MinGW GCC 4.6 as unusable
../boost/proto/transform/call.hpp:246: internal compiler error: Segmentation fault
2017-12-24 01:13:40 +03:00
Nikita Kniazev
681db787d8
X3: expect: Fix multiple specializations match
.\boost/spirit/home/x3/core/detail/parse_into_container.hpp(299): error C2752: 'boost::spirit::x3::detail::parse_into_container_impl<Parser,Context,RContext,void>': more than one partial specialization matches the template argument list
2017-12-23 03:43:53 +03:00
Nikita Kniazev
3ae9e29184
Merge pull request #152 from vogelsgesang/fix_expect_container_parsing
X3: Fix expect directive's handling of container attributes
2017-12-23 03:12:39 +03:00
Nikita Kniazev
49dc687823 Qi.Doc: Fixed bool policies signature
Closes https://svn.boost.org/trac10/ticket/7638. Credits to @K-ballo.
2017-12-22 22:52:06 +03:00
Nikita Kniazev
5bd4d10619 X3: Dereference a single item view instead of unwrapping sequence
A single item sequences like `fusion::vector<T>` will be passed through,
while fusion iterators, fusion iterator range or view of size one will
be dereferenced before passing to underlying parsers of sequence parser.
2017-12-22 18:08:39 +03:00
Nikita Kniazev
6cd3d3a08f fix sequence partitioning problem (reverted from commit a8e391bd99) 2017-12-22 18:02:47 +03:00
Nikita Kniazev
72c049499f X3: Return back omit tests 2017-12-22 02:10:02 +03:00
Nikita Kniazev
12c79e2b2e Classic: Increment scanner through iterator policy
Closes https://svn.boost.org/trac10/ticket/7371

The trac ticket author was right and left unnoticed for 5 years.
2017-12-21 02:53:07 +03:00
Nikita Kniazev
9bdbf6bd2b X3: Fixed iterator move_to to single item sequence
This affects lazy attribute constructing parsers, which exposes not an actual
attribute, but a pair of iterators (like `string` or `attr("...")`).
2017-12-21 01:55:51 +03:00
Nikita Kniazev
620d5494b6
Tweak Appveyor cache zipping parameters 2017-12-19 01:38:07 +03:00
Nikita Kniazev
f660e616af
Mark some compilers as unusable. Closes #332
MSVC 7.1: fusion::fold
clang 3.0 c++11: fusion::vector
clang 3.1 c++11: spirit::lex
2017-12-18 18:58:54 +03:00
Nikita Kniazev
fa771b62d6
Merge pull request #330 from Kojoley/x3-reenable-fusion_map-support
X3: Reenable fusion::map support
2017-12-18 18:51:48 +03:00
Nikita Kniazev
62d604603c
Merge pull request #331 from Kojoley/boost-foreach
Remove unused `boost/foreach.hpp` includes
2017-12-18 18:51:32 +03:00
Nikita Kniazev
7fdc4d2460
Merge pull request #333 from Kojoley/fix-karma-binary2-overflow
Karma.Tests: Fixed overflow in binary tests
2017-12-18 18:51:02 +03:00
Nikita Kniazev
b24f0ca9c9
Merge pull request #335 from Kojoley/classic-unused-parameter-warnings
Classic: Fixed unused parameter warnings
2017-12-18 18:49:15 +03:00
Nikita Kniazev
9e20a58f0c
Add note about phoenix v2 removal 2017-12-18 18:45:28 +03:00