Commit Graph

1426 Commits

Author SHA1 Message Date
Daniel James
20fc4f2341 Remove duplicate code.
[SVN r84934]
2013-07-01 19:34:52 +00:00
Daniel James
774fe19d0b Check for errors when writing dependencies.
[SVN r84933]
2013-07-01 19:34:33 +00:00
Daniel James
0c69657973 Make nested paragraphs/code blocks in lists an error in 1.6.
They're now a 1.7 feature. Will revert to 1.5 behaviour before 1.6 final.

[SVN r84932]
2013-07-01 19:34:07 +00:00
Daniel James
bed2e3fa89 Remove superfluous code.
The blank lines will have already been matched by the paragraph separator.

[SVN r84931]
2013-07-01 19:33:33 +00:00
Daniel James
32e6a395de 1.6.0 alpha
[SVN r84930]
2013-07-01 19:33:13 +00:00
Daniel James
d4f93121dd Cherry-pick quickbook documentation fix.
[SVN r84890]
2013-06-23 21:20:06 +00:00
Daniel James
671747969e Fix 'doc info macros' id.
[SVN r84637]
2013-06-04 18:57:02 +00:00
Daniel James
7753fe7da3 Fix typo.
[SVN r84606]
2013-06-01 22:30:43 +00:00
Daniel James
919e42eafb Better project names.
[SVN r84564]
2013-05-30 21:47:02 +00:00
Daniel James
24ab5cc5bc Merge quickbook to release.
[SVN r84500]
2013-05-25 15:57:48 +00:00
Daniel James
24988d045c Quickbook version for 1.54
[SVN r84499]
2013-05-25 15:56:24 +00:00
Daniel James
e4ea915cef Fill in more missing quickbook test copyright info.
[SVN r84376]
2013-05-19 18:07:51 +00:00
Daniel James
d8b487499b Merge quickbook to release.
[SVN r84300]
2013-05-16 21:30:01 +00:00
Daniel James
238f0e4779 Use .quickbook extension for all test files.
[SVN r84252]
2013-05-12 14:34:27 +00:00
Daniel James
11fb4ba99c Add copyright comments to python tests.
Keep inspect happy.

[SVN r84251]
2013-05-12 14:33:46 +00:00
Daniel James
73d4d08aab Add trailing newlines.
[SVN r84250]
2013-05-12 14:33:31 +00:00
Daniel James
1cb4d17590 Cleaner unindentation code.
[SVN r84188]
2013-05-07 23:26:07 +00:00
Daniel James
13023a2ed3 Fix unindenting trailing spaces in code blocks.
[SVN r84187]
2013-05-07 23:25:47 +00:00
Daniel James
ac0f8cf92f Fix block example again. Refs #8545.
[SVN r84175]
2013-05-06 20:22:16 +00:00
Daniel James
172ff0f4e3 Macros in docinfo blocks for 1.6. Refs #8543.
[SVN r84153]
2013-05-05 13:47:26 +00:00
Daniel James
7e76b65ed8 C++11 keywords. Refs #8541.
[SVN r84152]
2013-05-05 13:46:57 +00:00
Daniel James
852820778d Only recognise preprocessor statements at the start of the line. Refs #8511.
[SVN r84151]
2013-05-05 13:46:38 +00:00
Daniel James
0e4b7dad31 Clean up mixed tabs/spaces when unindenting.
If the whitespace to be removed when unindenting a block is not
consistent, then replace all the indentation in that block with spaces
(i.e. expand tabs). This fixes some odd results that could happen, e.g.

    ....Line 1
    --->Line 2

(dots = spaces, arrow = tab) would become:

    ...Line 1
    Line 2

Because the first character was removed from each line. This now works
okay.

But I don't expand tabs when the whitespace that isn't removed is
inconsistent, which can have odd results, for example:

    ..Line 1
    ..->Line 2
    ......Line 3

Will just remove the first two spaces, resulting in:

    Line 1
    --->Line 2
    ....Line 3

This should be rare, as tabs after spaces are a bit odd. But maybe I
should convert to spaces more often. Perhaps when indentation is
inconsistent, or perhaps whenever a mixture of tabs and spaces are used,
or even always just do it.

