Commit Graph

201 Commits

Author SHA1 Message Date
Hartmut Kaiser
33ccba6f3a Spirit: comment fixes, minor adjustments
[SVN r70225]
2011-03-20 18:25:44 +00:00
Hartmut Kaiser
5afb701cc1 Spirit: added context to top level APIs, added docs, added tests
[SVN r69293]
2011-02-26 04:07:14 +00:00
Hartmut Kaiser
34caf28b54 Spirit: fixed karma::repeat to use the new attribute propagation scheme as well, adding tests
[SVN r69092]
2011-02-20 19:27:22 +00:00
Hartmut Kaiser
0dc2bc3fc6 Spirit: fixing a kleene/sequence attribute issue
[SVN r68852]
2011-02-13 20:43:52 +00:00
Hartmut Kaiser
3fc4ceb718 Spirit: unified handling of sequences and container components for container attributes, modified hold_any to enable streaming with wchar_t, added extract_from_container CP, fixed integral generators for const data types
[SVN r68645]
2011-02-05 03:48:49 +00:00
Steven Watanabe
2adcb7862b Revert [67111] (addition of boost/detail/iomanip.hpp) and all the commits that depend on it. ([68137], [68140], [68141], [68154], and [68165]).
[SVN r68168]
2011-01-15 08:11:51 +00:00
Hartmut Kaiser
5cca7065e8 Spirit: added explicit name() to symbols, doc fixes
[SVN r68166]
2011-01-15 02:48:46 +00:00
Bryce Adelstein-Lelbach
3d1cd1811c Replacing the use of <iomanip> with <boost/detail/iomanip.hpp> across Boost.
On Linux, GNU's libstdc++, which is the default stdlib for icc and clang,
cannot parse the <iomanip> header in version 4.5+ (which thankfully neither
compiler advises the use of yet), as it's original C++98-friendly
implementation has been replaced with a gnu++0x implementation.
<boost/detail/iomanip.hpp> is a portable implementation of <iomanip>, providing
boost::detail::setfill, boost::detail::setbase, boost::detail::setw,
boost::detail::setprecision, boost::detail::setiosflags and
boost::detail::resetiosflags. 



[SVN r68140]
2011-01-14 02:35:58 +00:00
Hartmut Kaiser
ca6b180931 Spirit: replaced proto::lit with spirit::lit
[SVN r67754]
2011-01-07 17:50:06 +00:00
Hartmut Kaiser
2b12744edf Spirit: added more tests
[SVN r67712]
2011-01-06 03:12:02 +00:00
Hartmut Kaiser
0134cd358f Spirit: added more tests
[SVN r67693]
2011-01-05 22:38:10 +00:00
Hartmut Kaiser
83a792d7ed Spirit: updating copyrights
[SVN r67619]
2011-01-03 16:58:38 +00:00
Bryce Adelstein-Lelbach
1446a3fa25 Parameterized and literal support for integer, real and boolean parsers. Fix for
lazy parser and handles_container<>. Added docs for as<T> (docs for Qi only).



[SVN r67553]
2011-01-01 22:22:56 +00:00
Bryce Adelstein-Lelbach
eac6e38159 Reorganized Spirit tests, broke down larger tests so they won't time out on
ICC.



[SVN r67494]
2010-12-29 21:17:01 +00:00
Hartmut Kaiser
f30ca2301d Spirit: utree modifications, mostly
[SVN r67472]
2010-12-27 23:45:44 +00:00
Hartmut Kaiser
ac0cdfb0a7 Spirit: utree integration, initial implementation complete
[SVN r67447]
2010-12-25 21:13:56 +00:00
Hartmut Kaiser
d785d4f538 Spirit: fixing Karma string literal problem
[SVN r67441]
2010-12-24 02:10:11 +00:00
Bryce Adelstein-Lelbach
05913d71b4 Added the as directive.
[SVN r67437]
2010-12-23 21:14:50 +00:00
Bryce Adelstein-Lelbach
555ce8238d Retooled the get_c_string customization point in Spirit (reimplemented it as
a static member of a template struct) to fix parameterized use of karma::string
with utree (e.g., string("foo")). Broke the Spirit test-suite into five test-suites
in the test Jamfile for testing individual Spirit modules (this doesn't change
what tests are run if you just invoke 'bjam' in libs/spirit/test, nor does it change
where in the build directory the tests are placed). Added some more utree tests.



