Commit Graph

1191 Commits

Author SHA1 Message Date
Daniel James
876c08b3e8 Deal with mismatched section tags in templates.
[SVN r59710]
2010-02-16 22:33:49 +00:00
Daniel James
ea57bed3d3 Support UTF-8 BOM if present.
I'm not sure if the utf-16/32 checks are the right thing to do, but as
quickbook only supports utf-8 for now, they'll work okay. Hopefully if
it ever support other encodings this should be offloaded to an
appropriate library.

[SVN r59677]
2010-02-14 13:09:52 +00:00
Daniel James
baec926449 Add to the include test.
[SVN r59544]
2010-02-07 08:56:41 +00:00
Daniel James
34683b6ac9 Change include test to demonstrate quickbook's slightly odd behaviour.
[SVN r59532]
2010-02-06 21:18:15 +00:00
Daniel James
856691d124 Simple include test.
[SVN r59527]
2010-02-06 15:12:55 +00:00
Daniel James
09d287b369 Adjust the block elements in the post-processor.
- 'replaceable' is an inline element.
 - Add some missing block elements.
 - Put the callout elements into order.

[SVN r59526]
2010-02-06 15:12:14 +00:00
Daniel James
77bb809256 Merge quickbook.
* Fix callout bug.
* Typo in table documentation.



[SVN r58601]
2009-12-30 19:11:22 +00:00
Hartmut Kaiser
9bcdc85d23 Spirit: merging from trunk
[SVN r58578]
2009-12-30 03:38:56 +00:00
Daniel James
a44a972cc8 Make table example output match code. Refs #3794.
[SVN r58523]
2009-12-24 01:48:08 +00:00
Daniel James
538d75710e Add a newline after callout bodies, to avoid confusing the quickbook parser.
[SVN r58040]
2009-11-29 21:06:23 +00:00
Daniel James
df40ab1e37 Merge some non-spirit 2 changes from the spirit 2 branch.
Mostly administrative, but also disable xinclude test as it fails on some
platforms due to the different paths used by boost build, I'm not sure how to
fix it.


[SVN r58034]
2009-11-29 19:16:42 +00:00
Daniel James
eed93bcc1a Merge a couple of documentation changes.
Merged revisions 56988-56989 via svnmerge from 
https://svn.boost.org/svn/boost/trunk

........
  r56988 | danieljames | 2009-10-18 21:18:28 +0100 (Sun, 18 Oct 2009) | 1 line
  
  Add release notes for unordered.
........
  r56989 | danieljames | 2009-10-18 21:18:43 +0100 (Sun, 18 Oct 2009) | 1 line
  
  Mention that image attributes are supported.
........


[SVN r57028]
2009-10-20 23:13:33 +00:00
Daniel James
5ef47624ae Mention that image attributes are supported.
[SVN r56989]
2009-10-18 20:18:43 +00:00
Troy D. Straszheim
7319ffc0c0 rm cmake from trunk. I'm not entirely sure this is necessary to satisfy the inspect script, but I'm not taking any chances, and it is easy to put back
[SVN r56942]
2009-10-17 02:07:38 +00:00
Troy D. Straszheim
0f8c4eb5fb rm cmake from the release branch before it goes out broken. Policy dictates that you never commit to release, you commit to trunk and merge to release.
[SVN r56941]
2009-10-17 01:10:45 +00:00
Daniel James
b7e989f452 Copy latest quickbook CMakeLists.txt from release.
[SVN r56755]
2009-10-12 20:21:13 +00:00
Daniel James
6977d5f96e Merge newline in quickbook.hpp
[SVN r56754]
2009-10-12 20:18:43 +00:00
Daniel James
056170abed Merge quickbook 1.5 from trunk.
Merged revisions 55905-55917,56077,56715,56717-56719 via svnmerge from 
https://svn.boost.org/svn/boost/trunk

