Apparently the test reporting system can't parse the test output as the
source was the executable. So change it to the source file.
Delete the Jamfile for the line-compare tool, as it doesn't do anything,
and could cause confusion. It would look like it could be used to change
the way that line-compare is built, but it can't.
Also changed to use a different directory for comparison, to avoid a name
clash. This is probably a good idea anyway.
Really not sure about this, but filesystem doesn't have great support
anyway[1], and this handles some unusual cases better.
[1]: https://svn.boost.org/trac10/ticket/5448
Before the idea was that check_glob would throw out any invalid globs, and then
if they somehow got through glob would just fail to match. I now feel it would
be better if it also complained on finding an invalid glob, although it will
only detect an invalid glob if the pattern matches up to that point.
It was incorrect because it was following symlinks. That means that a
build system wouldn't detect is a symlink changed. It's probably best
not to do any normalization at all and leave it to the build system.
Docbook requires sections to have titles, but if they're empty it writes
out a '???' title, having not title seems cleaner. Can be fooled by
putting empty phrase markup in the title, so might need to be a little
smarter about that.
I'm considering adding a warning, perhaps an error in strict mode.
Specifically std::auto_ptr. The master branch of spirit still dependends
on std::auto_ptr, but develop doesn't, and hopefully that will be merged
eventually.
This implementation uses a linked list, which isn't the fastest
implementation but is simple to implement.
It was trying to link unlinked text, but got in a bit of a mess when
links are nested in other markup. Also reads the 'quickbook-escape'
content, now it's just checking for the presence of links that should be
fine.
When adding links, don't add them around other links. If there's
anything outside of existing links, they'll still get linked. Although,
maybe it would be better to only add link tags when the title doesn't
contain any links. This might be over-complicated and confusing.
Doesn't actually do anything yet. Also implemented a dummy '--strict'
command line option in text_diff.cpp, as I couldn't work out how to pass
'--strict' to quickbook and not to text_diff in the tests. So instead
just make text_diff ignore it.
Which messes up testing. `include_paths.cpp` depends on `quickbook.cpp`
which depends on `program_options`. These kind of problems are mainly
with the use of globals, so I'll need to sort that out sooner or later.
After renaming file_path_to_url because it doesn't handle directories
correctly, I realised it was being used for directories in xmlbase. So
this fixes that. I didn't really want it to check the filesystem but
might have to do so. Proper fix coming up later.