[SVN r84150]
2013-05-05 13:46:23 +00:00
Daniel James
64c854a095 Store start of unindented block, as the original start.
Was storing the position after the removed text, this meant that I had
to use a special case for the first line, but now the algorithm is smart
enough to get it right.

[SVN r84149]
2013-05-05 13:46:07 +00:00
Daniel James
b4bd1cee94 Stop storing indentation in mapped source.
Instead work out the relevant position by finding the start of content
and working from there. It doesn't quite get it right if the position is
in the middle of the indentation, but that's fine.

I'm doing this because I want to be able to change the indentation if
it's a mix of tabs and spaces (which it currently messes up).

[SVN r84148]
2013-05-05 13:45:44 +00:00
Daniel James
770c4ec787 Add comments to location finding code for indented blocks.
[SVN r84147]
2013-05-05 13:45:21 +00:00
Daniel James
228e4a3add Make escaping dependent file names optional.
[SVN r84146]
2013-05-05 13:44:59 +00:00
Daniel James
edb6ddcb9f Escape paths in dependency list - I want to make this optional.
[SVN r84145]
2013-05-05 13:44:33 +00:00
Daniel James
45ff3f2f73 Options class to reduce parameters to parse_document.
[SVN r84144]
2013-05-05 13:44:03 +00:00
Daniel James
e926e24bb7 Support the token pasting operator in C++ code blocks. Refs #8510.
[SVN r84063]
2013-04-28 11:16:11 +00:00
Daniel James
e15daf76b8 Fix the block example.
[SVN r84062]
2013-04-28 10:46:41 +00:00
Daniel James
31580d55a1 Better argument parsing.
[SVN r83134]
2013-02-24 16:18:39 +00:00
Daniel James
dbb843095c Merge quickbook to release.
- Use `boost::string_ref`.
- Improved source map handling, unindent for code blocks.


[SVN r83133]
2013-02-24 14:53:38 +00:00
Daniel James
7b6525c19b Changelog note for quickbook 1.5.9
[SVN r83130]
2013-02-24 13:50:03 +00:00
Daniel James
dbb8192444 Split path normalization from 'add_dependency'.
[SVN r83125]
2013-02-24 11:23:53 +00:00
Daniel James
7fb3d706e1 Move dependency tracking into a separate class.
[SVN r83124]
2013-02-24 11:23:35 +00:00
Daniel James
8fa09072c2 Remove whitespace only leading lines from indented blocks.
[SVN r83123]
2013-02-24 11:23:15 +00:00
Daniel James
4ff7f3a9fb Fix mapped position when breaking up indented code.
[SVN r83122]
2013-02-24 11:23:02 +00:00
Daniel James
d7a8b2de2c Extract duplicated find_section code.
[SVN r83121]
2013-02-24 11:22:45 +00:00
Daniel James
75842c4f5d Clean up poorly overloaded 'add' method.
[SVN r83120]
2013-02-24 11:22:33 +00:00
Daniel James
c07d846935 Fix to_original_pos for indented blocks.
[SVN r83119]
2013-02-24 11:22:17 +00:00
Daniel James
f34940b3a7 Store indentation change in source map.
Used to infer it when required, which could go wrong.

[SVN r83118]
2013-02-24 11:22:03 +00:00
Daniel James
a586cd7822 Source map tests.
[SVN r83117]
2013-02-24 11:21:50 +00:00
Daniel James
b2a5262c81 Convert to use boost::string_ref
[SVN r83116]
2013-02-24 11:21:31 +00:00
Daniel James
248bef0ac6 Bump version number.
[SVN r83115]
2013-02-24 11:20:52 +00:00
Daniel James
7d11b6e8ed Quickbook: Fix typo.
[SVN r83018]
2013-02-19 19:15:53 +00:00
Daniel James
7e7be11fae Quickbook: Describe new 1.6 tags.
[SVN r82589]
2013-01-23 00:06:27 +00:00
Daniel James
24474c11ca Quickbook: Merge old changelog entries from trunk.
[SVN r82576]
2013-01-21 07:44:33 +00:00
Daniel James
f28e093ce6 Quickbook: Backdated changelog for 1.5.8.
Oops, I completely forgot to write this up at the time.

[SVN r82573]
2013-01-20 23:50:25 +00:00
Daniel James
27e796024a Quickbook: Merge documentation fix + version number for release.
[SVN r78850]
2012-06-07 17:59:01 +00:00