Daniel James
6b46281363
Fix some shadow warnings + tweak constructors
...
Fixed a lot of shadow warnings. Haven't actually turned shadow warnings
on, as there are a lot of warnings in dependencies. Also made some
constructors explicit, and tweaked the initialisers in some places.
2017-09-02 15:03:21 +01:00
Daniel James
7caa0d0edc
Remove trailing comma from enum
2017-08-24 10:00:56 +01:00
Daniel James
260ddd0008
Extra brackets to avoid gcc warning
2017-08-24 09:53:35 +01:00
Daniel James
b56555b020
Fix some warnings
2017-08-17 20:29:21 +01:00
Daniel James
21843b1cff
Add gcc 4.4 and clang 3.4 to travis
2017-08-14 23:18:35 +01:00
Daniel James
d8680fa075
Test using C++11
2017-08-14 23:17:27 +01:00
Daniel James
fc5350500b
Move universal variables out of matrix
2017-08-14 23:16:39 +01:00
Daniel James
6859bf6e94
Build debug quickbook, so it'll be reused for tests
2017-08-09 20:45:10 +01:00
Daniel James
b913b0192b
Some path_difference tests + fix non-existent directories
2017-08-09 20:12:56 +01:00
Daniel James
7ef7909d5e
Add tests for normalize_path
2017-08-09 20:12:56 +01:00
Daniel James
ba64e37ae4
Rename file_path_to_url_test.cpp to path_test.cpp
2017-08-09 20:12:56 +01:00
Daniel James
433295308e
Restore file_path_to_url_test
2017-08-09 20:12:55 +01:00
Daniel James
d2125b6978
Rename 'normalize_path_from_root'
2017-08-09 20:12:55 +01:00
Daniel James
230c2a516b
Move 'normalize_path' into path.cpp
2017-08-09 20:12:54 +01:00
Daniel James
1f4b71c744
Clean up ostream typedefs
2017-08-09 20:12:54 +01:00
Daniel James
a45ffc5772
Extract stream and path code from native_text
2017-08-09 20:12:47 +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
fca89b5d7b
Rename parse_document_options variable to just options
2017-08-06 13:16:24 +01:00
Daniel James
82dcaa8373
Use the string_iterator typedef
2017-08-06 12:38:11 +01:00
Daniel James
dfa46af035
Pull some includes out of fwd.hpp
2017-08-06 12:08:56 +01:00
Daniel James
426ca5623e
Better error handling for command line file options
2017-08-01 13:05:13 +01:00
Daniel James
e7f3e47faa
Ignore visual studio kipple
2017-07-29 20:25:43 +01:00
Daniel James
cc7a8da7ed
Don't display 'development' warning for unknown versions
2017-07-29 20:25:43 +01:00
Daniel James
5508d7ea15
Merge pull request #2 from asomers/bin_bash
...
Fix bash paths in shebangs
2017-07-28 23:47:01 +01:00
Alan Somers
2fad888582
Fix bash paths in shebangs
...
"/bin/bash" is a Linuxism. "/usr/bin/env bash" is portable.
2017-07-26 11:18:37 -06:00
Rene Rivera
fb92ce0e6e
Merge remote-tracking branch 'origin/develop'
2017-07-14 13:59:20 -06:00
Rene Rivera
b38001ce3d
Add callout parsing for python sources.
2017-07-12 22:03:08 -06:00
Rene Rivera
05bec31f90
Allow jam source to be included/imported with python parsing.
...
This allows *.jam files to be treated as python files when importing and
including since the jam comment syntax is the same a python. This allows
us to write docs with b2 build files.
2017-07-11 10:50:56 -06:00
Daniel James
67533c4fda
Merge branch 'develop'
...
Contains some half written documentation, but it won't be built, so it's
not really a problem.
2017-06-23 00:16:17 +01:00
Daniel James
7918453e53
Merge branch 'feature/new-stuff'
2017-06-18 19:14:12 +01:00
Daniel James
87d2cbfd52
Merge branch 'feature/new-stuff' into develop
2017-06-11 20:58:33 +01:00
Daniel James
e51ecad32a
Merge branch 'fixes'
2017-06-11 20:57:13 +01:00
Daniel James
9c5e20922b
Fetch gh-pages branch, before updating it
2017-06-08 02:48:19 +01:00
Daniel James
b64e647a3f
Use URL of remote to publish to
2017-06-08 02:44:50 +01:00
Daniel James
782cb2201a
Fix links to examples in guide
2017-06-08 02:40:50 +01:00
Daniel James
785e80b42d
Remove superfluous calls to content.get_encoded for section title
2017-05-22 01:29:24 +01:00
Daniel James
21f975565e
Merge branch 'feature/new-stuff' into develop
2017-05-22 01:19:22 +01:00
Daniel James
18b37e4045
Don't write out empty section titles
...
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.
2017-05-22 01:10:54 +01:00
Daniel James
9d27c1b2a8
Quick comments describing some grammar rules
2017-05-22 01:10:54 +01:00
Daniel James
7c1b3794b0
Merge branch 'feature/new-stuff' into develop
2017-05-20 17:24:04 +01:00
Daniel James
af70e87f44
Reimplement quickbook::cleanup to be dependency free
...
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.
2017-05-20 17:09:33 +01:00
Daniel James
bd88716a09
Merge branch 'feature/new-stuff'
2017-05-20 17:08:23 +01:00
Daniel James
4a9c9f80f0
Merge branch 'feature/new-stuff' into develop
2017-05-11 22:14:58 +01:00
Daniel James
b2699933f9
Merge branch 'fixes' into develop
2017-05-11 22:14:52 +01:00
Daniel James
770840b926
In linkify, only add lins when there aren't any already
...
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.
2017-05-11 22:11:11 +01:00
Daniel James
35b1e1d771
Merge branch 'fixes'
2017-05-11 21:40:02 +01:00
Daniel James
fd59dd75f4
Revert "Use strict mode for quickbook documentation"
...
This reverts commit 419400106a
.
2017-05-11 21:34:48 +01:00
Daniel James
31d9ac3eff
Merge branch 'feature/new-stuff' into develop
2017-05-11 13:09:59 +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