Commit Graph

404 Commits

Author SHA1 Message Date
Daniel James
f6c565eddb Quickbook: explicit list markup. Refs #1193.
[SVN r70232]
2011-03-20 21:46:10 +00:00
Daniel James
86d40a07a9 Quickbook: Rewrite relative path.
- Do the normalization ourselves, so we don't use a deprecated function.
  Refs #2923
- Move more of the logic into `path_difference` and try to make it
  easier to read, because I found it a bit difficult.

[SVN r70231]
2011-03-20 21:41:42 +00:00
Daniel James
85cb554400 Quickbook: use relative paths in errors and __FILENAME__.
This is more consistent than it is at the moment. For the __FILENAME__
macro, use the path relative to the original file or the location last
matched on the include path. This ensures that the macro is consistent
no matter which directory you call quickbook from.

Also enable `__FILENAME__` in debug mode - so I can test this.

[SVN r70230]
2011-03-20 21:41:18 +00:00
Daniel James
345f0a2648 Quickbook: pass-thru comments.
[SVN r70207]
2011-03-19 19:22:45 +00:00
Daniel James
4caec51e26 Quickbook: better anchor placement for lists.
[SVN r70206]
2011-03-19 19:18:51 +00:00
Daniel James
35cae039f4 Quickbook: support escapes in simple markup.
[SVN r70204]
2011-03-19 19:13:38 +00:00
Daniel James
ec6300c841 Quickbook: further improvements for simple markup.
[SVN r70196]
2011-03-19 16:28:49 +00:00
Daniel James
88b61e52b2 Quickbook: clean up the value stuff.
[SVN r70192]
2011-03-19 15:42:08 +00:00
Daniel James
96e19b221a Quickbook: Go back to using invalid markup for lists.
[SVN r70191]
2011-03-19 15:27:51 +00:00
Daniel James
97c2a337ea Quickbook: nestable elements. Refs #1193
[SVN r70189]
2011-03-19 15:19:09 +00:00
Daniel James
3b09b15f55 Quickbook: A couple of hidden flags for testing.
[SVN r70187]
2011-03-19 15:09:54 +00:00
Daniel James
7b35846ec8 Quickbook: Tweak doc info for empty attributes.
Maybe these should fail.


[SVN r70186]
2011-03-19 14:53:10 +00:00
Daniel James
f7c5e244e8 Quickbook: merge further 'value' development.
[SVN r70185]
2011-03-19 14:43:12 +00:00
Daniel James
6758230e52 Quickbook: fix simple markup.
[SVN r70184]
2011-03-19 14:33:47 +00:00
Daniel James
f977003c85 Richer copyright syntax.
[SVN r70178]
2011-03-19 11:58:26 +00:00
Daniel James
de6a388a35 Quickbook: merge 'values' from quickbook-filenames branch.
[SVN r70177]
2011-03-19 11:45:49 +00:00
Daniel James
1ffd3ed233 Quickbook: doc info improvements.
- Fix handling empty category attributes.
- Quickbook 1.6: Scope source mode changes to the file they're made in.



[SVN r70176]
2011-03-19 10:47:02 +00:00
Daniel James
6500170f49 Pass-thru comments.
[SVN r70018]
2011-03-16 09:12:01 +00:00
Daniel James
704e3e7217 Don't require newlines at end of grammars.
[SVN r69888]
2011-03-12 10:08:00 +00:00
Daniel James
7f3980b107 Cherry pick adding ids to bridgeheads.
[SVN r69824]
2011-03-10 18:50:46 +00:00
Daniel James
ffade9f2bb Cherry pick quickbook test improvements.
- Encode the full paths into `quickbook-testing.jam` so it can be used from
  other locations.
- Turn off debug symbols on Visual C++, they cause the build system to do
  something odd to the tests.


[SVN r69823]
2011-03-10 18:41:20 +00:00
Daniel James
fddc8c896c Explicit list markup. Refs #1193
I don't think paragraph markup would be very useful right now, because
it wouldn't be usable in a phrase context.

These can't be templates because templates are implicitly wrapped in
paragraphs.

[SVN r69438]
2011-03-01 09:15:09 +00:00
Daniel James
7983810c39 Better anchor support for lists.
[SVN r69437]
2011-03-01 09:14:28 +00:00
Daniel James
661fd200ae Support escapes in simple markup.
[SVN r69332]
2011-02-27 15:37:47 +00:00
Daniel James
ab5cc3fb0c Make post_process a little less crashy.
[SVN r69318]
2011-02-27 10:09:53 +00:00
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
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
d245a87966 More nestable elements. Refs #1193
[SVN r69189]
2011-02-22 21:28:49 +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
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
d92609023f A value type for quickbook data.
[SVN r68882]
2011-02-15 00:20:10 +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
adaa57c8e3 Get the quickbook test tool working from other directories.
[SVN r68875]
2011-02-15 00:07:50 +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
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
bd8c0894b0 Place section anchors inside the section title.
Generates better html.

[SVN r68559]
2011-01-30 10:52:35 +00:00