Commit Graph

315 Commits

Author SHA1 Message Date
Hartmut Kaiser
418fd94ddb Spirit: fixed compilation issue in attribute handling code
[SVN r69527]
2011-03-03 18:49:26 +00:00
Hartmut Kaiser
25216c09c8 Spirit: commented two non-functional use cases
[SVN r69498]
2011-03-02 23:45:14 +00:00
Hartmut Kaiser
89b05ff46d Spirit: added handling of variants to the new attribute handling
[SVN r69495]
2011-03-02 23:37:52 +00:00
Hartmut Kaiser
7c324eef45 Spirit: fixing container attribute handling of sequences and container parser components
[SVN r69405]
2011-02-28 22:43:13 +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
14cdc347c5 Spirit: Fixing obscure bug in qi::attr(), added test case
[SVN r69219]
2011-02-23 20:09:38 +00:00
Joel de Guzman
0cc2c21375 fixed test error
[SVN r69138]
2011-02-22 02:08:05 +00:00
Joel de Guzman
d0ce4409fa Tweaks. Allow attribute compatibility on alternatives
[SVN r69023]
2011-02-19 09:15:03 +00:00
Joel de Guzman
2b1dac562a Allow attribute compatibility with semantic actions
[SVN r68906]
2011-02-15 03:20:11 +00:00
Hartmut Kaiser
0dc2bc3fc6 Spirit: fixing a kleene/sequence attribute issue
[SVN r68852]
2011-02-13 20:43:52 +00:00
Joel de Guzman
b49f827549 added option to have no predefined terminals
[SVN r68744]
2011-02-09 10:44:41 +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
Bryce Adelstein-Lelbach
5a30752baa Added regression tests and fixes for Spirit.Qi numeric literal alternatives issue.
[SVN r68487]
2011-01-27 20:30:12 +00:00
Hartmut Kaiser
e072d85c37 Adding test
[SVN r68292]
2011-01-19 16:08:52 +00:00
Hartmut Kaiser
5cca7065e8 Spirit: added explicit name() to symbols, doc fixes
[SVN r68166]
2011-01-15 02:48:46 +00:00
Hartmut Kaiser
9fec54a408 Spirit: fixing regression in netlib url parser
[SVN r67963]
2011-01-11 16:18:19 +00:00
Bryce Adelstein-Lelbach
dd897317ca Re-added Qi numeric literals as they no longer break Qi auto-magic.
[SVN r67902]
2011-01-10 03:04:31 +00:00
Hartmut Kaiser
ca6b180931 Spirit: replaced proto::lit with spirit::lit
[SVN r67754]
2011-01-07 17:50:06 +00:00
Bryce Adelstein-Lelbach
e1b0e45a5d Removed Qi numeric literals (interference w/ auto magic)
[SVN r67737]
2011-01-06 23:37:52 +00:00
Bryce Adelstein-Lelbach
a1fa5e9721 Added FIXME comments for utree sequence tests.
[SVN r67713]
2011-01-06 04:24:26 +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
242874826f Spirit: more utree fixes
[SVN r67689]
2011-01-05 21:06:41 +00:00
Bryce Adelstein-Lelbach
77f6955781 Regenned docs to fix a problem in them, added more utree tests.
[SVN r67683]
2011-01-05 16:44:32 +00:00
Hartmut Kaiser
83a792d7ed Spirit: updating copyrights
[SVN r67619]
2011-01-03 16:58:38 +00:00
Bryce Adelstein-Lelbach
569b3111e1 Renamed the "get_c_string_impl" Spirit CP to "extract_c_string"; changed utree
tests for mixed expectation/sequence operators. Added spirit::result_of::get_begin
and spirit::result_of::get_end to string_traits.hpp.



[SVN r67606]
2011-01-03 05:24:09 +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
c4ea90c69b Added support for integral literals to Qi.
[SVN r67508]
2010-12-30 21:55:39 +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
0fa3a02cd6 Spirit: added test
[SVN r67455]
2010-12-26 15:30:11 +00:00
Hartmut Kaiser
ac0cdfb0a7 Spirit: utree integration, initial implementation complete
[SVN r67447]
2010-12-25 21:13:56 +00:00
Hartmut Kaiser
3f90d0c7d8 Spirit: fixing Qi sequence attribute handling
[SVN r67442]
2010-12-24 02:12:10 +00:00
Bryce Adelstein-Lelbach
05913d71b4 Added the as directive.
[SVN r67437]
2010-12-23 21:14:50 +00:00
Bryce Adelstein-Lelbach
a007ccec8d Removed the typed string CP, add a fix for sequences, and some new tests for
them.



