Commit Graph

1191 Commits

Author SHA1 Message Date
Daniel James
c5292a1349 Use a phoenix closure to inline the simple markup parser.
[SVN r69310]
2011-02-26 18:32:31 +00:00
Daniel James
a4b2852551 Fail if boostbook escape isn't closed.
[SVN r69309]
2011-02-26 18:31:58 +00:00
Daniel James
cb26921203 Don't include escaped boostbook or code in simple markup.
[SVN r69308]
2011-02-26 18:31:17 +00:00
Daniel James
33ff714c47 Implement integer values, and use them for the quickbook version.
[SVN r69302]
2011-02-26 11:32:11 +00:00
Daniel James
6d5e10008a Try using wide streams more widely on windows.
[SVN r69301]
2011-02-26 11:19:02 +00:00
Daniel James
e1b241806d Some fixes for windows.
[SVN r69300]
2011-02-26 11:17:53 +00:00
Daniel James
d94ecdd77b Throw errors for incorrect method calls rather than assert.
[SVN r69290]
2011-02-25 23:07:07 +00:00
Daniel James
937e30aa53 Consume values when iterating over a consumer.
[SVN r69289]
2011-02-25 23:06:41 +00:00
Daniel James
e4ddb668de Clean up the value consumer interface.
[SVN r69288]
2011-02-25 23:06:16 +00:00
Daniel James
a86f19d7bf Invalid list markup again.
[SVN r69287]
2011-02-25 23:05:36 +00:00
Daniel James
fa0a683b4e Workaround for optimization bug in 64-bit g++ 4.4.
[SVN r69249]
2011-02-24 20:56:47 +00:00
Daniel James
d245a87966 More nestable elements. Refs #1193
[SVN r69189]
2011-02-22 21:28:49 +00:00
Daniel James
d485fdc00f Handle elements in one rule.
[SVN r69188]
2011-02-22 21:28:07 +00:00
Daniel James
f37d4c018b Combine varlistitem and table_cell.
[SVN r69187]
2011-02-22 21:27:28 +00:00
Daniel James
bd75566c9f No longer using macro_id.
[SVN r69182]
2011-02-22 20:49:11 +00:00
Daniel James
f8635bcb41 Another testing flag to allow testing xinclude.
Not ideal, since not testing normal use. But at least it would have
caught the error fixed in [68308].

[SVN r69181]
2011-02-22 20:47:15 +00:00
Daniel James
e4bddcebe5 Flag for testing errors.
quickbook-fail-test couldn't distinguish between correctly handled
errors and bugs, so add quickbook-error-test which will only succeed for
quickbook errors.

[SVN r69180]
2011-02-22 20:45:26 +00:00
Daniel James
acaf0a9689 Tweak doc info for empty attributes. Maybe these should fail.
[SVN r69179]
2011-02-22 20:43:10 +00:00
Daniel James
a6606bdba6 Use values for lists.
[SVN r69178]
2011-02-22 20:41:36 +00:00
Daniel James
4b9254f3a4 Clean up the grammars a bit.
[SVN r69177]
2011-02-22 20:40:08 +00:00
Daniel James
493aa3d1af Clean up paragraphs a little.
[SVN r69176]
2011-02-22 20:38:41 +00:00
Daniel James
2f8000ab9b Phrase elements.
[SVN r69175]
2011-02-22 20:36:46 +00:00
Daniel James
5ebb425b6a Rest of the block elements.
[SVN r69174]
2011-02-22 20:35:54 +00:00
Daniel James
cc83a0c4fe Better scoped_parser.
[SVN r69173]
2011-02-22 20:35:03 +00:00
Daniel James
0ce7cd0969 Use values for some more block markup.
[SVN r69172]
2011-02-22 20:33:24 +00:00
Daniel James
a997c7e74d Rearrange grammar/actions to remove the 'tag' method.
It was error prone and a bit confusing. Also renamed 'scoped' to the
more appropriate 'list'.

[SVN r69171]
2011-02-22 20:32:16 +00:00
Daniel James
9a0e44ac88 Convert begin and end section to new style.
[SVN r69170]
2011-02-22 20:31:27 +00:00
Daniel James
76aadf07a0 Single rule for all headings.
[SVN r69169]
2011-02-22 20:30:47 +00:00
Daniel James
bf51b55210 Use phoenix for some actions.
[SVN r69168]
2011-02-22 20:30:11 +00:00
Daniel James
0ce077188f Try out more dynamic action dispatch.
Rather than a switch case, the final version will probably use something
like `std::map<value_tag, boost::function<...> >` to dispatch the
actions.

[SVN r69167]
2011-02-22 20:29:23 +00:00
Daniel James
20d73928be Use ranges in make_identifier.
[SVN r69166]
2011-02-22 20:28:48 +00:00
Daniel James
aec8a1cefb Use values for headings, sections and some phrase elements.
[SVN r69165]
2011-02-22 20:28:10 +00:00
Daniel James
7095e71dfe Generalize the lookbehind parser, and use it to implement a cleaner simple_markup parser.
[SVN r69164]
2011-02-22 20:27:27 +00:00
Daniel James
a0e4e25220 Fix biblioid, consume methods could be called in the wrong order.
[SVN r69163]
2011-02-22 20:26:41 +00:00
Daniel James
b4001fe672 Deal with some simple markup edge cases.
[SVN r68943]
2011-02-16 08:28:59 +00:00
Daniel James
a336eda585 Only use debug-symbols=off for msvc.
[SVN r68942]
2011-02-16 08:28:16 +00:00
Daniel James
00e7131448 Improve the simple markup parser.
[SVN r68926]
2011-02-15 20:41:04 +00:00
Daniel James
7d96722034 Missing copyright tests.
[SVN r68925]
2011-02-15 20:39:59 +00:00
Daniel James
843dad17de Richer copyright syntax.
Year ranges and multiple copyrights per copyright attribute (comma
separated).

[SVN r68890]
2011-02-15 00:26:26 +00:00
Daniel James
2748ab5a0d Better error message for incorrect doc info attributes.
[SVN r68889]
2011-02-15 00:25:38 +00:00
Daniel James
551db999f2 Use values for doc info.
[SVN r68888]
2011-02-15 00:24:55 +00:00
Daniel James
e945ae4604 Use values for various block elements.
[SVN r68887]
2011-02-15 00:23:57 +00:00
Daniel James
3385beaac2 Remove attributes from scoped_block.
[SVN r68886]
2011-02-15 00:23:07 +00:00
Daniel James
5b5548f9de Use values for calling templates.
[SVN r68885]
2011-02-15 00:22:20 +00:00
Daniel James
2763816a80 Use the new value class for images.
[SVN r68884]
2011-02-15 00:21:37 +00:00
Daniel James
6c718856b8 Parser support for values.
[SVN r68883]
2011-02-15 00:20:51 +00:00
Daniel James
d92609023f A value type for quickbook data.
[SVN r68882]
2011-02-15 00:20:10 +00:00
Daniel James
79afa364c4 Detab input_path.
[SVN r68881]
2011-02-15 00:19:24 +00:00
Daniel James
262a10b812 Save source mode when including file in 1.6
[SVN r68880]
2011-02-15 00:18:45 +00:00
Daniel James
d24e78acac Move other doc-info tests into subdirectory.
[SVN r68879]
2011-02-15 00:17:45 +00:00