Commit Graph

1191 Commits

Author SHA1 Message Date
Daniel James
46d1d1447c Some tests for duplicate docinfo attributes.
[SVN r68878]
2011-02-15 00:16:43 +00:00
Daniel James
fb36de29cb Fix empty category.
[SVN r68877]
2011-02-15 00:15:55 +00:00
Daniel James
49cbaf4894 Count lines and columns from 1 in the quickbook iterator.
[SVN r68876]
2011-02-15 00:08:33 +00:00
Daniel James
adaa57c8e3 Get the quickbook test tool working from other directories.
[SVN r68875]
2011-02-15 00:07:50 +00:00
Daniel James
457716aa75 Partial fix for portable path detection.
`portable_posix_name` is for checking names not paths. So instead just
warn if the path contains a `\` which is close enough. Should really be
using URLs. Maybe converting `\` to `/` (with a warning) for backwards
compatability.

[SVN r68656]
2011-02-05 15:42:29 +00:00
Daniel James
e46628ce41 Fix rooted path handling on windows.
Was using `!path.is_complete()` to check if a path is relative - this
doesn't work on windows since paths like `\a\b` and `c:foo` aren't
complete or absolute. So now use
`!path.has_root_directory && !path.has_root_name()` instead.

[SVN r68655]
2011-02-05 15:41:55 +00:00
Daniel James
a120e74f3c Check for portable paths in more places.
[SVN r68654]
2011-02-05 15:41:15 +00:00
Daniel James
5f7636fce2 Nicer link break warnings.
[SVN r68609]
2011-02-02 00:19:24 +00:00
Daniel James
6d4dec6803 Add ids to bridgeheads.
Prevents docbook from making up ever changing ids. It would be nice to
use the heading's anchor. But that causes docbook to complain that it
can't generate a title for the link.

[SVN r68595]
2011-02-01 09:21:25 +00:00
Daniel James
df80728f5e Merge quickbook documentation changes.
[SVN r68568]
2011-01-30 13:02:37 +00:00
Daniel James
72de1779b1 Better wording about xsltproc on OS X.
[SVN r68567]
2011-01-30 12:51:05 +00:00
Daniel James
e50fefdecb Fix default output filename.
[SVN r68565]
2011-01-30 11:43:34 +00:00
Daniel James
5d7385cff4 Support for wide output streams on windows.
[SVN r68563]
2011-01-30 11:38:17 +00:00
Daniel James
adece17fc6 Turn debug symbols off when testing quickbook.
Fixes an odd error with the Boost Build Visual C++ tool.

[SVN r68562]
2011-01-30 11:36:07 +00:00
Daniel James
bd9189ba61 Move error and warning functions into input_path.
I'll rename it after merging with trunk. I'm just collecting all the
input and output functions together.

[SVN r68561]
2011-01-30 11:26:55 +00:00
Daniel James
bd8c0894b0 Place section anchors inside the section title.
Generates better html.

[SVN r68559]
2011-01-30 10:52:35 +00:00
Daniel James
8b9dedf0e3 Use 'teletype' for syntax highlighting in quickbook docs.
[SVN r68558]
2011-01-30 10:51:47 +00:00
Daniel James
286007ec53 Update the quickbook installation instructions.
[SVN r68557]
2011-01-30 10:51:02 +00:00
Daniel James
d5dce8c46d Quickbook release notes.
[SVN r68556]
2011-01-30 10:50:00 +00:00
Daniel James
c9b5364585 Revert quickbook documentation changes.
Not abandoning them, I'll continue on a branch. There's just no need to do this
on trunk.


[SVN r68490]
2011-01-27 21:38:58 +00:00
Daniel James
2e904fb60e Fix class/struct warning.
[SVN r68398]
2011-01-23 16:50:31 +00:00
Daniel James
d94c4726f8 Windows support for unicode filenames.
[SVN r68397]
2011-01-23 16:49:34 +00:00
Daniel James
12625ac2ff Use a function to convert paths to and from utf-8.
This will eventually try to cope with unicode characters. Not sure if
it'll ever be truely cross platform.

[SVN r68396]
2011-01-23 16:48:27 +00:00
Daniel James
70c5398ec3 Replace input_path with manual path conversion.
[SVN r68395]
2011-01-23 16:47:23 +00:00
Daniel James
9557da3e43 Use filesystem alias more consistently.
[SVN r68394]
2011-01-23 16:45:57 +00:00
Daniel James
9505be4e85 Use fs::path in more places.
[SVN r68393]
2011-01-23 16:44:32 +00:00
Daniel James
024feb181b Change the way the filename is stored.
No longer stored in the iterator which means there's less messing around
with pointers and strings. Always stored as a fs::path which will help
with support for unicode. Also passed to outwarn and outerr as fs::path
so they can handle writing unicode filenames to the output.

[SVN r68392]
2011-01-23 16:42:51 +00:00
Daniel James
51b6314872 Use generic string for __FILENAME__.
Will hopefully a bit more consistent across platforms. Obviously proper
conversion to UTF-8 would be better.

[SVN r68391]
2011-01-23 16:41:05 +00:00
Daniel James
034d70e562 Branch to work on filename handling without disturbing trunk.
[SVN r68345]
2011-01-21 09:17:08 +00:00
Daniel James
06fe0ae76e Merge xinclude fix for windows.
[SVN r68330]
2011-01-21 00:24:42 +00:00
Daniel James
fa03c44528 Use generic paths in xinclude.
Will hopefully make xslt happier on windows.

[SVN r68308]
2011-01-19 22:05:48 +00:00
Daniel James
6d7475344d Merge quickbook from trunk.
- Use a single symbol table for all elements.
- Fix filesystem use on windows. Fixes #5055.


[SVN r68115]
2011-01-13 18:18:18 +00:00
Daniel James
f2034862d9 Fix quickbook windows compile error. Refs #5055.
Patch by Joshua Boyce. Thanks.

[SVN r67908]
2011-01-10 08:23:27 +00:00
Daniel James
d4d728baf0 Update metadata.
[SVN r67891]
2011-01-09 21:16:24 +00:00
Daniel James
913e239cd9 More document metadata documentation.
[SVN r67890]
2011-01-09 21:15:47 +00:00
Daniel James
396f372820 Make the section documentation fit its new location better.
[SVN r67889]
2011-01-09 21:15:12 +00:00
Daniel James
6a15e79f03 Update links.
[SVN r67888]
2011-01-09 21:14:36 +00:00
Daniel James
1da1a19b9c Move section documentation into syntax section.
[SVN r67887]
2011-01-09 21:14:02 +00:00
Daniel James
1cd94b7cf3 Move the comments section after the document info section.
[SVN r67886]
2011-01-09 21:13:27 +00:00
Daniel James
a77b957c02 Start with a very simple quickbook document.
[SVN r67885]
2011-01-09 21:12:55 +00:00
Daniel James
ae7f22136d A bit more detail on document info.
[SVN r67884]
2011-01-09 21:12:24 +00:00
Daniel James
05fe74227c Move the document info section to the syntax section.
[SVN r67883]
2011-01-09 21:11:20 +00:00
Daniel James
fe2387313f Fix a typo.
[SVN r67856]
2011-01-09 12:02:27 +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
b7fc6ccb05 Merge quickbook from trunk.
Left docs out of this merge, I want to do a little work on them.

- Add 'lang' element to docinfo.
- Improved anchor implementation. Especially for using an anchor before a
  section or heading.
- Reorganize the grammar, there's now a single main grammar. Elements are added
  separately using the Nabialek trick.
- Fixed some more issues where lines containing comments were treated as blank
  lines.
- Introduce a spirit rule for scoped actions when parsing. Could do with some
  improvement, but works okay.
- Allow import, include and xinclude in conditional phrases. Will allow more
  block elements in a future version.
- Use filesystem 3. Remove cygwin support.


[SVN r67784]
2011-01-08 15:22:18 +00:00
Daniel James
7a1895c4b2 Call things inside square brackets 'elements'.
It doesn't quite fit for section markup, but 'markup' was a terrible name (it's
all markup).


[SVN r67735]
2011-01-06 23:20:25 +00:00
Daniel James
6daf40dd41 Use filesystem 3 in quickbook.
And remove cygwin 1.5 support.

[SVN r67661]
2011-01-04 22:34:36 +00:00
Daniel James
b0cc667a2b Detab again.
[SVN r67638]
2011-01-03 22:19:35 +00:00
Daniel James
d626f30cd5 Allow include, import and xinclude in conditional macros.
[SVN r67637]
2011-01-03 22:15:41 +00:00
Daniel James
3e075a122b Make the newline after block markup optional.
[SVN r67636]
2011-01-03 22:13:54 +00:00