summaryrefslogtreecommitdiff
path: root/libyelp/yelp-man-parser.c
Commit message (Collapse)AuthorAgeFilesLines
* Cleverer heuristic on what constitutes a man link.Rupert Swarbrick2011-01-101-4/+16
|
* Correctly deal with man links containing newlines.Rupert Swarbrick2011-01-101-3/+39
|
* Do the indents in man pages correctly with CSS and javascript.Rupert Swarbrick2011-01-101-2/+4
|
* Add support for http:// urls.Rupert Swarbrick2011-01-101-0/+30
|
* Make links from strings of the form "blah(2)" in man pages.Rupert Swarbrick2011-01-101-0/+322
| | | | | Note that there's not a space before the (2): it seems that strings like that are used for Copyright (C) etc. and not links).
* Fix some compiler warnings.Rupert Swarbrick2011-01-101-13/+14
| | | | Note: the stray g_next_char() line had no effect.
* Deal correctly with the last line of output.Rupert Swarbrick2010-12-201-6/+157
| | | | | | | | Since we're parsing the whole thing in one pass, we can't know this is the last line until we're done, so we go through at the end and check whether there's an empty section. If so, we know what the title should look like, so we extract the information and put it somewhere more useful.
* Treat 'C' and 'N' lines more carefully. Yay! Russian works properly at last!Rupert Swarbrick2010-12-201-41/+80
|
* Correctly deal with titles with spaces.Rupert Swarbrick2010-12-201-43/+116
| | | | | | This works harder to understand the first line of output: the previous code didn't work if there was a space (or hyphen or anything else) in the command name.
* Draw vertical jumps correctly.Rupert Swarbrick2010-12-201-8/+60
| | | | | This allows us to work out when there should be a wider gap between two paragraphs, for instance.
* Spacing changes to fix horizontal spacing for perl(1) and man(1).Rupert Swarbrick2010-12-201-46/+76
|
* Add support for N and C lines.Rupert Swarbrick2010-12-201-9/+223
| | | | | | | At the moment, there's a horrible hack with a hardcoded table of character names and unicode code points. Hopefully eventually this can be replaced by parsing a file or calling a program... but I don't know how yet :-(
* Use a monospace font and   for internal spacing.Rupert Swarbrick2010-12-201-1/+34
| | | | | Basically, to get internal spaces correct (eg in tables etc), we *have* to use a monospace font.
* Initial implementation calling man -Z and parsing.Rupert Swarbrick2010-12-201-1636/+421
| | | | | | | | Currently doesn't deal with 'special characters' (including umlauts and ... hyphens!) Also seems to fail with pretty simple formatting (see list of sections in man man)
* [yelp-man-parser] Append \n to avoid running words togetherShaun McCance2010-06-011-0/+1
| | | | | Since GDataInputStream doesn't return newlines, we end up running words together if the whitespace between them is a newline. This approach might be overzealous.
* [yelp-man-parser] Lines from GDataInputStream don't include \nShaun McCance2010-06-011-16/+16
| | | | | Lines from GIOChannel do. A bunch of the code from the old GIOChannel-based parser was wrong, because it was looking for \n.
* [libyelp] Adding man page support, some formatting still offShaun McCance2010-06-011-0/+1821