........
  r55905 | danieljames | 2009-08-31 12:36:13 +0100 (Mon, 31 Aug 2009) | 1 line
  
  Update quickbook version number.
........
  r55906 | danieljames | 2009-08-31 12:36:23 +0100 (Mon, 31 Aug 2009) | 4 lines
  
  Create entry for 1.5 in the change log.
  
  Starting it of with some of the changes that have been made to quickbook
  since 1.4 - considering the first 1.4 release as the proper 1.4 release.
........
  r55907 | danieljames | 2009-08-31 12:36:34 +0100 (Mon, 31 Aug 2009) | 3 lines
  
  Wrap the template info in a struct.
  
  So that I can add extra scoping info.
........
  r55908 | danieljames | 2009-08-31 12:36:47 +0100 (Mon, 31 Aug 2009) | 1 line
  
  Implement static/lexical scoping for 1.5. Refs #2034.
........
  r55909 | danieljames | 2009-08-31 12:37:04 +0100 (Mon, 31 Aug 2009) | 1 line
  
  In quickbook 1.5 don't mix '..' and whitespace seperators for template arguments. Refs #1174
........
  r55910 | danieljames | 2009-08-31 12:37:17 +0100 (Mon, 31 Aug 2009) | 2 lines
  
  Put the quickbook version numbers in a single header, along with convenience
  functions for using them in spirit grammars.
........
  r55911 | danieljames | 2009-08-31 12:37:32 +0100 (Mon, 31 Aug 2009) | 3 lines
  
  Ignore spaces after 'section:' for quickbook 1.5+ Refs #2712
  
  And warn when section id is empty after colon.
........
  r55912 | danieljames | 2009-08-31 12:37:48 +0100 (Mon, 31 Aug 2009) | 1 line
  
  Introduce temporary id variable.
........
  r55913 | danieljames | 2009-08-31 12:37:59 +0100 (Mon, 31 Aug 2009) | 1 line
  
  Table ids. Refs #1194.
........
  r55914 | danieljames | 2009-08-31 12:38:11 +0100 (Mon, 31 Aug 2009) | 1 line
  
  Separate out the current version of the template argument parser, as I want to create a new one for 1.5
........
  r55915 | danieljames | 2009-08-31 12:38:20 +0100 (Mon, 31 Aug 2009) | 1 line
  
  Don't use seperators that are in brackets, or are escaped. Refs #2036.
........
  r55916 | danieljames | 2009-08-31 12:38:33 +0100 (Mon, 31 Aug 2009) | 1 line
  
  Add missing table tests.
........
  r55917 | danieljames | 2009-08-31 12:38:47 +0100 (Mon, 31 Aug 2009) | 1 line
  
  Support image attributes. Refs #1157.
........
  r56077 | djowel | 2009-09-07 02:35:24 +0100 (Mon, 07 Sep 2009) | 1 line
  
  fix for msvc
........
  r56715 | danieljames | 2009-10-11 17:18:04 +0100 (Sun, 11 Oct 2009) | 1 line
  
  Use qualified ids in tables, and fix a bug generating ids when there isn't a section.
........
  r56717 | danieljames | 2009-10-11 19:21:11 +0100 (Sun, 11 Oct 2009) | 1 line
  
  Document the simplified quickbook 1.5 argument separators.
........
  r56718 | danieljames | 2009-10-11 19:21:32 +0100 (Sun, 11 Oct 2009) | 1 line
  
  Use quickbook 1.5 in the document block example.
........
  r56719 | danieljames | 2009-10-11 19:21:48 +0100 (Sun, 11 Oct 2009) | 1 line
  
  Add table ids to the documentation.
........


