Commit Graph

399 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
f50dee9a1c Merge quickbook changes from 1.43
[SVN r62826]
2010-06-11 23:26:57 +00:00
Daniel James
c6849a1504 Merge from trunk.
[SVN r61088]
2010-04-05 22:18:30 +00:00
Daniel James
c0be01aaa8 Combine the main grammars into a single object.
[SVN r61082]
2010-04-05 19:45:18 +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
2ffc9ca738 A little more portable.
[SVN r60224]
2010-03-06 10:47:44 +00:00
Daniel James
9319f17ccb get_position is now only used in misc_rules.cpp so move it there.
[SVN r60140]
2010-03-03 23:31:19 +00:00
Daniel James
df8910f9fe Split up the block and phrase grammars
[SVN r60139]
2010-03-03 23:31:08 +00:00
Daniel James
81b208154f Use rule_store for various grammars.
[SVN r60138]
2010-03-03 23:30:56 +00:00
Daniel James
97475ec624 Add a class to store rules withot declaring them in the class' declarartion.
[SVN r60137]
2010-03-03 23:30:47 +00:00
Daniel James
b49de52fec Move some common rules into their own file.
[SVN r60136]
2010-03-03 23:30:31 +00:00
Daniel James
687c437674 Rename the grammar files.
[SVN r60135]
2010-03-03 23:30:16 +00:00
Daniel James
89d1fe413d Store if a template is a block template or not at the time of
definition.

Makes callouts easier to implement as it doesn't have to fake a block,
tracks the location better and will make it easier to be smarter about
block templates.

[SVN r60134]
2010-03-03 23:29:59 +00:00
Daniel James
e0ca409e2e The 'state' stack is only used for template scope state.
[SVN r60133]
2010-03-03 23:29:50 +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
fcc00552f0 HTML footnotes.
[SVN r59671]
2010-02-13 15:04:31 +00:00
Daniel James
c1e4183f65 Allow the encoders to store state.
[SVN r59670]
2010-02-13 15:04:22 +00:00
Daniel James
d56fb4eb34 HTML callouts.
[SVN r59669]
2010-02-13 15:04:09 +00:00
Daniel James
662fa064f6 Store the position of template parameters as well as the body.
[SVN r59668]
2010-02-13 15:03:56 +00:00
Daniel James
37ccc62f95 Add character encoding.
[SVN r59599]
2010-02-09 18:28:18 +00:00
Daniel James
fcee3e4ebb Better(?) header markup.
[SVN r59598]
2010-02-09 18:28:08 +00:00
Daniel James
eeaa6f01fc Use the new qi::matches directive.
[SVN r59573]
2010-02-07 15:15:59 +00:00
Daniel James
78aaf68e4e Handle years better in the html encoder.
Very slight change to the parser - it'll now accept any integer for the
years, before it was only a 4 digit value.

[SVN r59572]
2010-02-07 14:49:00 +00:00
Daniel James
7fe03d01ed Add html support to the post processor.
[SVN r59571]
2010-02-07 14:48:51 +00:00
Daniel James
bdcfaab888 Basic html generator.
[SVN r59570]
2010-02-07 14:48:41 +00:00
Daniel James
1f598dd0d4 Create an abstract interface for encoding the output. Sort of.
[SVN r59569]
2010-02-07 14:48:28 +00:00
Daniel James
2efad498a5 Get rid of 'as_string'. Use iterator ranges in some places instead of strings.
[SVN r59568]
2010-02-07 14:48:16 +00:00
Daniel James
699b1d5f95 Make syntax_highlight a function.
[SVN r59566]
2010-02-07 09:12:47 +00:00
Daniel James
623e0a7e01 A couple of unused things.
[SVN r59565]
2010-02-07 09:12:35 +00:00
Daniel James
029f19a410 Use state instead of actions in 'process'.
[SVN r59564]
2010-02-07 09:12:20 +00:00
Daniel James
a8dfaf1852 Separate actions and state.
[SVN r59563]
2010-02-07 09:12:02 +00:00
Daniel James
a4eb864260 Make the quickbook.hpp and actions.hpp match their respective cpp files.
[SVN r59562]
2010-02-07 09:11:42 +00:00
Daniel James
15f1d30ad1 Remove plain_char declaration.
[SVN r59561]
2010-02-07 09:11:18 +00:00
Daniel James
0713201bcd Partially translate doc_info handling to new style.
[SVN r59560]
2010-02-07 09:10:55 +00:00
Daniel James
d6cc18549f Remove some of the stuff in utils.?pp
[SVN r59559]
2010-02-07 09:10:29 +00:00
Daniel James
b325383f84 Separate out block output.
[SVN r59558]
2010-02-07 09:10:00 +00:00
Daniel James
2715553701 The rest of the phrase actions.
[SVN r59556]
2010-02-07 09:09:28 +00:00
Daniel James
1f5677cc6b Don't include markup in the grammars, instead use a string to indicate
what type of markup is expected.

[SVN r59555]
2010-02-07 09:09:04 +00:00
Daniel James
d64e2a873c Starting to separate out boostbook encoding.
[SVN r59554]
2010-02-07 09:08:40 +00:00
Daniel James
7778e02034 Explicitly instantiate process separately from the grammars and
introduce a hook for generating the output separately.

[SVN r59553]
2010-02-07 09:08:12 +00:00
Daniel James
bc3e3a83e8 Inline some unnecessary rules.
[SVN r59552]
2010-02-07 09:07:39 +00:00
Daniel James
5628da3e69 Better handling of single member structs.
[SVN r59551]
2010-02-07 09:07:09 +00:00
Daniel James
8f6494293c Reorder the rules within the block and phrase grammars.
I think this order makes sense, I'm not sure if anyone else would agree.

[SVN r59550]
2010-02-07 09:06:44 +00:00
Daniel James
186e9ff537 Bump the version number.
[SVN r59549]
2010-02-07 09:06:18 +00:00
Daniel James
72b9fdfcef Change header, as support_attributes.hpp doesn't seem to work on its
own.

[SVN r59548]
2010-02-07 09:05:55 +00:00
Daniel James
9990722f79 Fix ids in included files.
[SVN r59547]
2010-02-07 09:05:32 +00:00
Daniel James
739e0fb595 Properly merge callout fix.
[SVN r59546]
2010-02-07 09:05:10 +00:00