Commit Graph

4777 Commits

Author SHA1 Message Date
Mike Gresens
5ec71cfd33
Merge pull request #307 from octopus-prime/optional_attribute
optional_attribute
2017-12-04 11:37:51 +01:00
Nikita Kniazev
1265ee169c
Merge pull request #120 from mlang/x3/implicit
X3: Make use of implicit constructibility.
2017-12-03 15:45:05 +03:00
Nikita Kniazev
deab0a2613
Merge pull request #109 from mlang/x3/repeat-kleene-auto
auto makes this simpler.
2017-12-03 15:25:36 +03:00
Nikita Kniazev
601aca2f99
Merge pull request #308 from Kojoley/workaround-x3-msvc-14.0-problems
X3: Workaround VS2015 bugs
2017-12-03 01:15:49 +03:00
Nikita Kniazev
6d6f40c3e5 X3: Workaround VS2015 rvalue ref in template of noexcept expression bug
error C2057: expected constant expression
2017-12-02 18:20:07 +03:00
Nikita Kniazev
8e343697ad X3: Workaround VS2015 aliased namespace in lambda bug 2017-12-02 18:20:06 +03:00
Nikita Kniazev
a30e517b1e X3: Workaround VS2015 decltype in function arguments bug
Thanks @hia3 for the c51a01 workaround.
2017-12-02 18:20:02 +03:00
octopus-prime
c3a83ce083 optional_attribute 2017-12-01 19:10:20 +01:00
octopus-prime
0dd6e531c8 Cleaned up 2017-12-01 15:05:44 +01:00
octopus-prime
646bce6ce7 Merged and added more tests. 2017-12-01 13:04:36 +01:00
Nikita Kniazev
9fc87a8d21
Merge pull request #297 from think-cell/thinkcell_uint_parser_overflow
fix uint_parser<T(signed)> overflow problem
2017-12-01 13:43:43 +03:00
Nikita Kniazev
c40e6742a0
Merge pull request #303 from Kojoley/fix-classic-file_iterator-truncation-warning
Classic: file_iterator.ipp: Fixed truncation warning
2017-12-01 13:43:00 +03:00
Nikita Kniazev
80414bc688 fix qi::uint_parser<T(signed)> overflow problem 2017-12-01 03:36:33 +03:00
Nikita Kniazev
59f9648a54 Classic: file_iterator.ipp: Fixed truncation warning 2017-12-01 03:22:19 +03:00
Nikita Kniazev
7422ab0682
Merge pull request #252 from jeking3/ignore-unused
silence coverity discovery of ignored return code from at_end
2017-11-30 03:58:24 +03:00
Nikita Kniazev
85f37c9d8a
Merge pull request #302 from Kojoley/tests-x3-add-feature-checks
X3.Tests: Add c++14 feature checks
2017-11-29 13:50:33 +03:00
Nikita Kniazev
0c27beaa38 X3.Tests: Add c++14 feature checks 2017-11-28 19:33:28 +03:00
Nikita Kniazev
a6823e5cb8
Merge pull request #291 from Kojoley/add-travis-ci
Add Travis-CI
2017-11-28 16:20:53 +03:00
Nikita Kniazev
c637817dad Add Travis-CI 2017-11-28 03:55:29 +03:00
Nikita Kniazev
596079647b
Tests.Lex: Fixed dependencies race
It looks like `<implicit-dependency>` does not actually work.
2017-11-28 03:54:44 +03:00
Nikita Kniazev
b05da55327
Merge pull request #299 from Kojoley/improve-tests
Tests: Improve tests
2017-11-28 03:15:24 +03:00
Nikita Kniazev
0917fca9fd Tests: Improve tests
- Split Spirit v2 tests
  - Readd missing v2 tests
  - Run X3 tests
  - Remove `-p3` suffix
  - Use `<c++-template-depth>`
  - Automatic adding of subproject name prefix
  - Flatten tests declaration
2017-11-28 03:10:20 +03:00
Han Wang
b8b82630ac fix x3::uint_parser<T(signed)> overflow problem
According to spirit document,

  "All numeric parsers check for overflow conditions based on the type T the corresponding uint_parser<> has been instantiated with. If the parsed number overflows this type the parsing fails. Please be aware that the overflow check is not based on the type of the supplied attribute but solely depends on the template parameter T."

