************************************************************************
* Official mandoc TODO.
-* $Id: TODO,v 1.255 2018/07/16 15:22:35 schwarze Exp $
+* $Id: TODO,v 1.271 2018/10/02 12:18:33 schwarze Exp $
************************************************************************
Many issues are annotated for difficulty as follows:
reported by brad@ Sat, 15 Jan 2011 15:45:23 -0500
loc *** exist *** algo *** size ** imp *
-- .while and .shift
- found by jca@ in ratpoison(1) Sun, 30 Jun 2013 12:01:09 +0200
- loc * exist ** algo ** size ** imp **
-
- \w'' improve width measurements
would not be very useful without an expression parser, see below
needed for Tcl_NewStringObj(3) via wiz@ Wed, 5 Mar 2014 22:27:43 +0100
is not safe, e.g. `.Bl -column .It Pf a b .' gives "ab."
but should give "ab ."
-- check whether it is correct that `D1' uses INDENT+1;
- does it need its own constant?
- loc * exist ** algo ** size * imp **
-
- prohibit `Nm' from having non-text HEAD children
(e.g., NetBSD mDNSShared/dns-sd.1)
(mdoc_html.c and mdoc_term.c `Nm' handlers can be slightly simplified)
- groff_www(7) .MTO and .URL
These macros were used by the GNU grep(1) man page.
+ The groff_www(7) manual page itself uses them, too.
We should probably *not* add them to mandoc.
Just mentioning this here to keep track of the abuse.
Laura Morales <lauretas at mail dot com> 20 Apr 2018 07:33:02 +0200
suggested by bentley@ Tue, 14 Oct 2014 04:10:55 -0600
loc * exist ** algo * size * imp **
-- implement horizontal and vertical alignment in HTNL output
+- implement horizontal and vertical alignment in HTML output
pali dot rohar at gmail dot com 16 Jul 2018 13:03:35 +0200
loc * exist * algo * size * imp ***
--- HTML issues --------------------------------------------------------
-- @media queries to reduce indentation on low-res displays
- some mails in the Viewport for man.openbsd.org thread
- e.g. Adam Thompson 24 May 2018 15:09:00 -0500
+- table of content at the top of HTML (and perhaps ps/pdf) pages
+ only if there are at least two (or three?) non-standard sections
+ only if the new option -O toc is given
+ suggested by Adam Kalisz during EuroBSDCon 2018
+
+- support -O man with two arguments, typically using the first for
+ a local tree (like the release pages on mandoc.bsd.lv) and the
+ second for a remote tree (e.g. man.openbsd.org).
+ Probable syntax: -O man=first;second
+ Suggested by kristaps@ during EuroBSDCon 2018.
- wrap Sh and Ss content into <div>
Laura Morales <lauretas at mail dot com> 21 Apr 2018 18:10:48 +0200
* warning issues
************************************************************************
+- When a man(1) command returns no result and there was an -S
+ argument, check the -S argument against the list of valid
+ architectures and say "Unknown architecture AAA" rather than
+ "No entry for NNN in the manual" if there is no match.
+ Requires moving the lists of valid architectures out of
+ mdoc_validate.c such that they can be used by main.c.
+ Discussed with jmc@ 10 Aug 2018 19:20:12 +0100.
+ loc ** exist * algo * size * imp **
+
- warn about duplicate .Sh/.Ss heads
gre(4): Rename duplicate sections 20 Apr 2018 15:27:33 +0200
loc * exist * algo * size * imp **
but just the overall format
loc ** exist ** algo *** size ** imp **
+- makewhatis -p complains about language subdirectories:
+ /usr/local/man//ru: Unknown directory part
+
+
************************************************************************
* documentation issues
************************************************************************
- Enable HTTP compression by detecting gzip encoding and filtering
output through libz.
- - Sandbox (see OpenSSH).
+ - Privilege separation (see OpenSSH).
- Enable caching support via HTTP 304 and If-Modified-Since.
- Have Mac OSX systems automatically disable -static compilation of the
CGI: -static isn't supported.