Commit Graph

1191 Commits

Author SHA1 Message Date
Daniel James
dd52f1cd29 Fix some issues with inlined template code not being available to other compile units.
[SVN r65103]
2010-08-29 11:20:24 +00:00
Daniel James
c2b5212d49 Only stack macros when necessary.
Pushing and popping symbol containers is pretty expensive, so try to do
it less.

[SVN r65102]
2010-08-29 11:18:51 +00:00
Daniel James
59669b5afc Merge latest quickbook changes.
Restructures the code and tweaks docinfo. generation.


[SVN r65049]
2010-08-27 08:37:07 +00:00
Daniel James
d37ac4d4ac Move doc_info actions into their own file
[SVN r65037]
2010-08-26 21:01:14 +00:00
Daniel James
ae95377f50 Move most of code_snippet into its own file.
[SVN r65036]
2010-08-26 21:00:38 +00:00
Daniel James
5d81f4ed97 Less 'using namespace' in quickbook.
[SVN r65035]
2010-08-26 21:00:03 +00:00
Daniel James
90b9c8062c Only build the release quickbook by default.
[SVN r65034]
2010-08-26 20:59:32 +00:00
Daniel James
a9f99a5029 No longer use relative paths.
[SVN r65033]
2010-08-26 20:59:05 +00:00
Daniel James
cd70133e10 Fix indentation.
[SVN r65032]
2010-08-26 20:58:22 +00:00
Daniel James
21da9d06bd Separate grammar compilation.
[SVN r65031]
2010-08-26 20:57:45 +00:00
Daniel James
aafa5d83d2 Move the source files into a source directory.
[SVN r65030]
2010-08-26 20:56:37 +00:00
Daniel James
86bfaaf408 Detemplate the main grammars.
[SVN r65029]
2010-08-26 20:54:54 +00:00
Daniel James
661ab7b5e4 Instantiate the syntax highlighters in a separate compile unit.
[SVN r65028]
2010-08-26 20:54:12 +00:00
Daniel James
f2bf91e4c3 Rename overloaded 'parse' methods.
I find them confusing.

[SVN r65027]
2010-08-26 20:53:14 +00:00
Daniel James
802d39f6dc Warn about dirname, only valid for library.
[SVN r65012]
2010-08-26 08:06:42 +00:00
Daniel James
c65adc378a Don't generate empty document info tags.
[SVN r65011]
2010-08-26 08:04:08 +00:00
Daniel James
0d367a629d And inline the 'xml_' classes.
[SVN r65010]
2010-08-26 08:01:40 +00:00
Daniel James
8c4d737e58 Take those 'xml_' structs out of actions.hpp
[SVN r65009]
2010-08-26 07:59:51 +00:00
Daniel James
8eeff84ac5 Don't escape docinfo fields for quickbook <= 1.2
[SVN r65005]
2010-08-25 20:28:15 +00:00
Daniel James
23d910d7a3 Fix xml escaping for the license in quickbook 1.2 and less.
[SVN r64990]
2010-08-24 23:12:10 +00:00
Daniel James
351442d050 Escapes in doc info fields.
[SVN r64988]
2010-08-24 19:47:46 +00:00
Daniel James
dbecc8a31a Merge quickbook.
- Explicitly use filesystem v2.
 - Fix command line macros.
 - Allow headings to have ids (quickbook 1.6)
 - Trim space from the start of titles, after ids.
 - Don't put nested lists inside inside boostbook paragraphs.
 - Improved code block parser.
 - Small improvements to the template implementation.
 - Merge multiple list items in variable list entries.
 - Nested code snippets.
 - Bump version number for 1.5.3.



[SVN r64979]
2010-08-24 07:52:19 +00:00
Daniel James
4d4372f95e Bump quickbook version number.
[SVN r64978]
2010-08-24 07:38:21 +00:00
Daniel James
1dc08fd09c Nested code snippets.
[SVN r64976]
2010-08-23 21:51:53 +00:00
Daniel James
19ad99139a Recover after a failed varlistitem parse.
Maybe would be better to just bail out after a parse error.

[SVN r64975]
2010-08-23 21:49:33 +00:00
Daniel James
4b41d22c87 Merge multiple listitems in varlistentry.
Docbook only allows a single `listitem` in a `varlistentry` so combine
multiple items into a single item.