the valid input range of x3::uint_parser<T> should be 0 - std::numeric_limits<T>::max(). However, the current implementation takes values from std::numeric_limits<T>::max()+1 - std::numeric_limits<std::make_unsigned_t<T>>::max() also as valid input.
2017-11-27 17:47:10 +01:00
Nikita Kniazev
9e341a9c3b
Merge pull request #296 from Kojoley/add-local-explicit-failures-markup
Define test categories
2017-11-27 01:25:25 +03:00
Nikita Kniazev
b61df4c948 Define test categories 2017-11-27 01:20:47 +03:00
Nikita Kniazev
3736fecd2d Added local explicit-failures-markup.xml 2017-11-27 01:19:28 +03:00
Nikita Kniazev
12dcc31dae
Merge pull request #293 from boostorg/revert-290-split-tests
Revert "Split Spirit v2 tests"
2017-11-26 14:53:17 +03:00
Nikita Kniazev
9c2d6dec93
Revert "Split Spirit v2 tests" 2017-11-26 14:45:39 +03:00
Nikita Kniazev
8e95b768da
Merge pull request #292 from Kojoley/fix-warnings-from-newly-added-tests
Qi.Tests: grammar_fail, rule_fail: Fixed unused variable warnings
2017-11-25 19:01:42 +03:00
Nikita Kniazev
5e2c3f4f9a Qi.Tests: grammar_fail, rule_fail: Fixed unused variable warnings 2017-11-25 19:01:04 +03:00
Nikita Kniazev
cc9e4a83cb
Merge pull request #290 from Kojoley/split-tests
Split Spirit v2 tests
2017-11-25 17:17:32 +03:00
Nikita Kniazev
a21b0b33f5 Split Spirit v2 tests 2017-11-25 14:40:54 +03:00
Joel de Guzman
1efce2930e
Merge pull request #289 from octopus-prime/parse_into_associative_containers
Parse into associative containers
2017-11-24 16:35:55 +08:00
octopus-prime
bc2cf3112b Enabled tests for container support 2017-11-24 09:01:56 +01:00
octopus-prime
6908307132 Replaced tab by spaces. 2017-11-23 15:40:21 +01:00
octopus-prime
74f67517c3 Bugfix and tests for issue #287 "x3 cannot parse into associative
containers anymore".
2017-11-23 15:26:28 +01:00
octopus-prime
b5d2df22ba Merge branch 'develop' of https://github.com/boostorg/spirit into develop 2017-11-23 14:42:02 +01:00
Nikita Kniazev
02ee49067e
Merge pull request #288 from hkaiser/develop
Fix scary warning in hold_any
2017-11-22 21:35:45 +03:00
Hartmut Kaiser
0854b45b6a Fix scary warning in hold_any 2017-11-22 09:58:47 -06:00
Joel de Guzman
2a6e8f73ed
Merge pull request #284 from Kojoley/fix-subrule-use-after-scope
subrule: Fixed a huge use after scope bug
2017-11-22 07:26:42 +08:00
Nikita Kniazev
5ba6bd8f90
Merge pull request #285 from Kojoley/fix-warnings
Fixed bunch of warnings
2017-11-21 19:56:16 +03:00
Nikita Kniazev
f67fcd0e95 Fixed nested comment is not allowed warning from intel compiler 2017-11-21 19:49:38 +03:00
Nikita Kniazev
b360b5f4ed Classic.Tests: mix_and_match_trees: ‘begin’ and ‘end’ are used uninitialized 2017-11-21 19:49:37 +03:00
Nikita Kniazev
a4c9940658 X3.Tests: symbol3: Extra semicolon warning 2017-11-21 19:49:37 +03:00
Nikita Kniazev
dd95a89c8b X3.Tests: expect: Suppress operator precedence warnings 2017-11-21 19:49:37 +03:00
Nikita Kniazev
39618ddced X3.Tests: binary: Fixed unused variable warnings 2017-11-21 19:49:37 +03:00
Nikita Kniazev
519f9db94b Qi.Tests: real: Fixed accumulator type 2017-11-21 19:49:37 +03:00
Nikita Kniazev
fdb56edbc8 Classic: Fixed forcing value to bool warning
The warning even removed from MSVC 2017
2017-11-21 19:49:37 +03:00
Nikita Kniazev
4e700fe285 Qi: stream: Fixed truncation warning 2017-11-21 19:49:37 +03:00
Nikita Kniazev
d3cc71002c Fixed redundant semicolons 2017-11-21 19:49:37 +03:00