Commit Graph

121 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
Joel de Guzman
4819a6657e first shot at code "import". more tweaks to come.
[SVN r36467]
2006-12-20 15:41:53 +00:00
Joel de Guzman
0f41df252c fix postprocessor self-closed tag processing
[SVN r36459]
2006-12-19 13:05:08 +00:00
Joel de Guzman
af7a7212a2 Templates!!! :)
[SVN r34054]
2006-05-22 09:00:17 +00:00
Joel de Guzman
6d3e037a59 escaped xml post processing fix + replaceable markup
[SVN r32523]
2006-02-03 09:42:17 +00:00
João Abecasis
cacbb35ffc adding smaller self-contained tests (test1 renamed to quickbook-manual).
[SVN r32437]
2006-01-27 14:03:53 +00:00
João Abecasis
8ea2b63ef3 initial import of regression testing mechanism for quickbook.
(Note: has known annoyances and limitations)


[SVN r30806]
2005-09-05 01:50:41 +00:00