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
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
3a0bfb1559
Make 'to_s' a member of string_view
2017-08-06 14:13:11 +01:00
Daniel James
9d98653e9b
Try to be smarter about adding links to section titles
...
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.
2017-05-11 12:55:14 +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
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
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
89a2da027a
Quickbook: more use of phoenix.
...
[SVN r70205]
2011-03-19 19:16:32 +00:00
Daniel James
f7c5e244e8
Quickbook: merge further 'value' development.
...
[SVN r70185]
2011-03-19 14:43:12 +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
aea4163f6c
Use a single symbol table for all elements.
...
[SVN r67855]
2011-01-09 12:01:15 +00:00
Daniel James
7458a32e68
Use the Nabialek trick in quickbook.
...
[SVN r67325]
2010-12-19 13:27:48 +00:00
Daniel James
aafa5d83d2
Move the source files into a source directory.
...
[SVN r65030]
2010-08-26 20:56:37 +00:00