Commit Graph

23 Commits

Author SHA1 Message Date
Daniel James
202b0f90e7 Merge quickbook. Starting 1.6 alpha, plus some 1.7 development.
[SVN r85050]
2013-07-15 21:45:25 +00:00
Daniel James
d8b487499b Merge quickbook to release.
[SVN r84300]
2013-05-16 21:30:01 +00:00
Daniel James
0c0795fcff Quickbook: Escaped markup in docinfo blocks.
[SVN r76645]
2012-01-22 23:07:26 +00:00
Daniel James
4c2ad1f909 Quickbook: Merge from trunk to quickbook-dev.
[SVN r75846]
2011-12-07 09:40:30 +00:00
Daniel James
a041edab9c Quickbook: Fail gracefully if document info is missing.
I also tweaked `pre` and `post` a bit while I was at it.

[SVN r75538]
2011-11-17 21:07:01 +00:00
Daniel James
edc0060910 Quickbook: Empty ids and titles.
[SVN r75532]
2011-11-17 21:05:17 +00:00
Daniel James
d125ab418c Quickbook: Trim trailing space from document title.
[SVN r75529]
2011-11-17 21:04:27 +00:00
Daniel James
476e11c3ab Quickbook: Make source mode a document attribute and fix implementation.
In quickbook 1.6, nested documents default to C++, regardless of the
parent's source mode so that they are interpreted as if they are
standalone documents.

[SVN r75528]
2011-11-17 21:04:02 +00:00
Daniel James
3ae7265139 Quickbook: New version of id_manager. Fixes #1221.
This encapsulates more in the id and section handling code. Fixes a few
edge cases and separates implementation of the new and old section
handling code. Always normalizes and truncates generated ids in quickbook
1.6.

[SVN r75251]
2011-11-02 07:49:22 +00:00
Daniel James
2e7921057b Quickbook: New id include test.
[SVN r75233]
2011-11-01 19:17:22 +00:00
Daniel James
3c39fbca2e Quickbook: Clean up whitespace prior to programlisting.
[SVN r75223]
2011-11-01 19:00:02 +00:00
Daniel James
a2b3c3aa04 Quickbook: Merge from trunk to quickbook-dev.
[SVN r73365]
2011-07-25 21:41:36 +00:00
Daniel James
9b1eed66f4 Quickbook: Merge from trunk to quickbook-dev.
[SVN r73239]
2011-07-19 07:35:49 +00:00
Daniel James
d90650a679 Quickbook: In 1.6, override document id with id from include element.
[SVN r71013]
2011-04-05 20:03:18 +00:00
Daniel James
a615a0a6e3 Quickbook: Nested documents in 1.6.
If an included file has a docinfo block, use that docinfo. I'm not
entirely sure if the nested file be treated as if it's completely
standalone - i.e. should macros and templates defined in the parent be
used?

Also, there's some odd behaviour in quickbook if the docinfo block in an
included file has a parse error. It just goes back to the start and
parses as a file without a docinfo block. I think it would be better if
this was a hard error, but what should happen in someone has defined a
template with the same name as a docinfo block? That's actually valid in
existing quickbook, so the dodgy docinfo block might just be a template
call.

[SVN r70963]
2011-04-03 21:15:14 +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
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
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