[SVN r67409]
2010-12-22 05:20:00 +00:00
Hartmut Kaiser
25b26153d5 Spirit: fixed/added utree tests
[SVN r67408]
2010-12-22 01:27:07 +00:00
Bryce Adelstein-Lelbach
3b37b8e575 Added a new utree CP to allow rule<Iterator, utf8_string_type()> r = char("+-/*")
semantics (rationale: a single character is represented as a string in utree).
Also added tests for the above functionality.



[SVN r67392]
2010-12-21 19:54:14 +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
28bb0466c4 Spirit: adding uninitialized utree node type
[SVN r67379]
2010-12-21 02:50:47 +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
Joel de Guzman
408f917c68 correct as_string behavior
[SVN r67056]
2010-12-06 03:58:13 +00:00
Hartmut Kaiser
d7a5158607 Spirit: adding a few utree test cases which currently still fail
[SVN r67024]
2010-12-05 18:40:31 +00:00
Joel de Guzman
5bef5d36d7 added as_string directive as a synonym to "raw".
[SVN r67019]
2010-12-05 04:37:45 +00:00
Hartmut Kaiser
48abd98e8d Spirit: fixed utree tests
[SVN r67001]
2010-12-04 02:16:51 +00:00
Hartmut Kaiser
9d4b93650f Spirit: fixed utree tests
[SVN r66999]
2010-12-04 02:03:33 +00:00
Joel de Guzman
e690655eb1 Utree-spirit integration
[SVN r66995]
2010-12-03 23:54:39 +00:00
Hartmut Kaiser
882b2786a0 Spirit: more utree fixes for better integration with Qi, updated tests
[SVN r66938]
2010-11-30 23:42:03 +00:00
Hartmut Kaiser
4828ebed7b Spirit: more utree tests
[SVN r66935]
2010-11-30 22:55:27 +00:00
Hartmut Kaiser
acbd5cca5d Spirit: adding minimal utree tests
[SVN r66913]
2010-11-30 19:50:10 +00:00
Hartmut Kaiser
637d7522af Spirit: adjusting code to pass new assert inspect rule
[SVN r66504]
2010-11-12 00:36:49 +00:00
Hartmut Kaiser
67789d3e51 Spirit: added regression test for qi::repeat
[SVN r66169]
2010-10-25 00:53:56 +00:00
Hartmut Kaiser
8259c2c711 Adding regression test for real_parser<float>, still fails, ATM.
[SVN r65655]
2010-09-28 22:29:34 +00:00
Hartmut Kaiser
94eb1365dd Added test case for broken debug output for optionals
[SVN r64973]
2010-08-23 17:55:47 +00:00
Christopher Schmidt
9c969ae095 fixed initialization of one-element fusion sequences
[SVN r64699]
2010-08-09 19:24:48 +00:00
Hartmut Kaiser
6d828ccc85 Spirit: fixed a problem while handling single element sequence attributes
[SVN r64258]
2010-07-22 13:24:20 +00:00
Hartmut Kaiser
f0ca803b90 Spirit: minor documentation work, untabified file
[SVN r63788]
2010-07-09 19:02:54 +00:00
Joel de Guzman
fd3f45f181 disallowing partial parses of ints and enforcing overflow-is-parse-error rule.
[SVN r63127]
2010-06-20 10:05:10 +00:00
Hartmut Kaiser
ffd143b920 Spirit: fixed backtracking problem if semantic action makes parse fail retrospectively, added test
[SVN r63087]
2010-06-18 21:51:30 +00:00
Hartmut Kaiser
44a4d27dee Spirit: Fixing numeric parser tests
[SVN r62145]
2010-05-22 14:57:10 +00:00
Hartmut Kaiser
bcf948448b Spirit: fixing const correctness problem, added test
[SVN r62144]
2010-05-22 14:28:52 +00:00
Hartmut Kaiser
600edefd1c Spirit: Added tests to ensure numeric overflow leads to failing parse
[SVN r62116]
2010-05-20 17:25:08 +00:00
Douglas Gregor
1f1bdb03c0 Eliminate a redundant (and therefore incorrect) using declaration for int_.
[SVN r61696]
2010-04-30 07:00:44 +00:00
Hartmut Kaiser
7a2557646c Spirit: fixing inspect errors
[SVN r61371]
2010-04-18 18:23:18 +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
ce3ab6be45 Spirit: added single character syntax for character ranges, added tests
[SVN r61319]
2010-04-16 17:56:11 +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
dc21be9b9f Spirit: fixing problems in reference.cpp
[SVN r61171]
2010-04-10 02:32:28 +00:00
Hartmut Kaiser
13b3ef8e1b Spirit: added new test
[SVN r61124]
2010-04-07 13:27:52 +00:00
Joel de Guzman
717a52ae53 fix for new attribute handling for int parsers.
[SVN r61122]
2010-04-07 13:10:15 +00:00
Joel de Guzman
ce03668632 added tests for handling debug output for stl containers
[SVN r60494]
2010-03-12 00:20:01 +00:00
Joel de Guzman
5b0e883834 more tests
[SVN r60346]
2010-03-08 12:50:04 +00:00
Joel de Guzman
190c6d21c8 tweaks
[SVN r60220]
2010-03-06 00:19:12 +00:00
Joel de Guzman
2b35713eea better "encoding" usage
[SVN r60217]
2010-03-05 23:17:02 +00:00
Joel de Guzman
48ee009d92 rules with parameters for char encoding
[SVN r60190]
2010-03-05 15:40:12 +00:00
Joel de Guzman
d04374aabb encoding directive
[SVN r60184]
2010-03-05 13:30:35 +00:00
Hartmut Kaiser
99f7c4a8a8 Spirit: fixed #3815 (Clearing an iterator range), added test
[SVN r59930]
2010-02-26 01:13:28 +00:00
Hartmut Kaiser
30018804eb Spirit: adding no_skip[] directive, docs, tests, etc.
[SVN r59719]
2010-02-17 02:18:44 +00:00
Joel de Guzman
d969d8eb2d minor tweaks
[SVN r59717]
2010-02-17 02:09:30 +00:00
Joel de Guzman
da553929ec added hold directive
[SVN r59521]
2010-02-06 02:15:34 +00:00
Joel de Guzman
104e749067 added hold directive
[SVN r59520]
2010-02-06 01:55:56 +00:00
Hartmut Kaiser
98487ff905 Spirit: fixing inspect errors
[SVN r59488]
2010-02-05 00:32:43 +00:00
Joel de Guzman
8f203e8106 More Unicode Support
[SVN r59441]
2010-02-03 12:35:53 +00:00
Joel de Guzman
67d5d07428 basic unicode tests ok
[SVN r59424]
2010-02-02 12:15:30 +00:00
Joel de Guzman
3e345922f1 fix regression failure. macro BOOST_SPIRIT_TEST_REAL_PRECISION enables a particular test for precision. This is disabled by default.
[SVN r59361]
2010-01-30 03:44:30 +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
8ac872d39e Spirit: fixing remaining problems from changing transform_attribute
[SVN r59348]
2010-01-29 17:13:53 +00:00
Hartmut Kaiser
305d978127 Spirit: fixing tests for qi::matches[]
[SVN r58917]
2010-01-12 01:10:31 +00:00
Hartmut Kaiser
d180c4d806 Spirit: reverting change to Qi sequence attribute handling
[SVN r58850]
2010-01-09 18:52:59 +00:00
Hartmut Kaiser
8ad85ef03c Spirit: fixing attribute handling in sequences
[SVN r58824]
2010-01-09 03:51:21 +00:00
Hartmut Kaiser
6943646dd8 Spirit: adding tests for the matches[] directive
[SVN r58798]
2010-01-08 02:35:10 +00:00
Hartmut Kaiser
88084a2bc2 Spirit: fixing tests for Qi match
[SVN r58770]
2010-01-06 16:01:05 +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
5b38575814 Spirit: minor test adjustment
[SVN r58469]
2009-12-20 14:32:08 +00:00
Hartmut Kaiser
e774599d93 Spirit: fixing qi::repeat[] for unused attributes, augmented tests
[SVN r58414]
2009-12-16 12:31:16 +00:00
Hartmut Kaiser
0cad894939 Spirit: fixing problem in qi::repeat[], augmented tests
[SVN r58408]
2009-12-16 01:38:09 +00:00
Hartmut Kaiser
4e02281ad7 Spirit: added bool return value to push_back customization point, adjusted tests
[SVN r58298]
2009-12-11 19:50:35 +00:00
Hartmut Kaiser
a825026007 Spirit: updated docs, added more tests
[SVN r58145]
2009-12-04 19:59:57 +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
612ff62ba2 Spirit: reverted latest change
[SVN r57930]
2009-11-25 23:18:02 +00:00
Hartmut Kaiser
f5aa0b31aa Spirit: added specializations for the push_back CP for optional attribute values, adjusted tests
[SVN r57905]
2009-11-24 20:57:05 +00:00
Hartmut Kaiser
550e6c849b Spirit: fixed test case
[SVN r57869]
2009-11-23 17:23:43 +00:00
Hartmut Kaiser
94565f00c2 Spirit: added new test cases
[SVN r57865]
2009-11-23 16:26:11 +00:00
Daniel James
9a599c07fd Implement prefix_find.
[SVN r57730]
2009-11-17 20:26:15 +00:00
Daniel James
8d0e234b86 Don't match substrings in symbols::find.
[SVN r57718]
2009-11-16 23:56:20 +00:00
Hartmut Kaiser
aab62c9837 Spirit: silencing MSVC warnings
[SVN r57505]
2009-11-09 04:02:16 +00:00
Hartmut Kaiser
d0a1718f17 Spirit: replaced long long by boost::long_long_type
[SVN r57415]
2009-11-05 17:50:26 +00:00
Joel de Guzman
c7df3e7cd3 symbols fix from Daniel James
[SVN r57401]
2009-11-05 07:34:23 +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
ea051b978b Spirit: doc update
[SVN r57163]
2009-10-27 00:02:10 +00:00
Joel de Guzman
49ecd30b0f alternatives with optional attributes
[SVN r57107]
2009-10-23 16:27:55 +00:00
Joel de Guzman
6d5d557eb6 alternatives with optional attributes
[SVN r57105]
2009-10-23 15:58:46 +00:00
Hartmut Kaiser
d149e948bd Spirit: added #pragma setlocale() to tests for VC7.1
[SVN r57051]
2009-10-21 20:31:00 +00:00
Joel de Guzman
8b63cfa629 fix unwanted merge
[SVN r57041]
2009-10-21 14:05:37 +00:00
Joel de Guzman
d56b56e3e0 Rule docs
[SVN r57013]
2009-10-20 14:08:14 +00:00
Hartmut Kaiser
ace9399752 Spirit: more workarounds for VC7.1
[SVN r56851]
2009-10-14 21:09:16 +00:00
Hartmut Kaiser
2fb461c81c Spirit: fixing test for VC7.1
[SVN r56843]
2009-10-14 19:16:10 +00:00
Hartmut Kaiser
fccc6a3a01 Spirit: disabling certain tests for broken platforms
[SVN r56794]
2009-10-13 18:26:30 +00:00
Hartmut Kaiser
84c37db301 Spirit: reverting change for alternative parsers, tests
[SVN r56707]
2009-10-10 15:38:15 +00:00
Hartmut Kaiser
5661b8654b Spirit: improved fix for re-initialization of optionals, added tests
[SVN r56705]
2009-10-10 15:09:52 +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
600bfb761a Spirit: finalizing transform_attribute for rules, more tests
[SVN r56592]
2009-10-05 12:13:02 +00:00
Hartmut Kaiser
ab3cf44659 Spirit: fixing transform_attribute::post for the generic case, more tests
[SVN r56582]
2009-10-04 21:20:30 +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
Joel de Guzman
f0b75177b7 fixed alternative attribute handling
[SVN r56565]
2009-10-04 04:01:32 +00:00
Hartmut Kaiser
cdbd0418a7 Spirit: changed tests to utilize the new customization points
[SVN r56556]
2009-10-03 16:39:38 +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
Joel de Guzman
d24befdaf9 kleene, plus and repeat attribute customization points.
[SVN r56510]
2009-10-02 09:05:05 +00:00
Hartmut Kaiser
3e88852d0b Spirit: added qi::bool_ docs
[SVN r56470]
2009-09-29 14:30:33 +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
5445c0b051 Spirit: fixed a couple of warnings in tests
[SVN r56252]
2009-09-17 01:36:36 +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
Joel de Guzman
a535b80c2d real number parsers
[SVN r56027]
2009-09-05 06:30:00 +00:00
Joel de Guzman
c87d124a1b Doc updates: char class parsers
[SVN r55970]
2009-09-02 03:29:21 +00:00
Hartmut Kaiser
7868136eba Changed calculation of epsilon in qi/real.cpp test
[SVN r55560]
2009-08-12 22:48:00 +00:00
Hartmut Kaiser
be0593e76e Spirit: more test fixes
[SVN r55550]
2009-08-12 17:28:08 +00:00
Hartmut Kaiser
6fef4395fa Spirit: fixed include path
[SVN r55549]
2009-08-12 17:23:57 +00:00
François Barel
993477e556 Spirit: minor
[SVN r55541]
2009-08-12 12:35:31 +00:00
Hartmut Kaiser
4e7a53a9ee Spirit: added some test cases for special attribute handling in sequences
[SVN r55367]
2009-08-02 17:55:13 +00:00
Hartmut Kaiser
189aa7aacc Spirit: added test cases for new rule initialization, documented more sequence attribute rules
[SVN r55236]
2009-07-28 17:36:06 +00:00
Hartmut Kaiser
e4ef5727ad Spirit: doc update
[SVN r55141]
2009-07-24 02:51:33 +00:00
Hartmut Kaiser
7d96d7d9ee Spirit: improved test case
[SVN r55130]
2009-07-23 16:00:30 +00:00
Hartmut Kaiser
b17f1be4c2 Spirit: added attr() pseudo parser test cases and quickdoc
[SVN r55128]
2009-07-23 15:57:37 +00:00
Hartmut Kaiser
5b4be6f319 Spirit: removed obsolete file
[SVN r55124]
2009-07-23 15:15:20 +00:00