Daniel James
c55b7ccc9f
Decode basic xml markup
...
Doesn't support things like custom entities, but should be good enough
for the boostbook/docbook that quickbook generates.
2017-12-30 21:10:58 +00:00
Daniel James
19ccdd6cbd
Reformat
2017-12-24 12:46:59 +00:00
Daniel James
33dffe7402
The characters are fine in escape_uri are fine for now
2017-10-04 18:51:09 +01:00
Daniel James
916f106afa
Use string_view instead of silly string rvalue optimisation
...
And lightly test the functions.
2017-10-04 18:49:33 +01:00
Daniel James
f7ef066d08
Change 'make_identifier' to a non-template function
...
The wacky way that it's written is supposed to avoid creating
unnecessary std::string. Not sure if it's really worth it, can be a bit
cleaner in C++11.
2017-08-06 14:31:30 +01:00
Daniel James
82dcaa8373
Use the string_iterator typedef
2017-08-06 12:38:11 +01:00
Daniel James
38e5c35294
Wrapper for boost::string_view
...
Can be constructed from an rvalue std::string.
2017-03-26 19:55:21 +01:00
Daniel James
cd42cc5632
Don't encode '+' in links.
2014-05-29 17:15:53 +01:00
Daniel James
c2a0bfcd6f
Validate and process link values.
...
[SVN r86687]
2013-11-13 21:49:05 +00:00
Daniel James
ba9e2ed772
Encode the filename macro.
...
Also tweak the utils string functions.
[SVN r85807]
2013-09-20 19:52:38 +00:00
Daniel James
b2a5262c81
Convert to use boost::string_ref
...
[SVN r83116]
2013-02-24 11:21:31 +00:00
Daniel James
e92eec9099
Quickbook: Remove get_file_type - it isn't used.
...
[SVN r76641]
2012-01-22 23:05:17 +00:00
Daniel James
650c3088c2
Quickbook: Track position in code blocks and snippets.
...
[SVN r75614]
2011-11-22 23:45:37 +00:00
Daniel James
1e3a88f440
Quickbook: Support escapes in links, anchors, images, includes, imports and exports.
...
[SVN r75360]
2011-11-06 22:22:42 +00:00
Daniel James
4dea2a8ad5
Quickbook: Keep files in memory, stop tracking position in iterators.
...
Files are now permanently loaded. Quickbook substrings are stored as
references into the file. Now positions are stored as iterators into
the original file, the line and column is calculated when messages are
output.
This doesn't have much effect on efficiency but it simplifies a few
things.
[SVN r75253]
2011-11-02 07:57:47 +00:00
Daniel James
4012b1f753
Quickbook: Merge to quickbook-dev.
...
[SVN r73983]
2011-08-21 13:27:52 +00:00
Daniel James
8bdaab2f37
Quickbook: Detab
...
[SVN r71014]
2011-04-05 20:06:11 +00:00
Daniel James
066d27a264
Quickbook: Better error messages when loading a file.
...
[SVN r70978]
2011-04-04 22:11:09 +00:00
Daniel James
dc47dcbdc9
Quickbook: Don't require newlines at end of grammar.
...
[SVN r70617]
2011-03-27 10:31:13 +00:00
Daniel James
496cdb2ed6
Merge improved unicode support on windows for quickbook.
...
[SVN r70044]
2011-03-17 00:12:56 +00:00
Daniel James
a9f99a5029
No longer use relative paths.
...
[SVN r65033]
2010-08-26 20:59:05 +00:00
Daniel James
aafa5d83d2
Move the source files into a source directory.
...
[SVN r65030]
2010-08-26 20:56:37 +00:00