[SVN r56752]
2009-10-12 19:54:36 +00:00
Daniel James
f9f5b8a25e Add table ids to the documentation.
[SVN r56719]
2009-10-11 18:21:48 +00:00
Daniel James
1cdfbb519c Use quickbook 1.5 in the document block example.
[SVN r56718]
2009-10-11 18:21:32 +00:00
Daniel James
42a4d94ee2 Document the simplified quickbook 1.5 argument separators.
[SVN r56717]
2009-10-11 18:21:11 +00:00
Daniel James
84bcb02298 Use qualified ids in tables, and fix a bug generating ids when there isn't a section.
[SVN r56715]
2009-10-11 16:18:04 +00:00
Daniel James
50abf7639b Various inspect fixes.
[SVN r56603]
2009-10-05 21:29:39 +00:00
Joel de Guzman
82fbbf05dc fix for msvc
[SVN r56077]
2009-09-07 01:35:24 +00:00
Daniel James
724da46536 Support image attributes. Refs #1157.
[SVN r55917]
2009-08-31 11:38:47 +00:00
Daniel James
7e39c930c2 Add missing table tests.
[SVN r55916]
2009-08-31 11:38:33 +00:00
Daniel James
52a56c1233 Don't use seperators that are in brackets, or are escaped. Refs #2036.
[SVN r55915]
2009-08-31 11:38:20 +00:00
Daniel James
aa97578c28 Separate out the current version of the template argument parser, as I want to create a new one for 1.5
[SVN r55914]
2009-08-31 11:38:11 +00:00
Daniel James
e9e100e881 Table ids. Refs #1194.
[SVN r55913]
2009-08-31 11:37:59 +00:00
Daniel James
aff762eee4 Introduce temporary id variable.
[SVN r55912]
2009-08-31 11:37:48 +00:00
Daniel James
3b839f1eb0 Ignore spaces after 'section:' for quickbook 1.5+ Refs #2712
And warn when section id is empty after colon.

[SVN r55911]
2009-08-31 11:37:32 +00:00
Daniel James
56e4e76941 Put the quickbook version numbers in a single header, along with convenience
functions for using them in spirit grammars.

[SVN r55910]
2009-08-31 11:37:17 +00:00
Daniel James
b23d6a9de7 In quickbook 1.5 don't mix '..' and whitespace seperators for template arguments. Refs #1174
[SVN r55909]
2009-08-31 11:37:04 +00:00
Daniel James
d2e0488349 Implement static/lexical scoping for 1.5. Refs #2034.
[SVN r55908]
2009-08-31 11:36:47 +00:00
Daniel James
c0661a9991 Wrap the template info in a struct.
So that I can add extra scoping info.

[SVN r55907]
2009-08-31 11:36:34 +00:00
Daniel James
cf94d24976 Create entry for 1.5 in the change log.
Starting it of with some of the changes that have been made to quickbook
since 1.4 - considering the first 1.4 release as the proper 1.4 release.

[SVN r55906]
2009-08-31 11:36:23 +00:00
Daniel James
4826a25212 Update quickbook version number.
[SVN r55905]
2009-08-31 11:36:13 +00:00
Troy D. Straszheim
8fdede8775 Copyrights on CMakeLists.txt to keep them from clogging up the inspect
reports.  This is essentially the same commit as r55095 on the release
branch.



[SVN r55159]
2009-07-26 00:49:56 +00:00
Troy D. Straszheim
7733f0b8ee Add basic copyright/license to keep cmake out of the inspection report
[SVN r55095]
2009-07-22 21:51:01 +00:00
Daniel James
af25300f1c Merge changes to documentation tools. Fixes #1202, #3242.
Merged revisions 54812-54818 via svnmerge from 
https://svn.boost.org/svn/boost/trunk

........
  r54812 | danieljames | 2009-07-08 22:40:14 +0100 (Wed, 08 Jul 2009) | 1 line
  
  Add a couple of tests for quickbook 1.4 behaviour to try to preserve it.
........
  r54813 | danieljames | 2009-07-08 22:40:24 +0100 (Wed, 08 Jul 2009) | 1 line
  
  Move all the syntax highlighting code into a single class.
