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
Daniel James
46d1d1447c
Some tests for duplicate docinfo attributes.
...
[SVN r68878]
2011-02-15 00:16:43 +00:00
Daniel James
fb36de29cb
Fix empty category.
...
[SVN r68877]
2011-02-15 00:15:55 +00:00
Daniel James
49cbaf4894
Count lines and columns from 1 in the quickbook iterator.
...
[SVN r68876]
2011-02-15 00:08:33 +00:00
Daniel James
adaa57c8e3
Get the quickbook test tool working from other directories.
...
[SVN r68875]
2011-02-15 00:07:50 +00:00
Daniel James
457716aa75
Partial fix for portable path detection.
...
`portable_posix_name` is for checking names not paths. So instead just
warn if the path contains a `\` which is close enough. Should really be
using URLs. Maybe converting `\` to `/` (with a warning) for backwards
compatability.
[SVN r68656]
2011-02-05 15:42:29 +00:00
Daniel James
e46628ce41
Fix rooted path handling on windows.
...
Was using `!path.is_complete()` to check if a path is relative - this
doesn't work on windows since paths like `\a\b` and `c:foo` aren't
complete or absolute. So now use
`!path.has_root_directory && !path.has_root_name()` instead.
[SVN r68655]
2011-02-05 15:41:55 +00:00
Daniel James
a120e74f3c
Check for portable paths in more places.
...
[SVN r68654]
2011-02-05 15:41:15 +00:00
Daniel James
5f7636fce2
Nicer link break warnings.
...
[SVN r68609]
2011-02-02 00:19:24 +00:00
Daniel James
6d4dec6803
Add ids to bridgeheads.
...
Prevents docbook from making up ever changing ids. It would be nice to
use the heading's anchor. But that causes docbook to complain that it
can't generate a title for the link.
[SVN r68595]
2011-02-01 09:21:25 +00:00
Daniel James
df80728f5e
Merge quickbook documentation changes.
...
[SVN r68568]
2011-01-30 13:02:37 +00:00
Daniel James
72de1779b1
Better wording about xsltproc on OS X.
...
[SVN r68567]
2011-01-30 12:51:05 +00:00
Daniel James
e50fefdecb
Fix default output filename.
...
[SVN r68565]
2011-01-30 11:43:34 +00:00
Daniel James
5d7385cff4
Support for wide output streams on windows.
...
[SVN r68563]
2011-01-30 11:38:17 +00:00
Daniel James
adece17fc6
Turn debug symbols off when testing quickbook.
...
Fixes an odd error with the Boost Build Visual C++ tool.
[SVN r68562]
2011-01-30 11:36:07 +00:00
Daniel James
bd9189ba61
Move error and warning functions into input_path.
...
I'll rename it after merging with trunk. I'm just collecting all the
input and output functions together.
[SVN r68561]
2011-01-30 11:26:55 +00:00