Commit Graph

1191 Commits

Author SHA1 Message Date
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
Daniel James
cd7cac186c Quickbook: Fix documentation.
Was using a feature I haven't implemented yet.

[SVN r78728]
2012-05-28 17:58:37 +00:00
Daniel James
b3b8feb4e1 Quickbook: Set version for release.
[SVN r78727]
2012-05-28 17:57:42 +00:00
Daniel James
9a4c124512 Quickbook: Merge from trunk. Fixes #6691, #6794
[SVN r78210]
2012-04-26 17:46:02 +00:00
Daniel James
be3e509cd7 Quickbook: Remove intrusive_base. Refs #6794.
[SVN r77998]
2012-04-15 20:02:32 +00:00
Daniel James
80e65f66fe Quickbook: Deal with checked paths that aren't present. Refs #6691.
I think that the dependencies should just be files that were loaded, so
I changed it to do that, but added an extra (hidden for now) option to
list all paths that were checked, staring with a `+` for files that are
present, and `-` for files that are absent.

Also fixed a bug with the path resolver.

[SVN r77973]
2012-04-14 17:33:14 +00:00
Daniel James
818aeade78 Quickbook: Use container forwarding for gcc/darwin.
It's usually safe. Especially since we're controlling the build.

[SVN r77830]
2012-04-08 15:27:48 +00:00
Daniel James
23fbf1a714 Quickbook: Further dependencies development. Refs #6691
- Include relevant locations on path where file wasn't found.
- Improve `include_search` while I'm at it.
- Normalize paths for non-existent files.
- Tests, not integrated with Boost.Build yet. Needs to check that
  python is available then run the script with the location of the
  quickbook executable.

[SVN r77598]
2012-03-27 23:00:48 +00:00
Daniel James
3ba6e2bc0a Quickbook: Partial merge from trunk.
- Fixes to 1.6 lists, involving blocks in lists.
- Use anchors for links in documentation, and explicit section ids. Will make
  it easier to edits docs in future.
- Fix filesystem includes.


[SVN r77569]
2012-03-26 20:48:00 +00:00
Beman Dawes
026d48a08a Filesystem no longer provides a VC++ Solution for VC++ 9
[SVN r77560]
2012-03-26 14:05:40 +00:00
Daniel James
a17fd624c7 Quickbook: Track dependencies in state. Refs #6691
- Use cananoical filenames where possible.
- Remove duplicates.
- Include SVG files.
- Less hacky.

[SVN r77490]
2012-03-22 23:19:30 +00:00
Daniel James
fc8d7bf0ef Quickbook: Rough stab at outputting dependencies. Refs #6691
Adds `--output-deps` flag. To write out dependencies to `deps.txt`:
{{{
quickbook --output-deps deps.txt source.qbk
}}}

If `--output-deps` is specified, quickbook won't generate an output file
unless one is specified with `--output-file`. If there is an error it
will return an error code, but it will still write out all the opened
files.

Known issues:
- If the same file is included/imported twice it may or may not list it
  twice. Should be consistent.
- Doesn't include SVG files. It probably should as they can affect the
  output.
- Need to check some of the path issues for things such as xinclude
  paths which depend on the output file path.
- Needs tests and documentation.

[SVN r77442]
2012-03-20 23:43:33 +00:00
Daniel James
6d2840baff Quickbook: Remove glob support for now. It isn't ready for release.
[SVN r77383]
2012-03-18 19:50:18 +00:00
Daniel James
6c54bc38c4 Quickbook: Merge quickbook-dev into trunk.
[SVN r77382]
2012-03-18 19:39:00 +00:00
Daniel James
9b332bdcf9 Quickbook: Merge from trunk.
[SVN r77380]
2012-03-18 18:44:50 +00:00
Daniel James
8f025d4c2a Quickbook: Remove 'v3' filesystem paths.
[SVN r77367]
2012-03-18 12:57:20 +00:00
Beman Dawes
dc71a7d9cd Minor tweaks
[SVN r77364]
2012-03-18 10:41:57 +00:00
Daniel James
0463a93263 Quickbook: Merge from trunk.
Includes blocks in lists fixes, and some documentation changes.


[SVN r77347]
2012-03-16 08:48:10 +00:00
Daniel James
fd49fdb531 Quickbook: Fix indented code parsing in lists.
[SVN r77346]
2012-03-15 22:59:49 +00:00
Daniel James
277bdf3a00 Quickbook: Fix handling of section tags in lists.
[SVN r77345]
2012-03-15 22:59:00 +00:00
Daniel James
fe883c5b76 Quickbook: Use anchors for linking to syntax.
Will make restructuring documentation easier.

[SVN r76972]
2012-02-11 12:34:10 +00:00
Daniel James
d525c56f60 Quickbook: Some explicit section ids.
[SVN r76971]
2012-02-11 12:33:46 +00:00
Daniel James
821ed06ac5 Quickbook: Merge from trunk.
[SVN r76852]
2012-02-03 08:38:06 +00:00
Daniel James
1039be0a96 Quickbook: Set version for release.
[SVN r76848]
2012-02-02 23:47:39 +00:00
Daniel James
d9931935cd Quickbook: Changelog for 1.49
[SVN r76847]
2012-02-02 23:47:19 +00:00
Daniel James
47739c0fa9 Quickbook: Be pedantic about utf-8 code points vs. chars.
[SVN r76802]
2012-01-30 23:52:43 +00:00
Daniel James
62bf4225be Quickbook: Fix handling UTF-8 characters in the syntax highlighter.
So far, quickbook has just pretended that it's dealing with a single
byte encoding.  For the most part this works quite well due to the
design of UTF-8, but the syntax highlighter needs to pick out individual
characters correctly, so implement just enough to do that. Does odd
things with invalid UTF-8.

[SVN r76790]
2012-01-30 00:06:36 +00:00
Daniel James
ad3097e83a Quickbook: Use custom stream-like class for console output.
Deals correctly with paths and UTF-8 strings.

[SVN r76789]
2012-01-30 00:05:59 +00:00
Daniel James
ffd951c3e4 Quickbook: Merge heading fix to release.
[SVN r76785]
2012-01-29 22:46:13 +00:00
Daniel James
a883a5b13c Quickbook: Initial implementation of templates in link values.
[SVN r76647]
2012-01-22 23:08:21 +00:00
Daniel James
e68f10c542 Quickbook: Use half-open ranges for version checks.
[SVN r76646]
2012-01-22 23:07:54 +00:00
Daniel James
0c0795fcff Quickbook: Escaped markup in docinfo blocks.
[SVN r76645]
2012-01-22 23:07:26 +00:00
Daniel James
bcd3ca2aa5 Quickbook: Rename actions to state.
[SVN r76644]
2012-01-22 23:06:56 +00:00
Daniel James
30a3300297 Quickbook: Don't include actions.hpp from actions_class.hpp.
[SVN r76643]
2012-01-22 23:06:17 +00:00
Daniel James
da8455d21e Quickbook: Stop storing actions in actions.
They're copied into the grammar so it's fine to create them as needed.
This means that `actions` is very badly named now.

[SVN r76642]
2012-01-22 23:05:49 +00:00
Daniel James
e92eec9099 Quickbook: Remove get_file_type - it isn't used.
[SVN r76641]
2012-01-22 23:05:17 +00:00