........
  r54814 | danieljames | 2009-07-08 22:40:33 +0100 (Wed, 08 Jul 2009) | 1 line
  
  Move the code actions a bit later in actions.hpp so they can use 'plain_char_action'.
........
  r54815 | danieljames | 2009-07-08 22:40:46 +0100 (Wed, 08 Jul 2009) | 1 line
  
  Teletype source mode. Refs #1202.
........
  r54816 | danieljames | 2009-07-08 22:41:00 +0100 (Wed, 08 Jul 2009) | 14 lines
  
  Make sure that a template expansion ends with a ']'.
  
  {{{
  [template foo 1]
  [fool]
  }}}
  
  was generating `1[fool]` - the template would be expanded but then when it
  didn't match the `]` it would fail and just get copied to the output. This
  change checks for `]` before expanding the template. So it now generates
  `[fool]` which is an improvement.
  
  I'm not including a version switch as I see this as a plain bug fix - I can't
  imagine this change ever being anything but beneficial.
........
  r54817 | danieljames | 2009-07-08 22:41:10 +0100 (Wed, 08 Jul 2009) | 1 line
  
  I got a bit confused by this comment, so try to make it clearer.
........
  r54818 | danieljames | 2009-07-08 22:53:15 +0100 (Wed, 08 Jul 2009) | 3 lines
  
  Support INTERNAL ONLY enums in doxygen/boostbook documenation. Refs #3242.
  
  Patch by Mathias Gaunard.
........


[SVN r54910]
2009-07-12 16:09:04 +00:00
Daniel James
7ccea53425 I got a bit confused by this comment, so try to make it clearer.
[SVN r54817]
2009-07-08 21:41:10 +00:00
Daniel James
0ef306d485 Make sure that a template expansion ends with a ']'.
{{{
[template foo 1]
[fool]
}}}

was generating `1[fool]` - the template would be expanded but then when it
didn't match the `]` it would fail and just get copied to the output. This
change checks for `]` before expanding the template. So it now generates
`[fool]` which is an improvement.

I'm not including a version switch as I see this as a plain bug fix - I can't
imagine this change ever being anything but beneficial.

