Commit Graph

95 Commits

Author SHA1 Message Date
Daniel James
e529faf7ba Merge the 1.5.2 changes from trunk.
[SVN r62830]
2010-06-12 08:29:53 +00:00
Daniel James
c6849a1504 Merge from trunk.
[SVN r61088]
2010-04-05 22:18:30 +00:00
Daniel James
b4ef46522e Fix some errors with including files.
[SVN r61081]
2010-04-05 19:44:24 +00:00
Daniel James
2a08121634 Similar escape fix for older quickbook documentation versions.
[SVN r61080]
2010-04-05 19:43:57 +00:00
Daniel James
1aed06dc83 Fix the character escaping in some places. A bit clumsy.
[SVN r61079]
2010-04-05 19:43:14 +00:00
Daniel James
cc517751b4 Merge from trunk, fixing unicode escapes in the process.
[SVN r60730]
2010-03-20 07:56:38 +00:00
Daniel James
1c03668d09 Merge from trunk.
The new unicode escape support showed up a difference with the old version.
Header ids were generated from boostbook, while this version was generated them
from quickbook. So fix that as well.


[SVN r60067]
2010-03-02 01:44:48 +00:00
Daniel James
d56fb4eb34 HTML callouts.
[SVN r59669]
2010-02-13 15:04:09 +00:00
Daniel James
9990722f79 Fix ids in included files.
[SVN r59547]
2010-02-07 09:05:32 +00:00
Daniel James
74a661ee00 Merge from trunk.
[SVN r59545]
2010-02-07 09:00:18 +00:00
Daniel James
296d4ab79a Merge from trunk.
[SVN r59533]
2010-02-06 21:21:50 +00:00
Daniel James
52cfa38304 Merge from trunk.
[SVN r59528]
2010-02-06 15:18:27 +00:00
Daniel James
4626701586 Make doc_info_grammar produce a synthesized attribute.
It still sets the quickbook version and source mode in action/global
state.

[SVN r59314]
2010-01-27 22:04:42 +00:00
Daniel James
d8669b82c6 Add quick test for cond_phrase.
[SVN r59292]
2010-01-27 22:00:10 +00:00
Daniel James
f9967afbff Add a list test.
[SVN r59288]
2010-01-27 21:59:24 +00:00
Daniel James
056e94609a Use synthesized attributes for images.
[SVN r58045]
2009-11-29 22:52:25 +00:00
Daniel James
eb79f9a85b Use synthesized attributes for template calls.
[SVN r57779]
2009-11-18 23:20:41 +00:00
Daniel James
2686b44990 Get the tests to pass. xinclude breaks because of build path differences.
[SVN r57771]
2009-11-18 23:09:56 +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
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
e9e100e881 Table ids. Refs #1194.
[SVN r55913]
2009-08-31 11:37:59 +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
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
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
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
177b47c57f Use the correct source type for snippets.
[SVN r53020]
2009-05-15 06:12:59 +00:00
Daniel James
d86a2fe747 Use our own escape character parser.
We're currently using the spirit escaped character parser. This is a
strict C parser and causes parse errors for code that we probably should
accept, such as any hexadecimal encoded characters with a value greater
than the maximum value of the current platform's 'char'.  This is \x7F
on some platforms so it rejects '\x80' upwards. As well as rejecting
characters that might be valid, it also means that quickbook will act
differently on different platforms.

In python strings, '\xaaa' is equivalent to '\xaa' + 'a', but the spirit
parser interprets this as a character with value '0xaaa'. So we probably
should accept these.

I also think we should be liberal about what we accept. IMO it isn't our
job to enforce correct C++/python, just to create a reasonable
rendering of our input. So rather than write a parser which understands
the various types of escapes, I just wrote one that ignores any
character following a backslash.

Refs #2860.

[SVN r51949]
2009-03-24 08:34:09 +00:00
Daniel James
43504cb0b4 Revert r51403.
[SVN r51883]
2009-03-21 15:48:55 +00:00
Daniel James
630f5f1e9f Fix syntax error in tests.
There was a failing test caused by a syntax error in a test. The
solution is probably to improve the syntax in a new version and issue a
warning in older versions.

[SVN r51801]
2009-03-16 20:19:00 +00:00
Daniel James
003d80629b Accept space between 'section:' and the section id.
Ref #2712.

[SVN r51403]
2009-02-22 23:48:51 +00:00
Daniel James
84adcfe135 Generate slightly more valid boostbook.
For document types other than library:
* Don't generate name or dirname for document types.
* Put title before document info.

Ref #2771

[SVN r51402]
2009-02-22 23:48:37 +00:00
Daniel James
ae54194c43 Since I accidently added a quickbook fail tests to the Jamfile in the last checkin, I might as well add them.
[SVN r50211]
2008-12-08 23:20:26 +00:00
Daniel James
5d51d43801 Hard fail on quickbook post process errors.
[SVN r50210]
2008-12-08 23:14:23 +00:00
Daniel James
a6b8f8aac4 Fail on a mismatched '' in the python and c++ syntax highlighters. And then ignore the rest of the code block to avoid further errors and warnings.
[SVN r50207]
2008-12-08 21:51:56 +00:00
Daniel James
f677418c29 Use new include paths for classic spirit in quickbook text_diff utility.
[SVN r50193]
2008-12-08 16:17:13 +00:00
Daniel James
0c651ef0e1 Fix processing of unmatched escape characters in code - and issue a warning for unexpected characters.
[SVN r50175]
2008-12-07 12:37:07 +00:00
John Maddock
6860c334ab Added dependency to the test file.
[SVN r50109]
2008-12-04 10:14:19 +00:00
Daniel James
313bd8fcc6 Keep a count of errors in quickbook, and return an error code when appropriate. Refs #1399.
[SVN r50091]
2008-12-03 19:14:42 +00:00
John Maddock
be7b4d637e Added quickbook-fail-test rule and two tests that make use of it: note that these currently fail.
[SVN r50084]
2008-12-03 09:42:52 +00:00
John Maddock
30eeeb0952 Fix Jamfile by adding <preserve-test-targets>on to test requirements.
[SVN r50068]
2008-12-02 13:13:57 +00:00
Joel de Guzman
c2c1a8d55b tweak for the failure tests
[SVN r48158]
2008-08-15 12:17:28 +00:00
Douglas Gregor
e327a65ab5 Add mime-type and eol-style properties as needed
[SVN r46445]
2008-06-17 13:54:46 +00:00
Joel de Guzman
e3d132e111 - doc updates
- rudementary template debugging
- template bug! added in test

[SVN r45598]
2008-05-21 06:29:33 +00:00
Joel de Guzman
a8797c9f8f updated tests
[SVN r45594]
2008-05-21 04:01:31 +00:00
Joel de Guzman
962d30ec9e Fix Ticket Ticket #1235
(http://svn.boost.org/trac/boost/ticket/1235)

[SVN r39291]
2007-09-15 00:19:44 +00:00
Joel de Guzman
e6f6fd357c fix line endings
[SVN r38547]
2007-08-09 02:07:16 +00:00