Commit Graph

515 Commits

Author SHA1 Message Date
Daniel James
248ccf3ca4 Use syntax highlighting for function reference.
This appears to have removed the computeroutput tags from function links in
the hash documentation. I'm not sure if the solution is to retain them in
annotation mode or to be smarted about syntax highlighting programlisting.

[SVN r86505]
2013-10-28 20:15:14 +00:00
Daniel James
885ed7e8c7 Support noexcept with a conditional.
Turns out Doxygen doesn't like BOOST_NOEXCEPT_IF. Text parsing in XSL is an
almighty pain, it might be better to just combine whatever follows the
arguments in argsstring with the values from the attributes.

[SVN r86285]
2013-10-13 11:10:38 +00:00
Daniel James
9e391505c4 Parse brackets in argsstring.
This may seem like overkill, but it's going to be needed for handling
parameters to noexcept. Doesn't handle escapes because that my sanity is
already stretched far enough.

[SVN r86284]
2013-10-13 11:10:01 +00:00
Daniel James
a7dd45375d Use specifiers attribute for virtual and explicit.
[SVN r86279]
2013-10-12 23:54:37 +00:00
Daniel James
e20b8195e1 Fix support for const, volatile, and pure virtual.
[SVN r86278]
2013-10-12 23:53:59 +00:00
Daniel James
78ba0b7b6e Add noexcept and constexpr to doxygen to boostbook coversion.
Should really add proper support to boostbook for `=delete`, `=default` and
noexcept, but I'm not feeling that keen right now. I'm not sure I did the right
thing with `BOOST_CONSTEXPR_OR_CONST`.

[SVN r86277]
2013-10-12 20:11:47 +00:00
Daniel James
9eb8e0a68b Less verbose handling of qualifiers.
[SVN r86276]
2013-10-12 20:11:16 +00:00
Daniel James
0702b53d10 Avoid confusing arguments with quialifiers from argsstring.
[SVN r86275]
2013-10-12 20:10:53 +00:00
Daniel James
807c6f0c71 Factor out method and function attributes.
Not all attributes apply to all methods and functions, but hopefully they should
never appear when inappropriate.

[SVN r86274]
2013-10-12 20:10:22 +00:00
Daniel James
ac51c2dcfc Try to make last-revsion a little more robust.
Don't display anything for empty '$Date$' variables, and just display the value
for normal, non version control values.

[SVN r86273]
2013-10-12 20:09:53 +00:00
Daniel James
8d4f56a3b8 Remove unused date handling code from html-help.
[SVN r86272]
2013-10-12 20:09:32 +00:00
Daniel James
e3d710413a Add newlines to doxygen2boostbook output.
Hopefully this won't break anything, and will make it much easier to read the
intermediate files.

[SVN r86271]
2013-10-12 20:09:10 +00:00
Daniel James
84603bfb06 Fix virtual methods in doxygen2boostbook.
[SVN r86270]
2013-10-12 20:08:37 +00:00
Daniel James
4e0ce03c6e Add assignment return to doxygen2boostbook. Refs #9241.
[SVN r86252]
2013-10-12 02:10:24 +00:00
Paul A. Bristow
a45ae11e03 Additions to implement colors from Quickbook 1.6.
But align feature (done in boostbook.css for html) is still not implemented.

[SVN r86229]
2013-10-10 15:40:07 +00:00
Daniel James
dfe3b4dfe5 Fully merge boostbook from trunk.
- Optionally use section ids as a class name for CSS styling, by using the
  `boost.section.class.add.id` parameter.
- Add the `role` attribute to the class for `section` and `simplesect`.
- Update the single html template to be closer to the chunked html.
- Fix the encoding for single page html.
- Add option to permit single depth TOC at chapter level, while maintaining
  multi-depth TOC at subsequent levels. Use the `boost.noexpand.chapter.toc`
  parameter.
- Add some C++11 keywords to the syntax highlighter.
- Support the fixed-length `$Date:: $` subversion keyword in last-revision
  library attributes.


[SVN r85047]
2013-07-15 21:24:43 +00:00
Robert Kawulak
fae9c57743 [BoostBook] Added support for SVN fixed-length $Date$ keyword.
[SVN r85021]
2013-07-13 12:44:17 +00:00
Daniel James
0d12037b77 Use US-ASCII for single page html.
Same as chunked html. We use ASCII because using UTF-8 can go wrong when a
server is set up to specify another encoding (this does happen). `xsltproc`
will encode all non-ASCII characters as html entities, so nothing will be lost.

[SVN r84560]
2013-05-30 19:02:30 +00:00
Daniel James
92e5116901 Make adding section's id to their class optional.
[SVN r84559]
2013-05-30 19:02:14 +00:00
Daniel James
8333508c17 Normalise space in section class.
Cleans up the output a tad bit when there's no role.