[SVN r64831]
2010-08-15 16:48:10 +00:00
Daniel James
aa69438440 Overhaul some of the template code.
* Store the location along with the contents of the template body, so
  the location should usually be correct now. Exceptions are code
  snippets, because they get rewritten, and the extra newlines added to
  block template.
* Store if a template is a block template at the time of creation. Using
  spirit to decide, rather than handwritten C++.
* Fix callout list markup.
* Fix the `skip_initial_spaces` stuff in `block.hpp`. This never really
  worked before. No longer have to skip spaces in `parse_template` in
  `actions.cpp`.

[SVN r64830]
2010-08-15 16:47:21 +00:00
Daniel James
e641698536 Better parser for code blocks.
* A line containing a comment with no identation will now end a code
  block.
* Code blocks no longer need to be followed by a blank line.

[SVN r64829]
2010-08-15 16:46:18 +00:00
Daniel James
7101c28eba Don't put nested lists inside a list item's paragraph.
[SVN r64828]
2010-08-15 16:45:27 +00:00
Daniel James
b622d1d6ee Trim space after element ids.
[SVN r64827]
2010-08-15 16:44:33 +00:00
Daniel James
6b6aad78a6 Ids for headings.
[SVN r64826]
2010-08-15 16:43:40 +00:00
Daniel James
8fe8e33699 Fix command line macros in quickbook.
[SVN r64825]
2010-08-15 16:41:54 +00:00
Daniel James
77cf3b5672 Merge quickbook typo fix from trunk.
[SVN r64654]
2010-08-07 07:22:28 +00:00
Daniel James
1b0c30e3bf Use filesystem v2 in quickbook for now.
[SVN r64604]
2010-08-04 22:11:39 +00:00
Daniel James
1dfcbf1dcb Typo in quickbook compile error.
[SVN r64601]
2010-08-04 21:28:49 +00:00
Daniel James
d32783ea8f Merge documentation changes.
[SVN r64186]
2010-07-19 23:29:09 +00:00
Daniel James
3dfa03deb7 Update bjam calls in quickbook docs.
[SVN r64138]
2010-07-18 16:49:01 +00:00
Daniel James
4977fab39a Redo previous merge.
Looks like there were some changes in my release repository that were
accidentally included.


[SVN r63921]
2010-07-12 11:08:43 +00:00
Daniel James
bbffbc83cb Merge quickbook, iostreams.
[SVN r63917]
2010-07-12 08:13:38 +00:00
Daniel James
54938aef15 Restore the invalid doc info attributes.
Removing them breaks the release notes, there's still a warning that
they're invalid. Refs #1281

[SVN r63896]
2010-07-11 23:15:18 +00:00
Daniel James
da2533ddee Merge quickbook.
Fixes #4302, #1436, #3907, #4416


[SVN r63815]
2010-07-10 15:25:25 +00:00
Daniel James
230a211767 Check the quickbook version is valid.
[SVN r63814]
2010-07-10 15:03:45 +00:00
Daniel James
c6d769cf0d Make repeated quickbook image attributes a warning rather than an error.
[SVN r63813]
2010-07-10 15:03:07 +00:00
Daniel James
1bc916f41f Generate different ids when reusing code snippets.
Generates the ids during template expansion instead of when parsing the
code snippet - so that different ids are used for different exapnsions.
Refs #4416

[SVN r63809]
2010-07-10 11:24:54 +00:00
Daniel James
a6712ee34f Use a structure for template symbol info.
[SVN r63808]
2010-07-10 11:24:07 +00:00
Daniel James
df0ab8082e Organise the quickbook release notes a bit better.
[SVN r63764]
2010-07-08 20:49:52 +00:00
Daniel James
26030cc220 Copy tests from spirit 2 branch.
The only remaining difference is the invalid output for callouts.

[SVN r63736]
2010-07-08 07:14:35 +00:00
Daniel James
f3a52f99ee Fix duplicate image attribute detection.
[SVN r63735]
2010-07-08 07:14:03 +00:00
Daniel James
9d9721f79e Fix xml encoding in a few places.
[SVN r63734]
2010-07-08 07:13:26 +00:00
Daniel James
db2cfd0d79 Fix documentation info handling in included files. Refs #3907.
[SVN r63733]
2010-07-08 07:12:43 +00:00