[SVN r67380]
2010-12-21 07:17:40 +00:00
Hartmut Kaiser
0643a7d53e Spirit: utree documentation work
[SVN r67357]
2010-12-20 01:59:17 +00:00
Hartmut Kaiser
c6e903b281 Spirit: fixing header ordering
[SVN r67344]
2010-12-19 17:25:22 +00:00
Hartmut Kaiser
04faf8e525 Spirit: improving integration of utree in Karma
[SVN r67316]
2010-12-19 03:37:49 +00:00
Hartmut Kaiser
ab5c13c58c Spirit: working on utree integration with Karma, adding tests
[SVN r67052]
2010-12-06 00:14:19 +00:00
Hartmut Kaiser
ab43e2e78b Spirit: added two more lexer examples
[SVN r66777]
2010-11-26 18:33:30 +00:00
Hartmut Kaiser
d0252c5aa6 Spirit: fixed #4742 (Karma produces not the supposed output for a real number generator in scientific mode), added test
[SVN r66051]
2010-10-17 20:41:51 +00:00
Christopher Schmidt
9c969ae095 fixed initialization of one-element fusion sequences
[SVN r64699]
2010-08-09 19:24:48 +00:00
Hartmut Kaiser
e53af16ab2 Spirit: added karma::duplicate[] directive, tests and docs
[SVN r63892]
2010-07-11 19:41:53 +00:00
Hartmut Kaiser
b81a218d3d Spirit: fixing strict issue in Karma sequences, added test case
[SVN r61844]
2010-05-07 18:02:30 +00:00
Hartmut Kaiser
bbca6fad7d Spirit: added a test case
[SVN r61838]
2010-05-07 15:45:40 +00:00
Hartmut Kaiser
c4bd086c9f Spirit: introduced new cutomization point for karma alternatives (variant_which) and extended strict mode to alternatives, added tests
[SVN r61727]
2010-05-02 03:07:54 +00:00
Hartmut Kaiser
fdb92763c6 Spirit: added strict mode to Karma, new directives strict[] and relaxed[]. No docs yet
[SVN r61491]
2010-04-22 20:25:10 +00:00
Hartmut Kaiser
2966839ec7 Spirit: fixed gcc compilation problems, added karma debug support, fixed Qi debug indentation
[SVN r61475]
2010-04-21 23:35:50 +00:00
Hartmut Kaiser
491095d948 Spirit: fixing problem with using a karma::repeat[] in a sequence.
[SVN r61468]
2010-04-21 17:22:37 +00:00
Hartmut Kaiser
08afd83615 Spirit: added karma::skip directive
[SVN r61445]
2010-04-21 00:49:21 +00:00
Hartmut Kaiser
36a531388f Spirit: added regression test
[SVN r61426]
2010-04-20 14:37:58 +00:00
Hartmut Kaiser
7a2557646c Spirit: fixing inspect errors
[SVN r61371]
2010-04-18 18:23:18 +00:00
Hartmut Kaiser
f0b3d3c909 Spirit: fixed attribute propagation of optionals in rules
[SVN r61328]
2010-04-16 22:47:13 +00:00
Hartmut Kaiser
bfe0fe032c Spirit: enabled single element sequences everywhere a single value is expected (Qi, Karma), added tests
[SVN r61324]
2010-04-16 18:15:19 +00:00
Hartmut Kaiser
5b0795c272 Spirit: added single character syntax for character ranges for Karma as well, added tests
[SVN r61321]
2010-04-16 18:01:02 +00:00
Hartmut Kaiser
12b882b557 Spirit: added more tests
[SVN r61308]
2010-04-16 02:48:12 +00:00
Hartmut Kaiser
c65fb2f80f Spirit: refining the transform_attribute CP
[SVN r61284]
2010-04-15 02:43:23 +00:00
Hartmut Kaiser
b6b0b4fd47 Spirit: Fixing problem in Karma repetitive generators.
[SVN r60451]
2010-03-10 23:37:04 +00:00
Hartmut Kaiser
1420ca57dc Spirit: implemented new encoding features for Karma, added tests
[SVN r60257]
2010-03-06 21:59:15 +00:00
Hartmut Kaiser
7576bd0c7b Spirit: fixing copyrights
[SVN r60155]
2010-03-04 19:00:09 +00:00
Hartmut Kaiser
93407fafd1 Spirit: added karma::no_delimit[], added post-delimit step to implicit verbatim Karma rules
[SVN r59761]
2010-02-19 15:45:23 +00:00
Hartmut Kaiser
7eac2e0b03 Spirit: buffer[buffer[...]] does not result in double buffering anymore, added tests
[SVN r59541]
2010-02-07 04:00:46 +00:00
Hartmut Kaiser
f1bb6c531e Spirit: added tests for sequences with unused attribute at the end
[SVN r59357]
2010-01-30 02:18:10 +00:00
Hartmut Kaiser
27b7ad03b9 Spirit: more tests for recent binary fix
[SVN r58943]
2010-01-12 16:20:01 +00:00
Hartmut Kaiser
3cbf0e686c Spirit: added another test case for unsigned integer generators
[SVN r58942]
2010-01-12 16:14:39 +00:00
Hartmut Kaiser
d2a4c7db6a Spirit: added more tests for Karma auto_
[SVN r58769]
2010-01-06 16:00:18 +00:00
Hartmut Kaiser
33bcfd368c Spirit: fixing Karma binary tests
[SVN r58768]
2010-01-06 15:59:37 +00:00
Hartmut Kaiser
6bea365c51 Spirit: updating copyrights, doc version, etc.
[SVN r58589]
2009-12-30 16:16:52 +00:00
Hartmut Kaiser
9e68c7836b Spirit: fixing a problem in sequences if the attribute is a container of containers, more test cases
[SVN r58564]
2009-12-29 16:37:17 +00:00
Hartmut Kaiser
c5714e60b2 Spirit: little endian binary test fix
[SVN r58520]
2009-12-23 22:22:38 +00:00
Hartmut Kaiser
cfc930afff Spirit: doc fixes and test additions
[SVN r58379]
2009-12-14 15:53:02 +00:00
Hartmut Kaiser
3ff68ed6e1 Spirit: added new karma example
[SVN r58171]
2009-12-06 01:17:45 +00:00
Hartmut Kaiser
1bcf398ae5 Spirit: adding karma::columns directive, tests
[SVN r58121]
2009-12-03 17:47:30 +00:00
Hartmut Kaiser
fad57733ed Spirit: simplified auto facilities, adjusted tests to compile with gcc as well
[SVN r58118]
2009-12-03 16:57:55 +00:00
Hartmut Kaiser
77812536a2 Spirit: added tests for new API functions
[SVN r58107]
2009-12-03 03:18:41 +00:00
Hartmut Kaiser
efc0ae870a Spirit: added new karma example (auto_facilities.cpp), tweaks to auto_ tests
[SVN r58083]
2009-12-01 14:35:34 +00:00
Hartmut Kaiser
ae775567c9 Spirit: fixes to karma::auto_, added qi::auto_, added tests
[SVN r58048]
2009-11-29 23:30:50 +00:00
Hartmut Kaiser
fa09b0f10c Spirit: added karma::auto_ and related facilities, added test
[SVN r58042]
2009-11-29 21:28:22 +00:00
Hartmut Kaiser
fca181ea0a Spirit: added karma::symbols generator, updated docs, tests, and example
[SVN r57974]
2009-11-27 19:09:02 +00:00
Daniel James
02ff0bf2cc Fix a few gcc warnings. Still some long long constant warnings and an integer overflow warning.
[SVN r57524]
2009-11-09 19:46:09 +00:00
Hartmut Kaiser
aab62c9837 Spirit: silencing MSVC warnings
[SVN r57505]
2009-11-09 04:02:16 +00:00
Hartmut Kaiser
b05fe26fae Spirit: fixing bug in alternatives taking optionals
[SVN r57435]
2009-11-06 14:40:18 +00:00
Hartmut Kaiser
b77800682a Spirit: removed another superfluous semicolon
[SVN r57417]
2009-11-05 17:58:19 +00:00
Hartmut Kaiser
2a2df9a5d2 Spirit: added stream based API description to docs
[SVN r57233]
2009-10-29 18:07:19 +00:00
Hartmut Kaiser
8f609c5ee3 Spirit: added stream based API description to docs
[SVN r57226]
2009-10-29 15:43:25 +00:00
Hartmut Kaiser
e39451eb0e Spirit: added even more alternative tests
[SVN r57130]
2009-10-24 14:18:32 +00:00
Hartmut Kaiser
24bd401c79 Spirit: added more alternative tests
[SVN r57129]
2009-10-24 14:09:15 +00:00
Hartmut Kaiser
8be343bf16 Spirit: test and doc updates
[SVN r57123]
2009-10-24 03:09:00 +00:00
Hartmut Kaiser
d149e948bd Spirit: added #pragma setlocale() to tests for VC7.1
[SVN r57051]
2009-10-21 20:31:00 +00:00
Hartmut Kaiser
7968ba4c62 Spirit: fixing tests for big endian binary generator
[SVN r56960]
2009-10-17 16:12:37 +00:00
Hartmut Kaiser
0aaf883c68 Spirit: added test detecting endianess/truncation problem on little endian systems
[SVN r56915]
2009-10-16 13:04:00 +00:00
Hartmut Kaiser
ace9399752 Spirit: more workarounds for VC7.1
[SVN r56851]
2009-10-14 21:09:16 +00:00
Hartmut Kaiser
678312fe9f Spirit: removing remnants of safe_bool
[SVN r56839]
2009-10-14 18:45:59 +00:00
Hartmut Kaiser
fccc6a3a01 Spirit: disabling certain tests for broken platforms
[SVN r56794]
2009-10-13 18:26:30 +00:00
Hartmut Kaiser
d4d789c13c Spirit: updating examples and tests
[SVN r56789]
2009-10-13 16:20:36 +00:00
Hartmut Kaiser
0dc7d93b35 Spirit: finalized bool parsers, added true_ and false_ parsers and generators
[SVN r56677]
2009-10-09 15:55:22 +00:00
Hartmut Kaiser
aeae1cb7c6 Spirit: cleaning inspect errors
[SVN r56670]
2009-10-09 12:48:51 +00:00
Hartmut Kaiser
4d533fa4ae Spirit: fixing special case for sequences, updated tests
[SVN r56663]
2009-10-09 00:33:34 +00:00
Hartmut Kaiser
58d867b697 Spirit: disabled Phoenix attributes for V2.1, adjusted tests
[SVN r56636]
2009-10-07 17:14:19 +00:00
Hartmut Kaiser
600bfb761a Spirit: finalizing transform_attribute for rules, more tests
[SVN r56592]
2009-10-05 12:13:02 +00:00
Hartmut Kaiser
a1ce65171e Spirit: rule's have intrinsic attribute transformation now, added more tests
[SVN r56580]
2009-10-04 20:38:32 +00:00
Hartmut Kaiser
3e9c2bdf68 Spirit: restructured customization points, added qi::attr_cast, added phoenix expression support for Karma attributes, updated tests
[SVN r56534]
2009-10-02 21:19:08 +00:00
Hartmut Kaiser
b6d796ae98 Spirit: fixed Karma repeating operators and directives to account for failing subjects, added corresponding tests, updated docs
[SVN r56474]
2009-09-29 16:56:31 +00:00
Hartmut Kaiser
3e88852d0b Spirit: added qi::bool_ docs
[SVN r56470]
2009-09-29 14:30:33 +00:00
Hartmut Kaiser
a56a0dca23 Spirit: added karma attr_cast, doc update
[SVN r56466]
2009-09-29 01:27:46 +00:00
Hartmut Kaiser
d57ae0dcd7 Spirit: refined bool_policies
[SVN r56463]
2009-09-29 00:28:10 +00:00
Hartmut Kaiser
e8602a932f Spirit: docs for bool_ generators
[SVN r56458]
2009-09-28 20:49:38 +00:00
Hartmut Kaiser
e0e3b69c81 Spirit: added new semantics for rule::operator=, now figures out on its own whether to apply auto attribute behavior
[SVN r56336]
2009-09-21 14:11:56 +00:00
Hartmut Kaiser
10944e657e Spirit: imported spirit::standard namespace into spirit::qi and spirit::karma
[SVN r56244]
2009-09-16 17:46:46 +00:00
Hartmut Kaiser
573115afb8 Spirit: all generators now accept a boost::optional holding the attribute and will fail if this is not initialized, fixed tests to cover this
[SVN r56218]
2009-09-15 17:00:12 +00:00
Hartmut Kaiser
321c50612f Spirit: Added character generator negation (unary '~' for character generators) - doc update, tests
[SVN r56099]
2009-09-08 02:15:35 +00:00
Hartmut Kaiser
137b7353bf Spirit: Added karma::stream_generator test cases
[SVN r55770]
2009-08-25 00:24:54 +00:00
François Barel
f6ef3ad3ef Spirit: make Karma tests more verbose on failure
[SVN r55611]
2009-08-16 09:26:05 +00:00
Hartmut Kaiser
8a541958cf Spirit: more work on docs
[SVN r55605]
2009-08-15 21:56:17 +00:00
Hartmut Kaiser
0fd5616eec Spirit: doc update for real_policy changes, added example printf_style_double_format
[SVN r55586]
2009-08-14 20:26:59 +00:00
Hartmut Kaiser
c93dea64e1 Spirit: fixed a problem with gcc 4.1
[SVN r55551]
2009-08-12 17:31:19 +00:00