[SVN r84554]
2013-05-30 08:29:12 +00:00
Daniel James
25840691ee Add some C++11 keywords to syntax highlighter.
Quickbook's highlight includes the alternative operator representations (`and`,
and_eq` etc.). They should possibly be added as well.

[SVN r84553]
2013-05-30 08:28:56 +00:00
Daniel James
cfe6f00c51 Merge some boostbook changes from trunk. Fixes #5480.
The default/delete support, plus fix/update tests.




[SVN r84302]
2013-05-16 21:39:33 +00:00
John Maddock
1371bab260 Add option to permit single depth TOC at chapter level, while maintaining multi-depth TOC at subsequent levels.
This is primarily for the Math lib docs.

[SVN r84270]
2013-05-13 16:51:41 +00:00
Daniel James
ceb83870c1 Fix doxygen parameter 'formuladir' so that it doesn't need a trailing slash.
Would be nice to fix all uses of directories in a similar manner, but XSL is a
pain.

[SVN r84168]
2013-05-06 11:27:43 +00:00
Daniel James
b04fe544f4 Add doxygen tests for deleted and default functions. Refs #5480.
[SVN r84166]
2013-05-06 10:29:48 +00:00
Daniel James
7834e82ba8 Fix doxygen test.
For some reason the script is no longer creating an empty cv attribute. Which
appears to be a harmless change.

[SVN r84165]
2013-05-06 10:29:33 +00:00
Daniel James
24d607e6b6 Fix boostbook tests for platform inconsistencies.
[SVN r84164]
2013-05-06 10:29:15 +00:00
Rene Rivera
29690b73b0 Reflect the role section and simplesect values in the resulting HTML. So that we can style based on types of sections and simplesects. Also add an option to style the labels of sections.. Currently only allowing for removing the parent labels.
[SVN r84082]
2013-04-29 05:12:16 +00:00
Steven Watanabe
69c0d83433 Project ids are supposed to be unique. (Refs #5480)
[SVN r83936]
2013-04-16 22:20:16 +00:00
Andrey Semashev
d208dbcb26 Added support for defaulted and deleted functions in the generated docs. Doxygen 1.8.2 or later needed to generate proper XML for this stylesheet.
[SVN r83872]
2013-04-13 16:04:14 +00:00
Andrey Semashev
dae5ae0ab7 Added support for defaulted and deleted functions in the generated docs. Doxygen 1.8.2 or later needed to generate proper XML for this stylesheet.
[SVN r83872]
2013-04-13 16:04:14 +00:00
Daniel James
d7706b32f8 Merge Boostbook to release.
Fixes to support new index build setup. Also fix some of the tests.


[SVN r83131]
2013-02-24 14:36:18 +00:00
Daniel James
a2f08d47e5 Boostbook: Convert more for-each tags to copy-of.
[SVN r83016]
2013-02-19 19:15:18 +00:00
Daniel James
da2a2a8614 Boostbook: Better error messages from python tests.
[SVN r83015]
2013-02-19 19:14:03 +00:00
Daniel James
7b453c224f Boostbook: Regenerate the "gold" test docs.
The ids are now a little more truncated than they used to be, this is partly
due to the fix in r77599, and partly due to the generate-id generating longer
ids in newer versions of xsltproc.

It might be better to improve the id normalisation so that it is more
consistent across versions.

[SVN r82891]
2013-02-14 21:47:20 +00:00
Daniel James
b2cd68b118 Boostbook: Fix run-tests.py for new generate-id.
The form of the generated ids has changed due to a security issue.

[SVN r82890]
2013-02-14 21:45:56 +00:00
Daniel James
e33a468009 Boostbook: Simpler method for copying chapter attributes. Refs #7899.
I'm not sure if this will fix the issue, but it's worth a try.

[SVN r82863]
2013-02-14 00:58:09 +00:00
Daniel James
28c1a9678f Boostbook: Merge libxslt fix from trunk.
[SVN r81401]
2012-11-17 18:50:04 +00:00
Daniel James
7853cc1d04 Boostbook: Fix for libxslt 1.27.0.
libxslt now seems to think that $uppercase-letters and $lowercase-letters are
undefined at this point. I'm not sure if it's right, or if this is a regression
in libxslt, but it's easy enough to get working, and while it isn't ideal, it
isn't too problematic.

[SVN r81386]
2012-11-17 10:30:37 +00:00
Daniel James
992236e8ba Boostbook: Merge some fixes.
- Correctly identify constructors/destructors of class template specializations (steven_watanabe).
- Handle \param in macros (steven_watanabe).
- Fix tests for old changes.
- Fix `methodname` for `operator()`.


[SVN r80289]
2012-08-28 17:53:06 +00:00
Daniel James
dfc72f6d44 Boostbook: Fix methodname for operator().
[SVN r79657]
2012-07-22 07:17:55 +00:00
Daniel James
dd7f4dedf5 Boostbook: Update tests for change in [77599].
[SVN r79655]
2012-07-22 07:17:12 +00:00
Daniel James
3dfddbd9dc Boostbook: Fix tests for change in [75013].
[SVN r79654]
2012-07-22 07:16:32 +00:00
Steven Watanabe
058bacfdcd Handle \param in macros.
[SVN r79192]
2012-06-30 20:25:09 +00:00
Steven Watanabe
d7dcdd15be Correctly identify constructors/destructors of class template specializations.
[SVN r78602]
2012-05-24 19:38:51 +00:00
Steven Watanabe
7853756c2f Merge Boost.Build from the trunk.
[SVN r78204]
2012-04-26 03:35:55 +00:00
Steven Watanabe
8944b68ade Don't lose elements directly under the <programlisting> when highlighting jam code.
[SVN r77779]
2012-04-05 13:51:24 +00:00
Steven Watanabe
c8ac32c423 Highlight comments in jam.
[SVN r77764]
2012-04-04 19:00:53 +00:00
Steven Watanabe
786de940c8 Oops. Use the right attribute.
[SVN r77676]
2012-03-31 20:38:35 +00:00
Steven Watanabe
2c0b9019d3 Highlight programlistings too.
[SVN r77675]
2012-03-31 20:33:23 +00:00