[SVN r54816]
2009-07-08 21:41:00 +00:00
Daniel James
a087316841 Teletype source mode. Refs #1202.
[SVN r54815]
2009-07-08 21:40:46 +00:00
Daniel James
5e52d075fa Move the code actions a bit later in actions.hpp so they can use 'plain_char_action'.
[SVN r54814]
2009-07-08 21:40:33 +00:00
Daniel James
f1c6aa36a7 Move all the syntax highlighting code into a single class.
[SVN r54813]
2009-07-08 21:40:24 +00:00
Daniel James
7c7c1a1765 Add a couple of tests for quickbook 1.4 behaviour to try to preserve it.
[SVN r54812]
2009-07-08 21:40:14 +00:00
Daniel James
8d8bdd73ea Merge latest hash developments:
* Avoid float to int warning.
 * Work around 'using namespace' bug in Visual C++.
 * Make `<boost/functional/hash/extensions.hpp> self contained.
 * Move some of the extension implementation from the main hash header
   into the exensions header.
 * Remove BOOST_HASH_CHAR_TRAITS from `container_fwd.hpp`.
 * Other minor changes.

Merged revisions 53828,53924,54024-54025,54033-54034,54139-54145,54399 via svnmerge from 
https://svn.boost.org/svn/boost/trunk

........
  r53828 | danieljames | 2009-06-12 19:24:47 +0100 (Fri, 12 Jun 2009) | 1 line
  
  Try to avoid float to int warning when a float function doesn't exist.
........
  r53924 | danieljames | 2009-06-15 08:37:42 +0100 (Mon, 15 Jun 2009) | 4 lines
  
  Remove hash_complex_test's dependency on Boost.Random.
  
  Only test for a few values, but that should be okay as there isn't much
  to test.
........
  r54024 | danieljames | 2009-06-17 22:22:49 +0100 (Wed, 17 Jun 2009) | 1 line
  
  Put the minimum amount of implementation in the same namespace as the 'using namespace' directives in order to avoid Visual C++ 8 bug.
........
  r54025 | danieljames | 2009-06-17 22:23:42 +0100 (Wed, 17 Jun 2009) | 1 line
  
  Try to avoid using special macro handling code.
........
  r54033 | danieljames | 2009-06-18 00:24:28 +0100 (Thu, 18 Jun 2009) | 1 line
  
  Add copyright to namespace_fail_test.cpp
........
  r54034 | danieljames | 2009-06-18 00:25:12 +0100 (Thu, 18 Jun 2009) | 1 line
  
  A couple of missing newlines.
........
  r54139 | danieljames | 2009-06-21 10:41:11 +0100 (Sun, 21 Jun 2009) | 1 line
  
  A few more comments in boost::hash.
........
  r54140 | danieljames | 2009-06-21 10:41:30 +0100 (Sun, 21 Jun 2009) | 1 line
  
  Move includes to the header which they're used in.
........
  r54141 | danieljames | 2009-06-21 10:41:46 +0100 (Sun, 21 Jun 2009) | 1 line
  
  Revert [54025] "Try to avoid using special macro handling code."
........
  r54142 | danieljames | 2009-06-21 10:42:05 +0100 (Sun, 21 Jun 2009) | 1 line
  
  Get <boost/functional/hash/extensions.hpp> to work.
........
  r54143 | danieljames | 2009-06-21 10:42:20 +0100 (Sun, 21 Jun 2009) | 1 line
  
  Move BOOST_HASH_CHAR_TRAITS from container_fwd into the hash headers, and undefine it.
........
  r54144 | danieljames | 2009-06-21 10:42:40 +0100 (Sun, 21 Jun 2009) | 1 line
  
  Move the support for hashing containers into the extension header, and improve the standard tests.
........
  r54145 | danieljames | 2009-06-21 10:51:59 +0100 (Sun, 21 Jun 2009) | 1 line
  
  I didn't mean to comment this out.
........
  r54399 | danieljames | 2009-06-27 08:39:12 +0100 (Sat, 27 Jun 2009) | 1 line
  
  Add am implementation note about the Visual C++ problems.
........


[SVN r54402]
2009-06-27 08:12:20 +00:00
Daniel James
e9455295ff A couple of missing newlines.
[SVN r54034]
2009-06-17 23:25:12 +00:00
Troy D. Straszheim
89991aa11f Merge of cmakefiles *from* (that's right, *FROM* :/ ) release branch.
[SVN r53150]
2009-05-21 14:05:15 +00:00
Daniel James
34650a5518 Import Python and C code snippets in quickbook.
Merged revisions 53018-53022 via svnmerge from 
https://svn.boost.org/svn/boost/trunk

........
  r53018 | danieljames | 2009-05-15 07:12:13 +0100 (Fri, 15 May 2009) | 1 line
  
  Import Python and C code snippets in quickbook, by Jaroslav Gresula.
........
  r53019 | danieljames | 2009-05-15 07:12:42 +0100 (Fri, 15 May 2009) | 1 line
  
  Use '.py' when checking for python files.
........
  r53020 | danieljames | 2009-05-15 07:12:59 +0100 (Fri, 15 May 2009) | 1 line
  
  Use the correct source type for snippets.
........
  r53021 | danieljames | 2009-05-15 07:13:17 +0100 (Fri, 15 May 2009) | 1 line
  
  Separate code snippet grammar and actions.
........
  r53022 | danieljames | 2009-05-15 07:13:34 +0100 (Fri, 15 May 2009) | 1 line
  
  Make code_snippet_action language ignorant.
........


[SVN r53045]
2009-05-16 13:48:54 +00:00