CVS log for mandoc/TODO

[BACK] Up to [cvsweb.bsd.lv] / mandoc

Request diff between arbitrary revisions


Default branch: MAIN
Current tag: MAIN


Revision 1.334 / (download) - annotate - [select for diffs], Fri Nov 24 05:02:18 2023 UTC (4 months ago) by schwarze
Branch: MAIN
CVS Tags: HEAD
Changes since 1.333: +1 -12 lines
Diff to previous 1.333 (colored) to selected 1.121 (colored)

1. Do not put ASCII_HYPH (0x1c) into the tag file.
That happened when tagging a string containing '-' on an input text line,
most commonly in man(7) .TP next line scope.
2. Do not let "\-" end the tag.
In both cases, translate ASCII_HYPH and "\-" to plain '-' for output.
For example, this improves handling of unbound.conf(5).

These two bugs were found thanks to a posting by weerd@.

Revision 1.333 / (download) - annotate - [select for diffs], Fri Nov 24 04:38:50 2023 UTC (4 months ago) by schwarze
Branch: MAIN
Changes since 1.332: +6 -2 lines
Diff to previous 1.332 (colored) to selected 1.121 (colored)

already an old idea: abbreviate pathnames for -M

Revision 1.332 / (download) - annotate - [select for diffs], Mon Nov 13 19:04:48 2023 UTC (4 months, 2 weeks ago) by schwarze
Branch: MAIN
Changes since 1.331: +4 -1 lines
Diff to previous 1.331 (colored) to selected 1.121 (colored)

new: warn about \\ and \. in interpretation mode

Revision 1.331 / (download) - annotate - [select for diffs], Tue Oct 24 20:53:12 2023 UTC (5 months ago) by schwarze
Branch: MAIN
Changes since 1.330: +1 -4 lines
Diff to previous 1.330 (colored) to selected 1.121 (colored)

Implement the man(7) .MR macro, a 2023 GNU extension.
The syntax and semantics is almost identical to mdoc(7) .Xr.

This will be needed for reading the groff manual pages once our port
will be updated to 1.23, and the Linux Manual Pages Project is also
determined to start using it sooner or later.  I did not advocate for
this new macro, but since we want to remain able to read all manual
pages found in the wild, there is little choice but to support it.
At least it is easy to do, they basically copied .Xr.

Revision 1.330 / (download) - annotate - [select for diffs], Thu Oct 19 15:04:05 2023 UTC (5 months, 1 week ago) by schwarze
Branch: MAIN
Changes since 1.329: +8 -1 lines
Diff to previous 1.329 (colored) to selected 1.121 (colored)

new entries: .MR and .TP .IP .TP

Revision 1.329 / (download) - annotate - [select for diffs], Wed Oct 18 15:41:28 2023 UTC (5 months, 1 week ago) by schwarze
Branch: MAIN
Changes since 1.328: +13 -1 lines
Diff to previous 1.328 (colored) to selected 1.121 (colored)

two new entries

Revision 1.328 / (download) - annotate - [select for diffs], Tue Aug 8 15:58:40 2023 UTC (7 months, 2 weeks ago) by schwarze
Branch: MAIN
Changes since 1.327: +15 -1 lines
Diff to previous 1.327 (colored) to selected 1.121 (colored)

some more ideas from Alejandro Colomar

Revision 1.327 / (download) - annotate - [select for diffs], Tue Aug 9 12:24:12 2022 UTC (19 months, 2 weeks ago) by schwarze
Branch: MAIN
Changes since 1.326: +9 -1 lines
Diff to previous 1.326 (colored) to selected 1.121 (colored)

two ideas from RGBDS

Revision 1.326 / (download) - annotate - [select for diffs], Tue Jul 5 21:25:29 2022 UTC (20 months, 3 weeks ago) by schwarze
Branch: MAIN
Changes since 1.325: +1 -8 lines
Diff to previous 1.325 (colored) to selected 1.121 (colored)

Finally get rid of the archaic <table> markup for header and footer lines
and use flexbox CSS instead.  Improve accessibility by adding role
and aria-label attributes to these header and footer lines.
Using ideas from both Anna Vyalkova <cyber at sysrq dot in> and myself.

As a welcome side effect, this also resolves the long-standing issue
that the rendering was always 65em wide, requiring horizontal scrolling
when the window was narrower.  Now, rendering nicely adapts to browser
windows of arbitrary narrowness.

Revision 1.325 / (download) - annotate - [select for diffs], Sun Jun 26 20:21:22 2022 UTC (21 months ago) by schwarze
Branch: MAIN
Changes since 1.324: +4 -2 lines
Diff to previous 1.324 (colored) to selected 1.121 (colored)

additional info regarding the .nf <br/> issue

Revision 1.324 / (download) - annotate - [select for diffs], Mon Jun 6 06:36:01 2022 UTC (21 months, 3 weeks ago) by schwarze
Branch: MAIN
Changes since 1.323: +12 -1 lines
Diff to previous 1.323 (colored) to selected 1.121 (colored)

add and update a few entries

Revision 1.323 / (download) - annotate - [select for diffs], Thu Apr 14 10:14:53 2022 UTC (23 months, 2 weeks ago) by schwarze
Branch: MAIN
Changes since 1.322: +13 -2 lines
Diff to previous 1.322 (colored) to selected 1.121 (colored)

some HTML/CSS issues from John Gardner

Revision 1.322 / (download) - annotate - [select for diffs], Sun Mar 27 11:08:24 2022 UTC (2 years ago) by schwarze
Branch: MAIN
Changes since 1.321: +6 -1 lines
Diff to previous 1.321 (colored) to selected 1.121 (colored)

new TODO entry: handle Unicode letters in tags

Revision 1.321 / (download) - annotate - [select for diffs], Wed Jan 12 00:16:46 2022 UTC (2 years, 2 months ago) by schwarze
Branch: MAIN
Changes since 1.320: +5 -1 lines
Diff to previous 1.320 (colored) to selected 1.121 (colored)

column width specifications in tbl(7) HTML output

Revision 1.320 / (download) - annotate - [select for diffs], Fri Oct 1 08:58:37 2021 UTC (2 years, 5 months ago) by schwarze
Branch: MAIN
Changes since 1.319: +12 -1 lines
Diff to previous 1.319 (colored) to selected 1.121 (colored)

tagging issues from weerd@ regarding hyphens

Revision 1.319 / (download) - annotate - [select for diffs], Tue Sep 21 17:58:13 2021 UTC (2 years, 6 months ago) by schwarze
Branch: MAIN
CVS Tags: VERSION_1_14_6
Changes since 1.318: +6 -1 lines
Diff to previous 1.318 (colored) to selected 1.121 (colored)

handle man3c/fopen.3c in main.c/fs_*()

Revision 1.318 / (download) - annotate - [select for diffs], Fri Sep 10 12:48:19 2021 UTC (2 years, 6 months ago) by schwarze
Branch: MAIN
Changes since 1.317: +13 -11 lines
Diff to previous 1.317 (colored) to selected 1.121 (colored)

add two newly reported bugs,
and remove two feature requests that were recently implemented

Revision 1.317 / (download) - annotate - [select for diffs], Mon Sep 6 14:32:07 2021 UTC (2 years, 6 months ago) by schwarze
Branch: MAIN
Changes since 1.316: +6 -1 lines
Diff to previous 1.316 (colored) to selected 1.121 (colored)

TODO: let makewhatis(8) follow symbolic links to dirs

Revision 1.316 / (download) - annotate - [select for diffs], Sun Jul 4 15:38:26 2021 UTC (2 years, 8 months ago) by schwarze
Branch: MAIN
Changes since 1.315: +6 -1 lines
Diff to previous 1.315 (colored) to selected 1.121 (colored)

The mandoc(1) manual already mentions that -T man output mode
neither supports tbl(7) nor eqn(7) input.
If an input file contains such code anyway, tell the user
rather than failing an assert(3)ion.

Fixing a crash reported by Bjarni Ingi Gislason <bjarniig at rhi dot hi dot is>
in https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=901636 which the
Debian maintainer of mandoc, Michael at Stapelberg dot ch, forwarded to me.

Revision 1.315 / (download) - annotate - [select for diffs], Sun Jun 27 17:29:02 2021 UTC (2 years, 9 months ago) by schwarze
Branch: MAIN
Changes since 1.314: +6 -1 lines
Diff to previous 1.314 (colored) to selected 1.121 (colored)

new TODO entry: HTML formatting of .nf

Revision 1.314 / (download) - annotate - [select for diffs], Sat Jun 26 11:09:06 2021 UTC (2 years, 9 months ago) by schwarze
Branch: MAIN
Changes since 1.313: +20 -1 lines
Diff to previous 1.313 (colored) to selected 1.121 (colored)

three new TODO items

Revision 1.313 / (download) - annotate - [select for diffs], Wed Jun 2 18:23:34 2021 UTC (2 years, 9 months ago) by schwarze
Branch: MAIN
Changes since 1.312: +7 -1 lines
Diff to previous 1.312 (colored) to selected 1.121 (colored)

tbl(7) layout "n" specifier for HTML output

Revision 1.312 / (download) - annotate - [select for diffs], Wed May 12 08:34:46 2021 UTC (2 years, 10 months ago) by schwarze
Branch: MAIN
Changes since 1.311: +5 -1 lines
Diff to previous 1.311 (colored) to selected 1.121 (colored)

\s with arbitrary arg delimiters

Revision 1.311 / (download) - annotate - [select for diffs], Sun Mar 28 18:45:43 2021 UTC (3 years ago) by schwarze
Branch: MAIN
Changes since 1.310: +5 -1 lines
Diff to previous 1.310 (colored) to selected 1.121 (colored)

double .TH in man(7)

Revision 1.310 / (download) - annotate - [select for diffs], Sun Mar 28 15:33:34 2021 UTC (3 years ago) by schwarze
Branch: MAIN
Changes since 1.309: +7 -2 lines
Diff to previous 1.309 (colored) to selected 1.121 (colored)

more about .Bd -unfilled

Revision 1.309 / (download) - annotate - [select for diffs], Fri Nov 13 11:24:37 2020 UTC (3 years, 4 months ago) by schwarze
Branch: MAIN
Changes since 1.308: +7 -1 lines
Diff to previous 1.308 (colored) to selected 1.121 (colored)

MANWIDTH

Revision 1.308 / (download) - annotate - [select for diffs], Thu Nov 12 20:46:28 2020 UTC (3 years, 4 months ago) by schwarze
Branch: MAIN
Changes since 1.307: +5 -1 lines
Diff to previous 1.307 (colored) to selected 1.121 (colored)

old groff_char(7) reported by kamil at NetBSD

Revision 1.307 / (download) - annotate - [select for diffs], Mon Oct 26 13:30:46 2020 UTC (3 years, 5 months ago) by schwarze
Branch: MAIN
Changes since 1.306: +5 -1 lines
Diff to previous 1.306 (colored) to selected 1.121 (colored)

error message simplifications requested by deraadt@

Revision 1.306 / (download) - annotate - [select for diffs], Mon Sep 7 14:18:49 2020 UTC (3 years, 6 months ago) by schwarze
Branch: MAIN
Changes since 1.305: +16 -1 lines
Diff to previous 1.305 (colored) to selected 1.121 (colored)

assertion found in jes@'es afl run: .TS .if n .ce

Revision 1.305 / (download) - annotate - [select for diffs], Tue Sep 1 18:10:28 2020 UTC (3 years, 6 months ago) by schwarze
Branch: MAIN
Changes since 1.304: +2 -1 lines
Diff to previous 1.304 (colored) to selected 1.121 (colored)

more info from John Gardner about ASCII control chars in roff(7) input

Revision 1.304 / (download) - annotate - [select for diffs], Wed Jun 24 12:09:29 2020 UTC (3 years, 9 months ago) by schwarze
Branch: MAIN
Changes since 1.303: +5 -1 lines
Diff to previous 1.303 (colored) to selected 1.121 (colored)

more details about ASCII control characters

Revision 1.303 / (download) - annotate - [select for diffs], Mon Jun 22 18:00:30 2020 UTC (3 years, 9 months ago) by schwarze
Branch: MAIN
Changes since 1.302: +15 -1 lines
Diff to previous 1.302 (colored) to selected 1.121 (colored)

John Gardner: handling of ASCII control characters during input

Revision 1.302 / (download) - annotate - [select for diffs], Sun Apr 26 21:41:07 2020 UTC (3 years, 11 months ago) by schwarze
Branch: MAIN
Changes since 1.301: +4 -5 lines
Diff to previous 1.301 (colored) to selected 1.121 (colored)

While we do not recommend the idiom ".Fl Fl long" for long options
because it is an abuse of semantic macros for device-specific
presentational effects, this idiom is so widespread that it makes
sense to convert it to the recommended ".Fl \-long" during the
validation phase.  For example, this improves HTML formatting
in pages where authors have used the dubious .Fl Fl.

Feature suggested by Steffen Nurpmeso <steffen at sdaoden dot eu>
on freebsd-hackers.

Revision 1.301 / (download) - annotate - [select for diffs], Sat Feb 15 14:59:21 2020 UTC (4 years, 1 month ago) by schwarze
Branch: MAIN
Changes since 1.300: +9 -1 lines
Diff to previous 1.300 (colored) to selected 1.121 (colored)

two new entries: "Fl Fl" to "Fl \-" in validation and eqn/tbl in -T man

Revision 1.300 / (download) - annotate - [select for diffs], Sun Jan 19 16:27:43 2020 UTC (4 years, 2 months ago) by schwarze
Branch: MAIN
Changes since 1.299: +1 -9 lines
Diff to previous 1.299 (colored) to selected 1.121 (colored)

delete the entry for a crash that was already fixed

Revision 1.299 / (download) - annotate - [select for diffs], Wed Dec 25 13:20:33 2019 UTC (4 years, 3 months ago) by schwarze
Branch: MAIN
Changes since 1.298: +6 -1 lines
Diff to previous 1.298 (colored) to selected 1.121 (colored)

distinction between .Vt and .Va

Revision 1.298 / (download) - annotate - [select for diffs], Sun Dec 22 13:52:35 2019 UTC (4 years, 3 months ago) by schwarze
Branch: MAIN
Changes since 1.297: +9 -1 lines
Diff to previous 1.297 (colored) to selected 1.121 (colored)

two new entries: make .Sh/.Ss parsed in mdoc(7)
and delete release number verification from groff_mdoc(7)

Revision 1.297 / (download) - annotate - [select for diffs], Sun Nov 10 17:38:26 2019 UTC (4 years, 4 months ago) by schwarze
Branch: MAIN
Changes since 1.296: +6 -1 lines
Diff to previous 1.296 (colored) to selected 1.121 (colored)

want to get rid of the last style= attributes, suggested by bentley@

Revision 1.296 / (download) - annotate - [select for diffs], Sat Nov 9 17:09:15 2019 UTC (4 years, 4 months ago) by schwarze
Branch: MAIN
Changes since 1.295: +14 -1 lines
Diff to previous 1.295 (colored) to selected 1.121 (colored)

.ce .if .B crash reported by espie@, and one other bug

Revision 1.295 / (download) - annotate - [select for diffs], Tue Jun 11 16:04:36 2019 UTC (4 years, 9 months ago) by schwarze
Branch: MAIN
Changes since 1.294: +4 -1 lines
Diff to previous 1.294 (colored) to selected 1.121 (colored)

Do not access a NULL pointer if a table contains a horizontal line
next to a table line having fewer columns than the table as a whole.
Bug found by Stephen Gregoratto <dev at sgregoratto dot me>
with aerc-config(5).

Revision 1.294 / (download) - annotate - [select for diffs], Fri May 3 17:31:15 2019 UTC (4 years, 10 months ago) by schwarze
Branch: MAIN
Changes since 1.293: +1 -7 lines
Diff to previous 1.293 (colored) to selected 1.121 (colored)

In fs_lookup(), use stat(2) rather than access(2) to check file existence.
Some mildly broken real-world packages on some operating systems
contain dangling symlinks in manual page directories: pestering the
user to run makewhatis(8) makes no sense because that won't help.
On the other hand, missing read permissions deserve ugly error messages
and are unlikely to occur in practice anyway.

Fixing an issue reported by Lorenzo Beretta <loreb at github>
as part of https://github.com/void-linux/void-packages/issues/9868 .

Revision 1.293 / (download) - annotate - [select for diffs], Fri May 3 16:14:41 2019 UTC (4 years, 10 months ago) by schwarze
Branch: MAIN
Changes since 1.292: +1 -13 lines
Diff to previous 1.292 (colored) to selected 1.121 (colored)

In man(1) mode with a specific section requested,
try harder to find the best match.

Use this order of preference:
1. The section in both the directory name and the file name matches exactly.
2. The section in the file name matches exactly.
3. The section in the directory name matches exactly.
4. Neither of them matches exactly.
The latter can happen when mansearch() finds substring matches
or when the second .Dt argument mismatches the dir and file names.

Lorenzo Beretta <loreb at github> reported that this caused real
problems on Void Linux, like "man 3 readline" showing readline(3m).
See https://github.com/void-linux/void-packages/issues/9868 for details.

Revision 1.292 / (download) - annotate - [select for diffs], Tue Apr 30 18:51:57 2019 UTC (4 years, 10 months ago) by schwarze
Branch: MAIN
Changes since 1.291: +1 -7 lines
Diff to previous 1.291 (colored) to selected 1.121 (colored)

In man(1) mode, i.e. when asking for a single manual page by name,
prefer file name matches over .Dt/.TH matches over first NAME matches
over later NAME matches, but do not change the ordering for apropos(1)
nor for man -a.

This reverts main.c rev. 1.310 and mansearch.h rev. 1.29
and includes a partial revert of mansearch.c rev. 1.79.

Regression reported by Lorenzo Beretta <loreb at github>
as part of https://github.com/void-linux/void-packages/issues/9868 .

Revision 1.291 / (download) - annotate - [select for diffs], Tue Apr 23 11:43:24 2019 UTC (4 years, 11 months ago) by schwarze
Branch: MAIN
Changes since 1.290: +22 -1 lines
Diff to previous 1.290 (colored) to selected 1.121 (colored)

issues found by Jan Stary in groffer(1) version 1.19

Revision 1.290 / (download) - annotate - [select for diffs], Mon Apr 1 15:57:29 2019 UTC (4 years, 11 months ago) by schwarze
Branch: MAIN
Changes since 1.289: +25 -1 lines
Diff to previous 1.289 (colored) to selected 1.121 (colored)

new man(1) issues from Lorenzo Beretta <loreb at github>

Revision 1.289 / (download) - annotate - [select for diffs], Mon Mar 4 13:01:57 2019 UTC (5 years ago) by schwarze
Branch: MAIN
CVS Tags: VERSION_1_14_5
Changes since 1.288: +1 -10 lines
Diff to previous 1.288 (colored) to selected 1.121 (colored)

When the -S option is given to man(1) and the requested manual page
name is not found and the requested architecture is unknown, complain
about the architecture rather than about the manual page name:

$ man -S vax cpu
man: Unknown architecture "vax".
$ man -S sparc64 foobar
man: No entry for foobar in the manual.

Friendlier error message suggested by jmc@, who also OK'ed the patch.

Revision 1.288 / (download) - annotate - [select for diffs], Mon Mar 4 11:40:09 2019 UTC (5 years ago) by schwarze
Branch: MAIN
Changes since 1.287: +1 -5 lines
Diff to previous 1.287 (colored) to selected 1.121 (colored)

Fix the last straggler where the struct roff_node "line" member
was abused to detect an input line break;
instead, use the NODE_LINE flag to improve robustness.

Revision 1.287 / (download) - annotate - [select for diffs], Mon Mar 4 11:37:30 2019 UTC (5 years ago) by schwarze
Branch: MAIN
Changes since 1.286: +12 -4 lines
Diff to previous 1.286 (colored) to selected 1.121 (colored)

additional comments on two TODO items

Revision 1.286 / (download) - annotate - [select for diffs], Sat Mar 2 16:30:53 2019 UTC (5 years ago) by schwarze
Branch: MAIN
Changes since 1.285: +1 -6 lines
Diff to previous 1.285 (colored) to selected 1.121 (colored)

Represent multiple subsequent .IP blocks having a consistent
head argument of *, \-, or \(bu as <ul> rather than as <dl>,
using a bit of heuristics.

Basic idea suggested by Dagfinn Ilmari Mannsaker <ilmari at github>
in https://github.com/Debian/debiman/issues/67 and independently by
<Pali dot Rohar at gmail dot com> on <discuss at mandoc dot bsd dot lv>.

Revision 1.285 / (download) - annotate - [select for diffs], Fri Mar 1 10:57:17 2019 UTC (5 years ago) by schwarze
Branch: MAIN
Changes since 1.284: +1 -8 lines
Diff to previous 1.284 (colored) to selected 1.121 (colored)

Wrap .Sh/.SH sections and .Ss/.SS subsections in HTML <section> elements
as recommended for accessibility by the HTML 5 standard.
Triggered by a similar, but slightly different suggestion
from Laura Morales <lauretas at mail dot com>.

Revision 1.284 / (download) - annotate - [select for diffs], Thu Feb 28 16:36:13 2019 UTC (5 years ago) by schwarze
Branch: MAIN
Changes since 1.283: +1 -6 lines
Diff to previous 1.283 (colored) to selected 1.121 (colored)

Format multiple subsequent .IP or multiple subsequent .TP/.TQ
as a single <dl> list rather than opening a new list for each item;
feature suggested by Pali dot Rohar at gmail dot com.

Revision 1.283 / (download) - annotate - [select for diffs], Thu Jan 17 08:14:38 2019 UTC (5 years, 2 months ago) by schwarze
Branch: MAIN
Changes since 1.282: +2 -29 lines
Diff to previous 1.282 (colored) to selected 1.121 (colored)

Delete several entries that were already fixed.
The two entries about dashes, hyphens, and minus signs are no longer
relevant because we decided on a policy that is now documented.

Revision 1.282 / (download) - annotate - [select for diffs], Fri Jan 4 03:39:01 2019 UTC (5 years, 2 months ago) by schwarze
Branch: MAIN
Changes since 1.281: +1 -8 lines
Diff to previous 1.281 (colored) to selected 1.121 (colored)

Two functional improvements to filling in terminal output.

1. Fully support no-fill mode in mdoc(7), even when invoked with
low-level roff(7) .nf requests.  As a side effect, this substantially
simplifies the implementation of .Bd -unfilled and .Bd -literal.

2. Let .Bd -centered fill its text, using the new TERMP_CENTER flag.
That finally fixes the long-standing bug that it used to operate in
no-fill mode, which was known to be wrong for at least five years.
This also simplifies the implementation of .Bd -centered considerably.

Revision 1.281 / (download) - annotate - [select for diffs], Sat Dec 15 19:30:25 2018 UTC (5 years, 3 months ago) by schwarze
Branch: MAIN
Changes since 1.280: +1 -11 lines
Diff to previous 1.280 (colored) to selected 1.121 (colored)

Several improvements to escape sequence handling.

* Add the missing special character \_ (underscore).
* Partial implementations of \a (leader character)
and \E (uninterpreted escape character).
* Parse and ignore \r (reverse line feed).
* Add a WARNING message about undefined escape sequences.
* Add an UNSUPP message about unsupported escape sequences.
* Mark \! and \? (transparent throughput)
and \O (suppress output) as unsupported.
* Treat the various variants of zero-width spaces as one-byte escape
sequences rather than as special characters, to avoid defining bogus
forms with square brackets.
* For special characters with one-byte names, do not define bogus
forms with square brackets, except for \[-], which is valid.
* In the form with square brackets, undefined special characters do not
fall back to printing the name verbatim, not even for one-byte names.
* Starting a special character name with a blank is an error.
* Undefined escape sequences never abort formatting of the input
string, not even in HTML output mode.
* Document the newly handled escapes, and a few that were missing.
* Regression tests for most of the above.

Revision 1.280 / (download) - annotate - [select for diffs], Thu Nov 29 01:55:02 2018 UTC (5 years, 3 months ago) by schwarze
Branch: MAIN
Changes since 1.279: +1 -6 lines
Diff to previous 1.279 (colored) to selected 1.121 (colored)

Better handle automatic column width assignments in the presence of
horizontal spans, by implementing a moderately difficult iterative
algoritm.  The benefit is that spans containing long text no longer
cause an excessive width of their starting column.

The result is likely not optimal, in particular in the presence
of many spans overlapping in complicated ways nor when spans
interact with equalizing or maximizing colums.  But i doubt the
practical usefulness of making this more complicated.

Issue originally reported in synaptics(4), which now looks better,
by tedu@ three years ago, and reminded by Pali Rohar this summer.

Revision 1.279 / (download) - annotate - [select for diffs], Wed Nov 28 04:47:51 2018 UTC (5 years, 4 months ago) by schwarze
Branch: MAIN
Changes since 1.278: +1 -10 lines
Diff to previous 1.278 (colored) to selected 1.121 (colored)

In -T utf8 output mode, render tbl(7) borders with the Unicode
box drawing characters, U+2500 to U+257F.

Originally suggested by bentley@ four years ago,
reminded this summer by Pali Rohar.

Binary and decimal arithmetics are boring,
so let's use some ternary arithmetics for a change.

That said, some other aspects are too complicated for my liking,
so this could use some polishing in the future.

Revision 1.278 / (download) - annotate - [select for diffs], Sun Nov 25 21:17:34 2018 UTC (5 years, 4 months ago) by schwarze
Branch: MAIN
Changes since 1.277: +1 -5 lines
Diff to previous 1.277 (colored) to selected 1.121 (colored)

Let cells containing nothing but \^ extend the cell above.
Missing feature reported by Pali dot Rohar at gmail dot com.

Revision 1.277 / (download) - annotate - [select for diffs], Sun Nov 25 19:24:20 2018 UTC (5 years, 4 months ago) by schwarze
Branch: MAIN
Changes since 1.276: +5 -5 lines
Diff to previous 1.276 (colored) to selected 1.121 (colored)

In tbl(7) -T html output,
span cells horizontally and vertically as requested by the layout.
Does not handle spans requested in the data section yet.

To be able to do this, record the number of rows spanned
in the first data cell (struct tbl_dat) of a vertical span.

Missing feature reported by Pali dot Rohar at gmail dot com.

Revision 1.276 / (download) - annotate - [select for diffs], Sun Nov 25 18:04:58 2018 UTC (5 years, 4 months ago) by schwarze
Branch: MAIN
Changes since 1.275: +7 -1 lines
Diff to previous 1.275 (colored) to selected 1.121 (colored)

HTML formatting of .IP

Revision 1.275 / (download) - annotate - [select for diffs], Sat Nov 24 23:03:18 2018 UTC (5 years, 4 months ago) by schwarze
Branch: MAIN
Changes since 1.274: +1 -5 lines
Diff to previous 1.274 (colored) to selected 1.121 (colored)

Implement horizontal and vertical alignment of tbl(7) cell content
in -T html output.  This does not handle spanned cells yet.
Missing feature reported by Pali dot Rohar at gmail dot com.

Revision 1.274 / (download) - annotate - [select for diffs], Thu Oct 25 21:23:52 2018 UTC (5 years, 5 months ago) by schwarze
Branch: MAIN
Changes since 1.273: +7 -1 lines
Diff to previous 1.273 (colored) to selected 1.121 (colored)

in -man -Thtml, vertical spacing is required before .IP

Revision 1.273 / (download) - annotate - [select for diffs], Tue Oct 2 14:56:47 2018 UTC (5 years, 5 months ago) by schwarze
Branch: MAIN
Changes since 1.272: +1 -6 lines
Diff to previous 1.272 (colored) to selected 1.121 (colored)

Add an option -T html -O toc to add a brief table of contents near
the top of HTML pages containing at least two non-standard sections.
Suggested by Adam Kalisz and discussed with kristaps@ during EuroBSDCon 2018.

Revision 1.272 / (download) - annotate - [select for diffs], Tue Oct 2 12:33:36 2018 UTC (5 years, 5 months ago) by schwarze
Branch: MAIN
Changes since 1.271: +1 -7 lines
Diff to previous 1.271 (colored) to selected 1.121 (colored)

Support a second argument to -O man,
selecting the format according to local existence of the file.
Suggested by kristaps@ during EuroBSDCon 2018.
Written on the train Frankfurt-Karlsruhe returning from EuroBSDCon.

Revision 1.271 / (download) - annotate - [select for diffs], Tue Oct 2 12:18:33 2018 UTC (5 years, 5 months ago) by schwarze
Branch: MAIN
Changes since 1.270: +2 -5 lines
Diff to previous 1.270 (colored) to selected 1.121 (colored)

Render the eqn(7) "sqrt" function as U+221A in UTF-8 output.
This also agrees with what groff does.
Suggested by an attendee of EuroBSDCon 2018 in Bucuresti.
Written on the plane Bucuresti-Frankfurt returning from EuroBSDCon.

Revision 1.270 / (download) - annotate - [select for diffs], Sun Sep 23 05:34:58 2018 UTC (5 years, 6 months ago) by schwarze
Branch: MAIN
Changes since 1.269: +15 -1 lines
Diff to previous 1.269 (colored) to selected 1.121 (colored)

feature suggestions from EuroBSDCon 2018

Revision 1.269 / (download) - annotate - [select for diffs], Fri Aug 24 23:12:33 2018 UTC (5 years, 7 months ago) by schwarze
Branch: MAIN
Changes since 1.268: +1 -5 lines
Diff to previous 1.268 (colored) to selected 1.121 (colored)

Rudimentary implementation of the roff(7) .while request.
Needed for example by groff_hdtbl(7).

There are two limitations:
It does not support nested .while requests yet,
and each .while loop must start and end in the same scope.

The roff_parseln() return codes are now more flexible
and allow OR'ing options.

Revision 1.268 / (download) - annotate - [select for diffs], Thu Aug 23 14:29:38 2018 UTC (5 years, 7 months ago) by schwarze
Branch: MAIN
Changes since 1.267: +2 -2 lines
Diff to previous 1.267 (colored) to selected 1.121 (colored)

Implement the roff(7) .shift and .return requests,
for example used by groff_hdtbl(7) and groff_mom(7).

Also correctly interpolate arguments during nested macro execution
even after .shift and .return, implemented using a stack of argument
arrays.

Note that only read.c, but not roff.c can detect the end of a macro
execution, and the existence of .shift implies that arguments cannot
be interpolated up front, so unfortunately, this includes a partial
revert of roff.c rev. 1.337, moving argument interpolation back into
the function roff_res().

Revision 1.267 / (download) - annotate - [select for diffs], Sun Aug 19 17:46:14 2018 UTC (5 years, 7 months ago) by schwarze
Branch: MAIN
Changes since 1.266: +1 -7 lines
Diff to previous 1.266 (colored) to selected 1.121 (colored)

Mostly complete implementation of the 'c' (character available)
roff conditional, except that the .char request still isn't supported
and that behaviour differs from groff in many edge cases.
But at least valid character names and numbers are now distinguished
from invalid ones.
This also fixes the bug that parsing of the 'c' conditional was
incomplete, which resulted in leaking the tested character to the
input parser at the beginning of the body when the condition was
inverted.

Revision 1.266 / (download) - annotate - [select for diffs], Sat Aug 18 02:08:27 2018 UTC (5 years, 7 months ago) by schwarze
Branch: MAIN
Changes since 1.265: +1 -4 lines
Diff to previous 1.265 (colored) to selected 1.121 (colored)

implement the GNU man-ext .SY/.YS (synopsis block) macro in man(7),
used in most manual pages of the groff package

Revision 1.265 / (download) - annotate - [select for diffs], Thu Aug 16 23:43:37 2018 UTC (5 years, 7 months ago) by schwarze
Branch: MAIN
Changes since 1.264: +1 -4 lines
Diff to previous 1.264 (colored) to selected 1.121 (colored)

implement the GNU man-ext .TQ macro in man(7),
used for example by groff_diff(7)

Revision 1.264 / (download) - annotate - [select for diffs], Thu Aug 16 13:54:06 2018 UTC (5 years, 7 months ago) by schwarze
Branch: MAIN
Changes since 1.263: +1 -8 lines
Diff to previous 1.263 (colored) to selected 1.121 (colored)

Implement the \*(.T predefined string (interpolate device name)
by allowing the preprocessor to pass it through to the formatters.
Used for example by the groff_char(7) manual page.

Revision 1.263 / (download) - annotate - [select for diffs], Tue Aug 14 01:27:48 2018 UTC (5 years, 7 months ago) by schwarze
Branch: MAIN
Changes since 1.262: +1 -4 lines
Diff to previous 1.262 (colored) to selected 1.121 (colored)

support tail arguments on the .ME and .UE macros,
used for example in the ditroff(7) manual of the groff package

Revision 1.262 / (download) - annotate - [select for diffs], Fri Aug 10 22:43:20 2018 UTC (5 years, 7 months ago) by schwarze
Branch: MAIN
Changes since 1.261: +10 -1 lines
Diff to previous 1.261 (colored) to selected 1.121 (colored)

error message for invalid -S argument

Revision 1.261 / (download) - annotate - [select for diffs], Fri Aug 10 22:12:44 2018 UTC (5 years, 7 months ago) by schwarze
Branch: MAIN
Changes since 1.260: +5 -4 lines
Diff to previous 1.260 (colored) to selected 1.121 (colored)

handle the non-portable GNU-style \[charNN], \[charNNN] character
escape sequences, used for example in the groff_char(7) manual page

Revision 1.260 / (download) - annotate - [select for diffs], Fri Aug 10 20:40:45 2018 UTC (5 years, 7 months ago) by schwarze
Branch: MAIN
Changes since 1.259: +1 -4 lines
Diff to previous 1.259 (colored) to selected 1.121 (colored)

The groff man-ext macros define fonts CB, CI, and CR,
and some groff manual pages actually use them in .ft requests.
It's easy enough to handle these .ft requests in mandoc, too.

Revision 1.259 / (download) - annotate - [select for diffs], Fri Aug 10 04:41:25 2018 UTC (5 years, 7 months ago) by schwarze
Branch: MAIN
Changes since 1.258: +1 -4 lines
Diff to previous 1.258 (colored) to selected 1.121 (colored)

Implement the roff(7) .nop (no operation) request.
Examples of manual pages (ab)using it
include groff(7), chem(1), groff_mom(7), and groff_hdtbl(7).

Revision 1.258 / (download) - annotate - [select for diffs], Mon Aug 6 14:16:30 2018 UTC (5 years, 7 months ago) by schwarze
Branch: MAIN
CVS Tags: VERSION_1_14_4
Changes since 1.257: +29 -1 lines
Diff to previous 1.257 (colored) to selected 1.121 (colored)

scanned to groff manual pages for todo items;
the sheer number of issues is amazing,
but they all look feasible

Revision 1.257 / (download) - annotate - [select for diffs], Tue Jul 31 15:25:55 2018 UTC (5 years, 7 months ago) by schwarze
Branch: MAIN
Changes since 1.256: +5 -1 lines
Diff to previous 1.256 (colored) to selected 1.121 (colored)

makewhatis -p complains about language subdirectories

Revision 1.256 / (download) - annotate - [select for diffs], Sat Jul 28 18:32:17 2018 UTC (5 years, 8 months ago) by schwarze
Branch: MAIN
Changes since 1.255: +3 -11 lines
Diff to previous 1.255 (colored) to selected 1.121 (colored)

remove two entries that were done

Revision 1.255 / (download) - annotate - [select for diffs], Mon Jul 16 15:22:35 2018 UTC (5 years, 8 months ago) by schwarze
Branch: MAIN
Changes since 1.254: +19 -1 lines
Diff to previous 1.254 (colored) to selected 1.121 (colored)

new todos, mostly from Pali Rohar, mostly tbl(7)

Revision 1.254 / (download) - annotate - [select for diffs], Fri May 25 20:23:51 2018 UTC (5 years, 10 months ago) by schwarze
Branch: MAIN
Changes since 1.253: +4 -7 lines
Diff to previous 1.253 (colored) to selected 1.121 (colored)

Do not write duplicate id= attributes, they violate HTML syntax.
Append suffixes for disambiguation.  Issue first reported by Jakub
Klinkovsky <j dot l dot k at gmx dot com> (Arch Linux).

Revision 1.253 / (download) - annotate - [select for diffs], Tue May 8 21:42:34 2018 UTC (5 years, 10 months ago) by schwarze
Branch: MAIN
Changes since 1.252: +1 -7 lines
Diff to previous 1.252 (colored) to selected 1.121 (colored)

Eliminate the class=It-* attributes.
Cleaner HTML, more idiomatic CSS, and minus 30 lines of C code.
Suggested by John Gardner <gardnerjohng at gmail dot com>.

Revision 1.252 / (download) - annotate - [select for diffs], Tue Apr 24 13:30:59 2018 UTC (5 years, 11 months ago) by schwarze
Branch: MAIN
Changes since 1.251: +42 -1 lines
Diff to previous 1.251 (colored) to selected 1.121 (colored)

multiple new entries from various sources

Revision 1.251 / (download) - annotate - [select for diffs], Fri Apr 20 14:02:32 2018 UTC (5 years, 11 months ago) by schwarze
Branch: MAIN
Changes since 1.250: +7 -2 lines
Diff to previous 1.250 (colored) to selected 1.121 (colored)

dedup issues

Revision 1.250 / (download) - annotate - [select for diffs], Tue Apr 10 00:52:30 2018 UTC (5 years, 11 months ago) by schwarze
Branch: MAIN
Changes since 1.249: +1 -9 lines
Diff to previous 1.249 (colored) to selected 1.121 (colored)

Two new low-level roff(7) features:
* .nr optional third argument (auto-increment step size)
* \n+ and \n- numerical register auto-increment and -decrement
bentley@ reported on Dec 9, 2013 that lang/sbcl(1) uses these.

Revision 1.249 / (download) - annotate - [select for diffs], Mon Apr 9 02:31:42 2018 UTC (5 years, 11 months ago) by schwarze
Branch: MAIN
Changes since 1.248: +1 -5 lines
Diff to previous 1.248 (colored) to selected 1.121 (colored)

Using an undefined string or macro will cause it to be defined as empty.
Observed by Werner Lemberg on Nov 14, 2011
and rotting on my TODO list ever since.

Revision 1.248 / (download) - annotate - [select for diffs], Sat Oct 28 16:20:24 2017 UTC (6 years, 5 months ago) by schwarze
Branch: MAIN
Changes since 1.247: +5 -1 lines
Diff to previous 1.247 (colored) to selected 1.121 (colored)

duplicate anchors

Revision 1.247 / (download) - annotate - [select for diffs], Sat Sep 2 11:55:11 2017 UTC (6 years, 6 months ago) by schwarze
Branch: MAIN
Changes since 1.246: +5 -1 lines
Diff to previous 1.246 (colored) to selected 1.121 (colored)

format ".IP *" etc. as <ul> rather than <dl>

Revision 1.246 / (download) - annotate - [select for diffs], Mon Jul 24 11:15:12 2017 UTC (6 years, 8 months ago) by schwarze
Branch: MAIN
CVS Tags: VERSION_1_14_3, VERSION_1_14_2
Changes since 1.245: +11 -2 lines
Diff to previous 1.245 (colored) to selected 1.121 (colored)

two more entries from the mdoclint TODO, clerified by wiz@

Revision 1.245 / (download) - annotate - [select for diffs], Sat Jul 22 20:43:40 2017 UTC (6 years, 8 months ago) by schwarze
Branch: MAIN
Changes since 1.244: +14 -1 lines
Diff to previous 1.244 (colored) to selected 1.121 (colored)

migrate the mdoclint(1) TODO list here, from pkgsrc

Revision 1.244 / (download) - annotate - [select for diffs], Thu Jul 20 15:41:26 2017 UTC (6 years, 8 months ago) by schwarze
Branch: MAIN
Changes since 1.243: +1 -6 lines
Diff to previous 1.243 (colored) to selected 1.121 (colored)

MAP_PRIVATE is pointless without PROT_WRITE

Revision 1.243 / (download) - annotate - [select for diffs], Thu Jul 20 15:26:41 2017 UTC (6 years, 8 months ago) by schwarze
Branch: MAIN
Changes since 1.242: +1 -10 lines
Diff to previous 1.242 (colored) to selected 1.121 (colored)

For -Tlint, put parser messages on stdout instead of stderr.

Originally, naddy@ requested this in 2011 (or maybe even earlier).
It was discussed with joerg@, kristaps@, naddy@, and espie@ in 2011,
and everybody agreed in principle, but it was postponed because
kristaps@ wanted to do some cleanup of the message system first.
Meanwhile, message infrastructure was improved about a dozen times...

This makes long, tedious commands like "mandoc -Tlint *.1 2>&1 | less"
unnecessary and allows simple ones like "man -l -Tlint *.1".

Revision 1.242 / (download) - annotate - [select for diffs], Thu Jul 20 12:54:02 2017 UTC (6 years, 8 months ago) by schwarze
Branch: MAIN
Changes since 1.241: +1 -6 lines
Diff to previous 1.241 (colored) to selected 1.121 (colored)

correctly handle letters in .Nx arguments; improves for example
getpgid(2), ac(8), ldconfig(8), mount_ffs(8), sa(8), ttyflags(8), ...

Revision 1.241 / (download) - annotate - [select for diffs], Thu Jul 20 11:58:31 2017 UTC (6 years, 8 months ago) by schwarze
Branch: MAIN
Changes since 1.240: +9 -1 lines
Diff to previous 1.240 (colored) to selected 1.121 (colored)

three ideas found in a different TODO file

Revision 1.240 / (download) - annotate - [select for diffs], Wed Jul 19 21:48:37 2017 UTC (6 years, 8 months ago) by schwarze
Branch: MAIN
Changes since 1.239: +1 -48 lines
Diff to previous 1.239 (colored) to selected 1.121 (colored)

delete some entries that have been taken care of

Revision 1.239 / (download) - annotate - [select for diffs], Fri Jul 14 12:48:37 2017 UTC (6 years, 8 months ago) by schwarze
Branch: MAIN
Changes since 1.238: +10 -1 lines
Diff to previous 1.238 (colored) to selected 1.121 (colored)

eqn(7) nits from bentley@

Revision 1.238 / (download) - annotate - [select for diffs], Fri Jun 23 22:20:17 2017 UTC (6 years, 9 months ago) by schwarze
Branch: MAIN
Changes since 1.237: +8 -1 lines
Diff to previous 1.237 (colored) to selected 1.121 (colored)

eqn(1) output operator translation

Revision 1.237 / (download) - annotate - [select for diffs], Tue May 16 19:06:30 2017 UTC (6 years, 10 months ago) by schwarze
Branch: MAIN
Changes since 1.236: +1 -15 lines
Diff to previous 1.236 (colored) to selected 1.121 (colored)

Introduce a new mandoc(1) message level, -W style, below -W warning.
Switch -W all from meaning -W warning to meaning -W style.
The meaning of -T lint does *not* change, it still implies -W warning.
No messages on the new level yet, but they will come.

Usually, i do not lightly make the user interface larger.
But this has been planned for years, and EXIT STATUS 1
was reserved for it all the time.  The message system
is now stable enough to finally implement it.

jmc@ regarding the concept: "really good idea"

Revision 1.236 / (download) - annotate - [select for diffs], Thu Apr 27 17:08:04 2017 UTC (6 years, 11 months ago) by schwarze
Branch: MAIN
Changes since 1.235: +8 -1 lines
Diff to previous 1.235 (colored) to selected 1.121 (colored)

ASCII characters that are special to roff

Revision 1.235 / (download) - annotate - [select for diffs], Fri Mar 3 14:23:23 2017 UTC (7 years ago) by schwarze
Branch: MAIN
Changes since 1.234: +1 -7 lines
Diff to previous 1.234 (colored) to selected 1.121 (colored)

new -mdoc -Tmarkdown output mode; OK millert@ reyk@ tb@;
thanks to reyk@ and to Vsevolod at FreeBSD for suggesting it

Revision 1.234 / (download) - annotate - [select for diffs], Sat Feb 18 11:53:33 2017 UTC (7 years, 1 month ago) by schwarze
Branch: MAIN
CVS Tags: VERSION_1_14_1, VERSION_1_13
Changes since 1.233: +2 -5 lines
Diff to previous 1.233 (colored) to selected 1.121 (colored)

double quotes were fixed, finally

Revision 1.233 / (download) - annotate - [select for diffs], Wed Feb 8 12:20:16 2017 UTC (7 years, 1 month ago) by schwarze
Branch: MAIN
Changes since 1.232: +2 -2 lines
Diff to previous 1.232 (colored) to selected 1.121 (colored)

reference a relevant mail for one TODO item

Revision 1.232 / (download) - annotate - [select for diffs], Sun Feb 5 22:25:39 2017 UTC (7 years, 1 month ago) by schwarze
Branch: MAIN
Changes since 1.231: +1 -26 lines
Diff to previous 1.231 (colored) to selected 1.121 (colored)

remove several things that were taken care of in the past

Revision 1.231 / (download) - annotate - [select for diffs], Sun Feb 5 20:22:04 2017 UTC (7 years, 1 month ago) by schwarze
Branch: MAIN
Changes since 1.230: +1 -4 lines
Diff to previous 1.230 (colored) to selected 1.121 (colored)

mark up .Ar, .Fa, .Va, .Ft, and .Vt with <var> rather than <i>;
suggested by bentley@ long ago, but needed lots of cleanup first

Revision 1.230 / (download) - annotate - [select for diffs], Fri Feb 3 17:59:22 2017 UTC (7 years, 1 month ago) by schwarze
Branch: MAIN
Changes since 1.229: +18 -2 lines
Diff to previous 1.229 (colored) to selected 1.121 (colored)

more work found in old mails

Revision 1.229 / (download) - annotate - [select for diffs], Sat Jan 28 22:32:51 2017 UTC (7 years, 1 month ago) by schwarze
Branch: MAIN
Changes since 1.228: +1 -9 lines
Diff to previous 1.228 (colored) to selected 1.121 (colored)

MANDOCERR_BADTAB no longer exists,
and i checked that MANDOCERR_FI_TAB is used correctly.

Revision 1.228 / (download) - annotate - [select for diffs], Fri Jan 27 13:47:10 2017 UTC (7 years, 2 months ago) by schwarze
Branch: MAIN
Changes since 1.227: +1 -8 lines
Diff to previous 1.227 (colored) to selected 1.121 (colored)

warn about invalid output options
and error out if they occur on the command line;
missing feature found in the TODO file

Revision 1.227 / (download) - annotate - [select for diffs], Fri Jan 27 01:14:47 2017 UTC (7 years, 2 months ago) by schwarze
Branch: MAIN
Changes since 1.226: +1 -6 lines
Diff to previous 1.226 (colored) to selected 1.121 (colored)

Parse the section number from the content of preformatted pages
and warn if it doesn't match the directory where the file was found.

Revision 1.226 / (download) - annotate - [select for diffs], Thu Jan 26 19:32:46 2017 UTC (7 years, 2 months ago) by schwarze
Branch: MAIN
Changes since 1.225: +4 -1 lines
Diff to previous 1.225 (colored) to selected 1.121 (colored)

more info on man(7) .Xr hyperlinking

Revision 1.225 / (download) - annotate - [select for diffs], Thu Jan 26 18:28:18 2017 UTC (7 years, 2 months ago) by schwarze
Branch: MAIN
Changes since 1.224: +1 -10 lines
Diff to previous 1.224 (colored) to selected 1.121 (colored)

Fix -man -Thtml formatting after .nf (which has nothing to do
with "literal", by the way, it means "no fill"):

* Use <pre> such that whitespace is preserved.
* Preserve lines breaks.
* For font alternating macros, avoid node recursion which required
scary juggling with the fill state.  Instead, simply print the text
children directly.

Missing feature first noticed by kristaps@ in 2011,
the again reported by afresh1@ in 2016,
and finally reported here: https://github.com/Debian/debiman/issues/21 ,
which i only found because of Shane Kerr's comment here:
https://plus.google.com/110314300533310775053/posts/H1eaw9Yskoc

Revision 1.224 / (download) - annotate - [select for diffs], Wed Jan 25 02:14:43 2017 UTC (7 years, 2 months ago) by schwarze
Branch: MAIN
Changes since 1.223: +1 -7 lines
Diff to previous 1.223 (colored) to selected 1.121 (colored)

Improve HTML formatting of .Bl -tag.

In particular, when using the style sheet, put the body on the same
line as the head for short heads, or on the next line for long
heads, in a way that preserves both correct indentation and correct
vertical spacing with and without -compact, and with one or more
heads per body (hi, Zaphod) - eight use cases so far - and with and
without -tag, and with and without -offset, 32 use cases grand total.

Using many ideas from zhuk@, from <David dot Dahlberg at fkie dot
fraunhofer dot de>, and from Benny Lofgren <bl dash lists at lofgren
dot biz>, and a few of my own.

This is an excellent demonstration that CSS is an extremely hostile
language, much more trapful and much harder to use than, say, C.
When matthew@ reported this in July 2014 (!), it was already a known
issue, and i no longer remember for how long.  My first serious
attempt at fixing it (in November 2015) failed miserably.  I'd love
to see simplifications of both the generated HTML code and of the
style sheet, but without breaking any of the 32 use cases, please.

Revision 1.223 / (download) - annotate - [select for diffs], Tue Jan 17 15:32:43 2017 UTC (7 years, 2 months ago) by schwarze
Branch: MAIN
Changes since 1.222: +1 -10 lines
Diff to previous 1.222 (colored) to selected 1.121 (colored)

Completely delete the buf field of struct html and all the buf*()
interfaces.  Such a static buffer was a bad idea in the first place,
causing unfixable truncation that was only prevented by triggering
an assertion failure.  Instead, let the small number of remaining
users allocate and free their own, temporary dynamic buffers,
or for the case of .Xr and .In, pass the original data to be
assembled in print_otag().

Revision 1.222 / (download) - annotate - [select for diffs], Tue Sep 13 12:09:01 2016 UTC (7 years, 6 months ago) by schwarze
Branch: MAIN
Changes since 1.221: +8 -1 lines
Diff to previous 1.221 (colored) to selected 1.121 (colored)

minor tbl(7) column spacing and wrapping issues in lftp(1)

Revision 1.221 / (download) - annotate - [select for diffs], Tue Aug 2 11:09:46 2016 UTC (7 years, 7 months ago) by schwarze
Branch: MAIN
Changes since 1.220: +8 -1 lines
Diff to previous 1.220 (colored) to selected 1.121 (colored)

POSIX allows PATH_MAX to not be defined, meaning "unlimited".
Found by Aaron M. Ucko <amu at alum dot mit dot edu> on the GNU Hurd,
via Bdale Garbee, https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=829624

Also add EFTYPE at two places where it was forgotten.

Revision 1.220 / (download) - annotate - [select for diffs], Sun Jul 31 09:29:13 2016 UTC (7 years, 7 months ago) by schwarze
Branch: MAIN
Changes since 1.219: +1 -11 lines
Diff to previous 1.219 (colored) to selected 1.121 (colored)

Autodetect a suitable locale for -Tutf8 mode,
and allow overriding it manually.
Based on a patch from Svyatoslav Mishyn <juef at openmailbox dot org>
tweaked by me.
The idea originally came up in a conversation with Markus Waldeck.

Revision 1.219 / (download) - annotate - [select for diffs], Tue Jul 19 21:31:55 2016 UTC (7 years, 8 months ago) by schwarze
Branch: MAIN
Changes since 1.218: +1 -7 lines
Diff to previous 1.218 (colored) to selected 1.121 (colored)

Remove the dependency on SQLite without loss of functionality.
Stop supporting systems that don't have mmap(3).
Drop the obsolete names_check() now that we deleted MLINKS.

Revision 1.218 / (download) - annotate - [select for diffs], Sun Jun 5 21:06:04 2016 UTC (7 years, 9 months ago) by schwarze
Branch: MAIN
CVS Tags: VERSION_1_13_4
Changes since 1.217: +1 -6 lines
Diff to previous 1.217 (colored) to selected 1.121 (colored)

delete two entries that are done

Revision 1.217 / (download) - annotate - [select for diffs], Thu Apr 14 11:16:04 2016 UTC (7 years, 11 months ago) by schwarze
Branch: MAIN
Changes since 1.216: +6 -1 lines
Diff to previous 1.216 (colored) to selected 1.121 (colored)

in -man -Thtml, .nf does not preserve indentation

Revision 1.216 / (download) - annotate - [select for diffs], Fri Jan 8 01:37:32 2016 UTC (8 years, 2 months ago) by schwarze
Branch: MAIN
Changes since 1.215: +6 -1 lines
Diff to previous 1.215 (colored) to selected 1.121 (colored)

would be nice to warn about broken .Xr links...

Revision 1.215 / (download) - annotate - [select for diffs], Fri Nov 6 21:19:09 2015 UTC (8 years, 4 months ago) by schwarze
Branch: MAIN
Changes since 1.214: +1 -7 lines
Diff to previous 1.214 (colored) to selected 1.121 (colored)

In ./configure, select a RE syntax for word boundaries supported by libc;
issue reported by Svyatoslav Mishyn, Peter Bray, and Daniel Levai.

Revision 1.214 / (download) - annotate - [select for diffs], Tue Sep 29 18:45:36 2015 UTC (8 years, 6 months ago) by schwarze
Branch: MAIN
Changes since 1.213: +7 -1 lines
Diff to previous 1.213 (colored) to selected 1.121 (colored)

Theo found a stray blank in HTML output.

Revision 1.213 / (download) - annotate - [select for diffs], Sat Aug 29 15:10:28 2015 UTC (8 years, 7 months ago) by schwarze
Branch: MAIN
Changes since 1.212: +15 -1 lines
Diff to previous 1.212 (colored) to selected 1.121 (colored)

tedu@ reports tbl(7) issues in synaptics(4)

Revision 1.212 / (download) - annotate - [select for diffs], Sat Jul 18 03:43:51 2015 UTC (8 years, 8 months ago) by schwarze
Branch: MAIN
Changes since 1.211: +8 -1 lines
Diff to previous 1.211 (colored) to selected 1.121 (colored)

another portability todo

Revision 1.211 / (download) - annotate - [select for diffs], Tue Jul 14 19:40:05 2015 UTC (8 years, 8 months ago) by schwarze
Branch: MAIN
Changes since 1.210: +5 -1 lines
Diff to previous 1.210 (colored) to selected 1.121 (colored)

headers should not contain macros

Revision 1.210 / (download) - annotate - [select for diffs], Fri Jun 26 16:56:18 2015 UTC (8 years, 9 months ago) by schwarze
Branch: MAIN
Changes since 1.209: +11 -23 lines
Diff to previous 1.209 (colored) to selected 1.121 (colored)

delete some TODO entries that were already fixed

Revision 1.209 / (download) - annotate - [select for diffs], Thu Jun 18 01:02:16 2015 UTC (8 years, 9 months ago) by schwarze
Branch: MAIN
Changes since 1.208: +6 -1 lines
Diff to previous 1.208 (colored) to selected 1.121 (colored)

nice idea for eqn(7) from CDBUG.

Revision 1.208 / (download) - annotate - [select for diffs], Wed Jun 10 22:26:19 2015 UTC (8 years, 9 months ago) by schwarze
Branch: MAIN
Changes since 1.207: +11 -1 lines
Diff to previous 1.207 (colored) to selected 1.121 (colored)

two new tasks i heard about at BSDCan

Revision 1.207 / (download) - annotate - [select for diffs], Sat Apr 18 16:05:45 2015 UTC (8 years, 11 months ago) by schwarze
Branch: MAIN
Changes since 1.206: +5 -2 lines
Diff to previous 1.206 (colored) to selected 1.121 (colored)

look at COHERENT troff

Revision 1.206 / (download) - annotate - [select for diffs], Thu Apr 16 20:36:04 2015 UTC (8 years, 11 months ago) by schwarze
Branch: MAIN
Changes since 1.205: +5 -1 lines
Diff to previous 1.205 (colored) to selected 1.121 (colored)

florian want <img> tags for https://tlakh.xyz/p2k15.7.html

Revision 1.205 / (download) - annotate - [select for diffs], Mon Apr 6 22:06:23 2015 UTC (8 years, 11 months ago) by schwarze
Branch: MAIN
Changes since 1.204: +6 -1 lines
Diff to previous 1.204 (colored) to selected 1.121 (colored)

Do not mistreat empty arguments to font alternating macros
as vertical spacing requests.  Bug found with xmahjongg(6).

Revision 1.204 / (download) - annotate - [select for diffs], Fri Apr 3 12:41:02 2015 UTC (8 years, 11 months ago) by schwarze
Branch: MAIN
Changes since 1.203: +9 -1 lines
Diff to previous 1.203 (colored) to selected 1.121 (colored)

portability: word boundaries in regular expressions

Revision 1.203 / (download) - annotate - [select for diffs], Mon Mar 16 14:51:14 2015 UTC (9 years ago) by schwarze
Branch: MAIN
Changes since 1.202: +14 -1 lines
Diff to previous 1.202 (colored) to selected 1.121 (colored)

naddy@ found a tough problem - fittingly, in cobfusc(1)...

Revision 1.202 / (download) - annotate - [select for diffs], Wed Mar 11 13:11:22 2015 UTC (9 years ago) by schwarze
Branch: MAIN
CVS Tags: VERSION_1_13_3
Changes since 1.201: +6 -1 lines
Diff to previous 1.201 (colored) to selected 1.121 (colored)

When interpreting the -O argument as a macro name fails,
fall back to showing Nd rather than not showing anything.
Issue reported by jmc@.

Revision 1.201 / (download) - annotate - [select for diffs], Fri Feb 20 13:47:28 2015 UTC (9 years, 1 month ago) by schwarze
Branch: MAIN
Changes since 1.200: +5 -1 lines
Diff to previous 1.200 (colored) to selected 1.121 (colored)

\n(.$

Revision 1.200 / (download) - annotate - [select for diffs], Tue Feb 17 20:41:50 2015 UTC (9 years, 1 month ago) by schwarze
Branch: MAIN
Changes since 1.199: +7 -5 lines
Diff to previous 1.199 (colored) to selected 1.121 (colored)

naddy@ scoured the ports tree for remaining mandoc issues
and identified two top priority issues

Revision 1.199 / (download) - annotate - [select for diffs], Thu Feb 12 13:54:50 2015 UTC (9 years, 1 month ago) by schwarze
Branch: MAIN
Changes since 1.198: +1 -5 lines
Diff to previous 1.198 (colored) to selected 1.121 (colored)

After almost five years and 99 revisions, mdoc_macro.c rev. 1.182
finally fixed the four issues explained in the mdoc_macro.c rev. 1.83
commit message.

Revision 1.198 / (download) - annotate - [select for diffs], Tue Feb 10 08:05:30 2015 UTC (9 years, 1 month ago) by schwarze
Branch: MAIN
Changes since 1.197: +7 -7 lines
Diff to previous 1.197 (colored) to selected 1.121 (colored)

trim trailing white space, no code change;
from Svyatoslav Mishyn <juef at openmailboxd dot org>, Crux Linux

Revision 1.197 / (download) - annotate - [select for diffs], Sat Jan 24 01:45:21 2015 UTC (9 years, 2 months ago) by schwarze
Branch: MAIN
Changes since 1.196: +6 -2 lines
Diff to previous 1.196 (colored) to selected 1.121 (colored)

new task: escape blank at the beginning of a line

Revision 1.196 / (download) - annotate - [select for diffs], Wed Dec 17 20:31:19 2014 UTC (9 years, 3 months ago) by schwarze
Branch: MAIN
Changes since 1.195: +5 -1 lines
Diff to previous 1.195 (colored) to selected 1.121 (colored)

[[:<:]] is not POSIX

Revision 1.195 / (download) - annotate - [select for diffs], Sat Dec 13 13:14:39 2014 UTC (9 years, 3 months ago) by schwarze
Branch: MAIN
CVS Tags: VERSION_1_13_2
Changes since 1.194: +11 -2 lines
Diff to previous 1.194 (colored) to selected 1.121 (colored)

Fix a regression found by Carsten dot Kunze at arcor dot de:
Do not show bogus quotes when .Bl -column phrases are quoted.

Revision 1.194 / (download) - annotate - [select for diffs], Wed Dec 10 21:54:13 2014 UTC (9 years, 3 months ago) by schwarze
Branch: MAIN
Changes since 1.193: +4 -3 lines
Diff to previous 1.193 (colored) to selected 1.121 (colored)

the asciidoc/docbook toolchain uses braindead \h for indentation

Revision 1.193 / (download) - annotate - [select for diffs], Wed Dec 3 01:46:54 2014 UTC (9 years, 3 months ago) by schwarze
Branch: MAIN
Changes since 1.192: +1 -24 lines
Diff to previous 1.192 (colored) to selected 1.121 (colored)

delete five entries that were already fixed

Revision 1.192 / (download) - annotate - [select for diffs], Tue Dec 2 11:13:49 2014 UTC (9 years, 3 months ago) by schwarze
Branch: MAIN
Changes since 1.191: +7 -1 lines
Diff to previous 1.191 (colored) to selected 1.121 (colored)

note to self to not forget about groff

Revision 1.191 / (download) - annotate - [select for diffs], Tue Dec 2 10:41:12 2014 UTC (9 years, 3 months ago) by schwarze
Branch: MAIN
Changes since 1.190: +3 -2 lines
Diff to previous 1.190 (colored) to selected 1.121 (colored)

we really need .ta

Revision 1.190 / (download) - annotate - [select for diffs], Tue Dec 2 10:08:06 2014 UTC (9 years, 3 months ago) by schwarze
Branch: MAIN
Changes since 1.189: +1 -6 lines
Diff to previous 1.189 (colored) to selected 1.121 (colored)

Fix the implementation and documentation of \c (continue text input line).
In particular, make it work in no-fill mode, too.
Reminded by Carsten dot Kunze at arcor dot de (Heirloom roff).

Revision 1.189 / (download) - annotate - [select for diffs], Wed Nov 26 21:40:17 2014 UTC (9 years, 4 months ago) by schwarze
Branch: MAIN
Changes since 1.188: +4 -1 lines
Diff to previous 1.188 (colored) to selected 1.121 (colored)

Simplify the mparse_open()/mparse_wait() interface.
Don't bother the user with the PID of the child process,
store it inside the opaque mparse handle.

Revision 1.188 / (download) - annotate - [select for diffs], Thu Nov 20 02:21:27 2014 UTC (9 years, 4 months ago) by schwarze
Branch: MAIN
Changes since 1.187: +9 -1 lines
Diff to previous 1.187 (colored) to selected 1.121 (colored)

warn about calling non-callable macros

Revision 1.187 / (download) - annotate - [select for diffs], Sun Nov 9 00:54:58 2014 UTC (9 years, 4 months ago) by schwarze
Branch: MAIN
Changes since 1.186: +10 -1 lines
Diff to previous 1.186 (colored) to selected 1.121 (colored)

hyperlinking in -man -Thtml
punctuation in the middle of .Fn

Revision 1.186 / (download) - annotate - [select for diffs], Sat Oct 25 01:01:12 2014 UTC (9 years, 5 months ago) by schwarze
Branch: MAIN
Changes since 1.185: +13 -2 lines
Diff to previous 1.185 (colored) to selected 1.121 (colored)

some new tasks

Revision 1.185 / (download) - annotate - [select for diffs], Thu Oct 16 01:11:20 2014 UTC (9 years, 5 months ago) by schwarze
Branch: MAIN
Changes since 1.184: +4 -4 lines
Diff to previous 1.184 (colored) to selected 1.121 (colored)

Implement in-line equations, much needed by Xenocara manuals.
Put the steering into the roff parser rather than into the mdoc
parser such that it works for all macro languages and on both text
and macro lines.
Line breaks and blank characters generated before and after in-line
equations are not perfect yet, but let's do one thing at a time.

Revision 1.184 / (download) - annotate - [select for diffs], Tue Oct 14 15:47:40 2014 UTC (9 years, 5 months ago) by schwarze
Branch: MAIN
Changes since 1.183: +99 -9 lines
Diff to previous 1.183 (colored) to selected 1.121 (colored)

annotate for difficulty, and some minor cleanup

Revision 1.183 / (download) - annotate - [select for diffs], Tue Oct 14 13:53:33 2014 UTC (9 years, 5 months ago) by schwarze
Branch: MAIN
Changes since 1.182: +4 -3 lines
Diff to previous 1.182 (colored) to selected 1.121 (colored)

bentley@ suggests Unicode table borders;
while here, remove the note about sox(1), it works now

Revision 1.182 / (download) - annotate - [select for diffs], Fri Oct 10 10:49:38 2014 UTC (9 years, 5 months ago) by schwarze
Branch: MAIN
Changes since 1.181: +18 -6 lines
Diff to previous 1.181 (colored) to selected 1.121 (colored)

tasks found while reading the eqn(7) User's Guide

Revision 1.181 / (download) - annotate - [select for diffs], Fri Oct 10 08:44:24 2014 UTC (9 years, 5 months ago) by kristaps
Branch: MAIN
Changes since 1.180: +7 -1 lines
Diff to previous 1.180 (colored) to selected 1.121 (colored)

Re-write of eqn(7) parser and MathML output.
This adds parser-level support for the grammar described by the eqn
second-edition technical paper, "Typesetting Mathematics — User's Guide"
(Kernighan, Cherry).
The reason for this re-write is the grouping rules, which were not
possible given the existing implementation.
The re-write has also considerably simplified the HTML (and, if it ever
is completed, terminal) front-end.

Revision 1.180 / (download) - annotate - [select for diffs], Mon Oct 6 18:35:49 2014 UTC (9 years, 5 months ago) by schwarze
Branch: MAIN
Changes since 1.179: +7 -1 lines
Diff to previous 1.179 (colored) to selected 1.121 (colored)

note HTML max-width issue

Revision 1.179 / (download) - annotate - [select for diffs], Mon Aug 18 13:27:47 2014 UTC (9 years, 7 months ago) by kristaps
Branch: MAIN
CVS Tags: VERSION_1_12_4, VERSION_1_12
Changes since 1.178: +14 -1 lines
Diff to previous 1.178 (colored) to selected 1.121 (colored)

Notes on CGI: installation (readying cgi.h) and future plans.

Revision 1.178 / (download) - annotate - [select for diffs], Wed Aug 13 22:17:51 2014 UTC (9 years, 7 months ago) by schwarze
Branch: MAIN
Changes since 1.177: +5 -1 lines
Diff to previous 1.177 (colored) to selected 1.121 (colored)

note about AT&T documenters workbench

Revision 1.177 / (download) - annotate - [select for diffs], Wed Aug 13 21:30:55 2014 UTC (9 years, 7 months ago) by schwarze
Branch: MAIN
Changes since 1.176: +4 -1 lines
Diff to previous 1.176 (colored) to selected 1.121 (colored)

note about <var>

Revision 1.176 / (download) - annotate - [select for diffs], Sat Aug 9 14:24:53 2014 UTC (9 years, 7 months ago) by schwarze
Branch: MAIN
CVS Tags: VERSION_1_13_1
Changes since 1.175: +5 -1 lines
Diff to previous 1.175 (colored) to selected 1.121 (colored)

mmap(2) requires MAP_PRIVATE ^ MAP_SHARED for flags;
found by kristaps@ on Mac OS X

Revision 1.175 / (download) - annotate - [select for diffs], Fri Aug 8 20:04:36 2014 UTC (9 years, 7 months ago) by schwarze
Branch: MAIN
Changes since 1.174: +3 -2 lines
Diff to previous 1.174 (colored) to selected 1.121 (colored)

mention neatroff

Revision 1.174 / (download) - annotate - [select for diffs], Tue Jul 29 15:20:10 2014 UTC (9 years, 8 months ago) by schwarze
Branch: MAIN
Changes since 1.173: +79 -18 lines
Diff to previous 1.173 (colored) to selected 1.121 (colored)

move some things here from my private TODO list,
and remove some items that have already been taken care of

Revision 1.173 / (download) - annotate - [select for diffs], Thu Jul 24 08:26:05 2014 UTC (9 years, 8 months ago) by schwarze
Branch: MAIN
Changes since 1.172: +12 -1 lines
Diff to previous 1.172 (colored) to selected 1.121 (colored)

improve FATAL handling in makewhatis(8)

Revision 1.172 / (download) - annotate - [select for diffs], Fri Jun 20 02:53:13 2014 UTC (9 years, 9 months ago) by schwarze
Branch: MAIN
Changes since 1.171: +5 -1 lines
Diff to previous 1.171 (colored) to selected 1.121 (colored)

take a note about pandoc

Revision 1.171 / (download) - annotate - [select for diffs], Tue Jun 10 21:19:57 2014 UTC (9 years, 9 months ago) by schwarze
Branch: MAIN
Changes since 1.170: +19 -1 lines
Diff to previous 1.170 (colored) to selected 1.121 (colored)

some new things to do

Revision 1.170 / (download) - annotate - [select for diffs], Wed Apr 23 16:37:43 2014 UTC (9 years, 11 months ago) by schwarze
Branch: MAIN
Changes since 1.169: +7 -1 lines
Diff to previous 1.169 (colored) to selected 1.121 (colored)

espie@ suggests using SQL views

Revision 1.169 / (download) - annotate - [select for diffs], Wed Apr 23 16:08:33 2014 UTC (9 years, 11 months ago) by schwarze
Branch: MAIN
Changes since 1.168: +4 -2 lines
Diff to previous 1.168 (colored) to selected 1.121 (colored)

Audit strlcpy(3)/strlcat(3) usage.

* Repair three instances of silent truncation, use asprintf(3).
* Change two instances of strlen(3)+malloc(3)+strlcpy(3)+strlcat(3)+...
to use asprintf(3) instead to make them less error prone.
* Cast the return value of four instances where the destination
buffer is known to be large enough to (void).
* Completely remove three useless instances of strlcpy(3)/strlcat(3).
* Mark two places in -Thtml with XXX that can cause information loss
and crashes but are not easy to fix, requiring design changes of
some internal interfaces.
* The file mandocdb.c remains to be audited.

Revision 1.168 / (download) - annotate - [select for diffs], Sun Mar 30 19:47:48 2014 UTC (10 years ago) by schwarze
Branch: MAIN
Changes since 1.167: +1 -4 lines
Diff to previous 1.167 (colored) to selected 1.121 (colored)

Implement the roff(7) .ll (line length) request.
Found by naddy@ in the textproc/enchant(1) port.
Of course, do not use this in new manuals.

Revision 1.167 / (download) - annotate - [select for diffs], Sat Mar 8 21:54:39 2014 UTC (10 years ago) by schwarze
Branch: MAIN
Changes since 1.166: +11 -1 lines
Diff to previous 1.166 (colored) to selected 1.121 (colored)

new bug report from wiz@ regarding Tcl*(3)

Revision 1.166 / (download) - annotate - [select for diffs], Mon Mar 3 18:37:32 2014 UTC (10 years ago) by schwarze
Branch: MAIN
Changes since 1.165: +12 -6 lines
Diff to previous 1.165 (colored) to selected 1.121 (colored)

MANDOCERR_BADTAB needs checking, but .UR/.UE is done

Revision 1.165 / (download) - annotate - [select for diffs], Fri Feb 14 23:24:26 2014 UTC (10 years, 1 month ago) by schwarze
Branch: MAIN
Changes since 1.164: +1 -6 lines
Diff to previous 1.164 (colored) to selected 1.121 (colored)

Parse and ignore the roff(7) .ce request (center some lines).

We even parse and ignore the .ad request (adjustment mode),
and it doesn't make sense to more prominently warn about
temporary than about permanent adjustment changes.

Request found by naddy@ in xloadimage(1) and by juanfra@ in racket(1).

Revision 1.164 / (download) - annotate - [select for diffs], Fri Feb 14 23:05:20 2014 UTC (10 years, 1 month ago) by schwarze
Branch: MAIN
Changes since 1.163: +1 -4 lines
Diff to previous 1.163 (colored) to selected 1.121 (colored)

Implement the roff(7) .as request (append to user-defined string).
Missing feature found by jca@ in ratpoison(1).
The ratpoison(1) manual still doesn't work because it uses .shift
and .while, too (apparently, ratpoison is so complex that it
needs a Turing-complete language to even format its manual :-).

Written at Christchurch International Airport.

Revision 1.163 / (download) - annotate - [select for diffs], Fri Feb 14 22:27:41 2014 UTC (10 years, 1 month ago) by schwarze
Branch: MAIN
Changes since 1.162: +1 -6 lines
Diff to previous 1.162 (colored) to selected 1.121 (colored)

Handle some predefined read-only number registers, e.g. .H and .V.
In particular, this improves handling of the pod2man(1) preamble;
for examples of the effect, see some author names in perlthrtut(1).

Missing feature reported by Andreas Voegele <mail at andreasvoegele dot com>
more than two years ago.  Written at Christchurch International Airport.

Revision 1.162 / (download) - annotate - [select for diffs], Wed Dec 25 14:40:34 2013 UTC (10 years, 3 months ago) by schwarze
Branch: MAIN
CVS Tags: VERSION_1_12_3
Changes since 1.161: +1 -8 lines
Diff to previous 1.161 (colored) to selected 1.121 (colored)

In the SYNOPSIS, implement hanging indentation for .Fo
and avoid output line breaks inside .Fa arguments.
This reduces groff-mandoc differences in OpenBSD base by more than 8%.
Patch from Franco Fichtner <franco at lastsummer dot de> (DragonFly).

Revision 1.161 / (download) - annotate - [select for diffs], Sun Dec 15 23:56:42 2013 UTC (10 years, 3 months ago) by schwarze
Branch: MAIN
Changes since 1.160: +1 -6 lines
Diff to previous 1.160 (colored) to selected 1.121 (colored)

In quoted macro arguments, double quotes can be quoted by doubling them.
For a long time, we handle this in roff(7) and man(7) macros.
Now add correct handling for the mdoc(7) case, too.

Closely based on a patch by Tsugutomo dot ENAMI at jp dot sony dot com,
see http://gnats.netbsd.org/cgi-bin/query-pr-single.pl?number=48438
received via Thomas Klausner (wiz@), slightly tweaked by me.

Revision 1.160 / (download) - annotate - [select for diffs], Sun Dec 15 21:30:13 2013 UTC (10 years, 3 months ago) by schwarze
Branch: MAIN
Changes since 1.159: +10 -1 lines
Diff to previous 1.159 (colored) to selected 1.121 (colored)

bentley@ looked at sbcl(1) and found new tasks for us...

Revision 1.159 / (download) - annotate - [select for diffs], Sun Nov 10 12:28:02 2013 UTC (10 years, 4 months ago) by schwarze
Branch: MAIN
Changes since 1.158: +7 -1 lines
Diff to previous 1.158 (colored) to selected 1.121 (colored)

missing features: line length and italic correction

Revision 1.158 / (download) - annotate - [select for diffs], Sun Oct 6 13:32:46 2013 UTC (10 years, 5 months ago) by schwarze
Branch: MAIN
Changes since 1.157: +2 -8 lines
Diff to previous 1.157 (colored) to selected 1.121 (colored)

If there is random stuff inside a .Bl block body before the first .It,
do not throw a FATAL error and do not die, but just throw a WARNING
and move the stuff out of the .Bl block.

This bug felt completely 2008-ish; meanwhile, such bugs from the
Kristaps-doesnt-like-syntax-errors-so-lets-just-give-up--Era
are becoming rare, but this was one of the last survivors.

Thanks to bentley@ for reminding me to finally fix this.

Revision 1.157 / (download) - annotate - [select for diffs], Fri Sep 27 21:12:34 2013 UTC (10 years, 6 months ago) by schwarze
Branch: MAIN
CVS Tags: VERSION_1_12_2
Changes since 1.156: +4 -1 lines
Diff to previous 1.156 (colored) to selected 1.121 (colored)

Maybe we can easily improve -width parsing.

Revision 1.156 / (download) - annotate - [select for diffs], Sun Sep 22 23:21:23 2013 UTC (10 years, 6 months ago) by schwarze
Branch: MAIN
Changes since 1.155: +8 -2 lines
Diff to previous 1.155 (colored) to selected 1.121 (colored)

Throwing FATAL MANDOCERR_SYNTCHILD on non-.It children of .Bl
feels so 2008-ish, one of the last remnants of the
Kristaps-doesnt-like-syntax-errors-so-lets-just-give-up--Era.

Revision 1.155 / (download) - annotate - [select for diffs], Sun Sep 22 11:48:38 2013 UTC (10 years, 6 months ago) by schwarze
Branch: MAIN
Changes since 1.154: +6 -1 lines
Diff to previous 1.154 (colored) to selected 1.121 (colored)

DocBook abuses \h - for no good reason, but maybe we should eventually
try to deal with it.

Revision 1.154 / (download) - annotate - [select for diffs], Sun Jul 14 11:57:38 2013 UTC (10 years, 8 months ago) by schwarze
Branch: MAIN
Changes since 1.153: +7 -1 lines
Diff to previous 1.153 (colored) to selected 1.121 (colored)

jca@ found .as .shift .while in ratpoison(1)

Revision 1.153 / (download) - annotate - [select for diffs], Sun Jul 14 09:36:13 2013 UTC (10 years, 8 months ago) by schwarze
Branch: MAIN
Changes since 1.152: +10 -1 lines
Diff to previous 1.152 (colored) to selected 1.121 (colored)

tedu@ says: "whatis pool" doesn't work

Revision 1.152 / (download) - annotate - [select for diffs], Sat Jul 13 12:52:07 2013 UTC (10 years, 8 months ago) by schwarze
Branch: MAIN
Changes since 1.151: +1 -5 lines
Diff to previous 1.151 (colored) to selected 1.121 (colored)

Rudimentary implementation of the .it request (input line trap).
As with any low-level roff request involving subtle interactions
with macro internals, this implementation is not exact, but it
does handle the simplest cases.

This request occurs in man(7) code generated from DocBook,
for example mysql(1) and yasm_arch(7).
Thanks to brad@ for reporting the issue back in January 2011.

Revision 1.151 / (download) - annotate - [select for diffs], Tue Jul 2 12:22:31 2013 UTC (10 years, 8 months ago) by schwarze
Branch: MAIN
Changes since 1.150: +1 -9 lines
Diff to previous 1.150 (colored) to selected 1.121 (colored)

fixed in mandoc.c rev. 1.67 and OpenBSD mandoc.c rev. 1.36

Revision 1.150 / (download) - annotate - [select for diffs], Sat Jun 22 10:05:44 2013 UTC (10 years, 9 months ago) by schwarze
Branch: MAIN
Changes since 1.149: +13 -5 lines
Diff to previous 1.149 (colored) to selected 1.121 (colored)

sort missing roff requests, and add some usage info

Revision 1.149 / (download) - annotate - [select for diffs], Sat Jun 1 05:56:44 2013 UTC (10 years, 9 months ago) by schwarze
Branch: MAIN
Changes since 1.148: +5 -1 lines
Diff to previous 1.148 (colored) to selected 1.121 (colored)

latex2man.1 - oh boy...

Revision 1.148 / (download) - annotate - [select for diffs], Mon Nov 19 22:30:58 2012 UTC (11 years, 4 months ago) by schwarze
Branch: MAIN
Changes since 1.147: +2 -6 lines
Diff to previous 1.147 (colored) to selected 1.121 (colored)

Do not crash on stray .Ta macros found outside column lists.
Problem reported by jmc@, thanks.

Revision 1.147 / (download) - annotate - [select for diffs], Sun Nov 18 00:05:35 2012 UTC (11 years, 4 months ago) by schwarze
Branch: MAIN
Changes since 1.146: +10 -1 lines
Diff to previous 1.146 (colored) to selected 1.121 (colored)

Fix four small whitespace issues related to trailing punctuation
reported by Nicolas Joly <njoly at pasteur dot fr>:

- add EOS spacing after trailing punctuation after .Cd, .Fc, and .Lb
- suppress spacing before trailing punctuation after .Fd

Add the remaining issues from the same report to the TODO file.

Revision 1.146 / (download) - annotate - [select for diffs], Fri Nov 16 18:44:32 2012 UTC (11 years, 4 months ago) by schwarze
Branch: MAIN
Changes since 1.145: +1 -9 lines
Diff to previous 1.145 (colored) to selected 1.121 (colored)

End of sentence spacing after trailing punctuation after .In and .Ap
has just been fixed.  Note that my problem description was somewhat
misleading, even though Nicolas Joly's problem report was fine.

Revision 1.145 / (download) - annotate - [select for diffs], Sun Nov 4 18:58:15 2012 UTC (11 years, 4 months ago) by schwarze
Branch: MAIN
Changes since 1.144: +11 -1 lines
Diff to previous 1.144 (colored) to selected 1.121 (colored)

crash caused by .Ta outside .Bl

Revision 1.144 / (download) - annotate - [select for diffs], Wed Oct 31 09:20:23 2012 UTC (11 years, 4 months ago) by schwarze
Branch: MAIN
Changes since 1.143: +3 -1 lines
Diff to previous 1.143 (colored) to selected 1.121 (colored)

freeciv wants .UR/.UE too; from bentley@

Revision 1.143 / (download) - annotate - [select for diffs], Fri Oct 12 16:45:34 2012 UTC (11 years, 5 months ago) by schwarze
Branch: MAIN
Changes since 1.142: +9 -1 lines
Diff to previous 1.142 (colored) to selected 1.121 (colored)

minor EOS issue reported by Nicolas Joly

Revision 1.142 / (download) - annotate - [select for diffs], Wed Jul 18 16:52:03 2012 UTC (11 years, 8 months ago) by schwarze
Branch: MAIN
Changes since 1.141: +1 -21 lines
Diff to previous 1.141 (colored) to selected 1.121 (colored)

Drop empty .IP such that is does not cause additional vertical spacing.
Issue first reported by naddy@ in rsync(1).
OpenBSD rev. 1.55.

Revision 1.141 / (download) - annotate - [select for diffs], Wed Jul 18 16:41:09 2012 UTC (11 years, 8 months ago) by schwarze
Branch: MAIN
Changes since 1.140: +1 -10 lines
Diff to previous 1.140 (colored) to selected 1.121 (colored)

Drop .sp and .br right after .SH and .SS.

Fixes vertical spacing after "OPTIONS" in gcc(1).
Issue first reported by naddy@ in rsync(1).

OpenBSD rev. 1.54.

Revision 1.140 / (download) - annotate - [select for diffs], Wed Jul 18 16:20:43 2012 UTC (11 years, 8 months ago) by schwarze
Branch: MAIN
Changes since 1.139: +1 -10 lines
Diff to previous 1.139 (colored) to selected 1.121 (colored)

Let a trailing .Ns macro take effect
even on an input line containing a partial implicit macro.

Fixes horizontal spacing in vi(1), ddb(4), and ppp(8).

OpenBSD rev. 1.74.

Revision 1.139 / (download) - annotate - [select for diffs], Wed Jul 18 11:11:12 2012 UTC (11 years, 8 months ago) by schwarze
Branch: MAIN
Changes since 1.138: +1 -8 lines
Diff to previous 1.138 (colored) to selected 1.121 (colored)

Fix handling of paragraph macros inside lists:
* When they are trailing the last item, move them outside the list.
* When they are trailing any other none-compact item, drop them.

OpenBSD rev. mdoc_validate.c 1.107, mdoc.c 1.91

Revision 1.138 / (download) - annotate - [select for diffs], Wed Jul 18 10:39:19 2012 UTC (11 years, 8 months ago) by schwarze
Branch: MAIN
Changes since 1.137: +1 -13 lines
Diff to previous 1.137 (colored) to selected 1.121 (colored)

The mdoc(7) \*(Ba predefined string actually forces roman font;
that's stupid because it may break enclosing font changes,
but let's do the same for groff bug compatibility.

--> Never use \*(Ba, use just plain "|"! <--

Also, predefined strings are already expanded by the roff(7) parser,
so the mdoc(7) parser has to look for the expanded string.

OpenBSD rev. mdoc.c 1.90 and predefs.in 1.3

Revision 1.137 / (download) - annotate - [select for diffs], Mon Jul 16 21:30:42 2012 UTC (11 years, 8 months ago) by schwarze
Branch: MAIN
Changes since 1.136: +1 -4 lines
Diff to previous 1.136 (colored) to selected 1.121 (colored)

In flush-left mode of both man(7) and mdoc(7), when an output line is broken
at the position of a literal tab, the tab indents the following line.
Fixes the perl(1) SYNOPSIS; reminded by deraadt@; OpenBSD rev. 1.66.

Revision 1.136 / (download) - annotate - [select for diffs], Tue Jun 12 20:21:04 2012 UTC (11 years, 9 months ago) by kristaps
Branch: MAIN
Changes since 1.135: +1 -4 lines
Diff to previous 1.135 (colored) to selected 1.121 (colored)

Add `cc' support.
This was reported by espie@ and in the TODO.
Caveat: `cc' has buggy behaviour when invoked in groff(1) and followed
by a line-breaking control character macro, e.g., in a -man doc,

  .cc |
  .B foo
  'B foo
  |cc
  'B foo

will cause groff(1) to behave properly for `.B' but inline the macro
definition for `B' when invoked with the line-breaking macro.

Revision 1.135 / (download) - annotate - [select for diffs], Tue Jun 12 12:47:14 2012 UTC (11 years, 9 months ago) by kristaps
Branch: MAIN
Changes since 1.134: +1 -7 lines
Diff to previous 1.134 (colored) to selected 1.121 (colored)

Fix an assert() raised by `RS' when following `TP'.
The reason was that `RS' wasn't BSCOPE'd, so the next-line (BLINE) scope
opened by `TP' would still be in the HEAD macro.
This was from joerg@'s archive of failures.

Revision 1.134 / (download) - annotate - [select for diffs], Tue Jun 5 21:29:26 2012 UTC (11 years, 9 months ago) by schwarze
Branch: MAIN
Changes since 1.133: +4 -1 lines
Diff to previous 1.133 (colored) to selected 1.121 (colored)

forgot to commit one request bu espie@

Revision 1.133 / (download) - annotate - [select for diffs], Thu May 31 01:54:45 2012 UTC (11 years, 10 months ago) by schwarze
Branch: MAIN
Changes since 1.132: +1 -5 lines
Diff to previous 1.132 (colored) to selected 1.121 (colored)

.if vertical spacing now fixed in OpenBSD

Revision 1.132 / (download) - annotate - [select for diffs], Mon May 28 23:09:22 2012 UTC (11 years, 10 months ago) by schwarze
Branch: MAIN
Changes since 1.131: +5 -4 lines
Diff to previous 1.131 (colored) to selected 1.121 (colored)

clarify two entries related to roff(7) escapes

Revision 1.131 / (download) - annotate - [select for diffs], Sun May 27 15:20:12 2012 UTC (11 years, 10 months ago) by schwarze
Branch: MAIN
Changes since 1.130: +1 -10 lines
Diff to previous 1.130 (colored) to selected 1.121 (colored)

Horizontal spacing of tables was fixed
in tbl_term.c rev. 1.10 and out.c rev. 1.16
on September 20, 2011.
I merely forgot to delete the TODO entry.

Revision 1.130 / (download) - annotate - [select for diffs], Sun May 27 14:42:05 2012 UTC (11 years, 10 months ago) by schwarze
Branch: MAIN
Changes since 1.129: +3 -10 lines
Diff to previous 1.129 (colored) to selected 1.121 (colored)

The .\} -> .\& -> pset() bug reported by naddy has already been fixed;
i'm really sure because i both stepped through the code with gdb
and wrote an OpenBSD regression test for it.

While here, note that bentley@ reported .ti .ce .fc missing.

Revision 1.129 / (download) - annotate - [select for diffs], Sun Mar 4 23:53:37 2012 UTC (12 years ago) by schwarze
Branch: MAIN
CVS Tags: VERSION_1_12_1
Changes since 1.128: +4 -1 lines
Diff to previous 1.128 (colored) to selected 1.121 (colored)

two reminders

Revision 1.128 / (download) - annotate - [select for diffs], Mon Jan 23 01:41:54 2012 UTC (12 years, 2 months ago) by joerg
Branch: MAIN
Changes since 1.127: +3 -1 lines
Diff to previous 1.127 (colored) to selected 1.121 (colored)

Add entry about the .TP / .RS crash before I forget about it again.

Revision 1.127 / (download) - annotate - [select for diffs], Mon Jan 2 15:48:05 2012 UTC (12 years, 2 months ago) by kristaps
Branch: MAIN
Changes since 1.126: +1 -4 lines
Diff to previous 1.126 (colored) to selected 1.121 (colored)

`-diag' lists aren't parsed, unlike other list types.  This fixes a TODO
entry raised by deraadt@.

Revision 1.126 / (download) - annotate - [select for diffs], Mon Dec 5 00:41:40 2011 UTC (12 years, 3 months ago) by schwarze
Branch: MAIN
Changes since 1.125: +6 -1 lines
Diff to previous 1.125 (colored) to selected 1.121 (colored)

must ignore \h with quoted argument

Revision 1.125 / (download) - annotate - [select for diffs], Thu Nov 17 17:41:07 2011 UTC (12 years, 4 months ago) by schwarze
Branch: MAIN
Changes since 1.124: +4 -1 lines
Diff to previous 1.124 (colored) to selected 1.121 (colored)

using undefined macros or strings should define them to be empty

Revision 1.124 / (download) - annotate - [select for diffs], Sun Nov 13 10:02:54 2011 UTC (12 years, 4 months ago) by schwarze
Branch: MAIN
Changes since 1.123: +4 -1 lines
Diff to previous 1.123 (colored) to selected 1.121 (colored)

another detail to implement;
long live the tricky exceptions!

Revision 1.123 / (download) - annotate - [select for diffs], Mon Nov 7 01:24:40 2011 UTC (12 years, 4 months ago) by schwarze
Branch: MAIN
Changes since 1.122: +2 -6 lines
Diff to previous 1.122 (colored) to selected 1.121 (colored)

When the HEAD scope of .TP is broken by another block macro,
do not abort with a FATAL error, but report a report a WARNING,
remove the broken .TP from the syntax tree, and prod on.
Reported repeatedly by ports people, at least by brad@ and jeremy@.
Also fixes rendition(4) in Xenocara.
ok kristaps@

Revision 1.122 / (download) - annotate - [select for diffs], Tue Sep 20 14:20:48 2011 UTC (12 years, 6 months ago) by schwarze
Branch: MAIN
CVS Tags: VERSION_1_12_0
Changes since 1.121: +5 -1 lines
Diff to previous 1.121 (colored)

Using user-defined macros, surprisingly, it is possible
to have *next*-line head arguments on the *same* input line.
So .TP must not assume that a head argument with a matching
input line number is a same-line argument (and access a NULL pointer).
Bug found and fix tested by kristaps@ with groff_hdtbl(7).

Revision 1.121 / (download) - annotate - [selected], Sun Sep 18 16:43:28 2011 UTC (12 years, 6 months ago) by schwarze
Branch: MAIN
Changes since 1.120: +6 -1 lines
Diff to previous 1.120 (colored)

two issues were reported again

Revision 1.120 / (download) - annotate - [select for diffs], Thu Jul 28 14:37:39 2011 UTC (12 years, 8 months ago) by kristaps
Branch: MAIN
CVS Tags: VERSION_1_11_7, VERSION_1_11_6
Changes since 1.119: +1 -3 lines
Diff to previous 1.119 (colored) to selected 1.121 (colored)

Remove TODO entry about `tr'.

Revision 1.119 / (download) - annotate - [select for diffs], Sat Jul 9 10:26:57 2011 UTC (12 years, 8 months ago) by kristaps
Branch: MAIN
CVS Tags: VERSION_1_11_5, VERSION_1_11_4
Changes since 1.118: +3 -1 lines
Diff to previous 1.118 (colored) to selected 1.121 (colored)

Spaces must be preserved in -T[x]html literal mode.

Revision 1.118 / (download) - annotate - [select for diffs], Thu Jul 7 06:34:13 2011 UTC (12 years, 8 months ago) by kristaps
Branch: MAIN
Changes since 1.117: +5 -1 lines
Diff to previous 1.117 (colored) to selected 1.121 (colored)

Note the strange `if'+newline issue raised by schwarze@.

Revision 1.117 / (download) - annotate - [select for diffs], Sun Jul 3 22:57:32 2011 UTC (12 years, 8 months ago) by kristaps
Branch: MAIN
Changes since 1.116: +1 -4 lines
Diff to previous 1.116 (colored) to selected 1.121 (colored)

Fix a TODO noted by schwarze@, originally by Christian Weisgerber:
literal mode (`nf') is ended by SH (and, it turns out, SS as well).
Noted the updated behaviour in man.7 as well.

Revision 1.116 / (download) - annotate - [select for diffs], Sun Jul 3 22:40:10 2011 UTC (12 years, 8 months ago) by schwarze
Branch: MAIN
Changes since 1.115: +9 -1 lines
Diff to previous 1.115 (colored) to selected 1.121 (colored)

two new bugs reported by naddy@:
 - .\} breaks
 - .SH implies .fi

Revision 1.115 / (download) - annotate - [select for diffs], Thu Jun 30 08:05:13 2011 UTC (12 years, 9 months ago) by kristaps
Branch: MAIN
Changes since 1.114: +4 -1 lines
Diff to previous 1.114 (colored) to selected 1.121 (colored)

Ouch: predefined strings moved into roff.c weren't being reinitalised
after the first parse.  Do this, but note there are more efficient ways
just waiting for a table of macros.

Revision 1.114 / (download) - annotate - [select for diffs], Wed Jun 29 15:38:09 2011 UTC (12 years, 9 months ago) by kristaps
Branch: MAIN
Changes since 1.113: +1 -3 lines
Diff to previous 1.113 (colored) to selected 1.121 (colored)

First fix how `sp 1' doesn't imply `1v' (it now does) and that 1
followed by non-digits, e.g. `1g', really means `1'.  Next, fix some
spacing issues where `sp' was invoked in -man after sections or
subsections.  Make sure this behaviour is mirrored in -Thtml.

Revision 1.113 / (download) - annotate - [select for diffs], Sat Jun 18 17:58:48 2011 UTC (12 years, 9 months ago) by kristaps
Branch: MAIN
Changes since 1.112: +1 -22 lines
Diff to previous 1.112 (colored) to selected 1.121 (colored)

Fix two TODOs with one check-in.  Both of these relate to vertical space
before paragraphs and/or within `RS' blocks.

Revision 1.112 / (download) - annotate - [select for diffs], Sat Jun 18 17:36:52 2011 UTC (12 years, 9 months ago) by kristaps
Branch: MAIN
Changes since 1.111: +1 -6 lines
Diff to previous 1.111 (colored) to selected 1.121 (colored)

Allow RS/RE blocks to nest.  This requires first the syntax tree to
accomodate for the fix, then for the front-ends.  -T[x]html accepted the
syntax tree natively, but -Tascii had to use relative offsets.  It's
quite a simple fix.

From a TODO by {dcoppa,dsoares}@openbsd.

Revision 1.111 / (download) - annotate - [select for diffs], Sat Jun 18 16:18:04 2011 UTC (12 years, 9 months ago) by kristaps
Branch: MAIN
Changes since 1.110: +1 -4 lines
Diff to previous 1.110 (colored) to selected 1.121 (colored)

Fix an assertion failure raised by the following interesting scenario: a
auto-opened `It' (i.e., a column list with a free-text first line) with
leading spaces in the line triggering assertion when searching for
arguments.

This led to a fix giving a nice performance speed-ups (a few percent,
with some quick trials): the search for flags immediately exits if the
macro has no flags, instead of having to first parse the leading word
then look it up.  I also cleaned up the argv parsing stuff a little bit
and added more documentation.

This comes from a TODO by joerg@.

Revision 1.110 / (download) - annotate - [select for diffs], Sun Jun 12 12:13:27 2011 UTC (12 years, 9 months ago) by joerg
Branch: MAIN
Changes since 1.109: +4 -1 lines
Diff to previous 1.109 (colored) to selected 1.121 (colored)

Add note about crash on invalid found in the NetBSD tree

Revision 1.109 / (download) - annotate - [select for diffs], Sat Jun 11 15:41:35 2011 UTC (12 years, 9 months ago) by schwarze
Branch: MAIN
Changes since 1.108: +9 -1 lines
Diff to previous 1.108 (colored) to selected 1.121 (colored)

.Nm in-line/block issues reported by uqs@

Revision 1.108 / (download) - annotate - [select for diffs], Tue May 24 14:00:39 2011 UTC (12 years, 10 months ago) by kristaps
Branch: MAIN
CVS Tags: VERSION_1_11_3
Changes since 1.107: +1 -7 lines
Diff to previous 1.107 (colored) to selected 1.121 (colored)

Fix a TODO to the effect that `.if n \{\ foo .br \}' was failing due to
the `\}' not being directly after the `.br'.  Now we check for `\}' in
arbitrary parts of the line, and account for if it's escaped in funny
ways.

This behaviour diverges somewhat from groff in that the text at and
following the `\}' is lost, while groff keeps it (sort-of).  I'll add a
COMPATIBILITY note to this effect.

Revision 1.107 / (download) - annotate - [select for diffs], Sat May 21 21:38:17 2011 UTC (12 years, 10 months ago) by schwarze
Branch: MAIN
Changes since 1.106: +3 -1 lines
Diff to previous 1.106 (colored) to selected 1.121 (colored)

nested .RS/.RE is becoming more important

Revision 1.106 / (download) - annotate - [select for diffs], Wed May 18 23:59:08 2011 UTC (12 years, 10 months ago) by kristaps
Branch: MAIN
Changes since 1.105: +1 -6 lines
Diff to previous 1.105 (colored) to selected 1.121 (colored)

Make any un-recognised font be considered a call for the Roman font.
This makes sequences of \f[unknown] \fP not completely puke.  From a
TODO by schwarze@.

Revision 1.105 / (download) - annotate - [select for diffs], Wed May 18 09:45:21 2011 UTC (12 years, 10 months ago) by kristaps
Branch: MAIN
Changes since 1.104: +5 -1 lines
Diff to previous 1.104 (colored) to selected 1.121 (colored)

Add TODO entry for standalone `.' in tbl pages (pointed out by Yuri
Pankov).  Also fix typo in Makefile, same reporter.  Thanks!

Revision 1.104 / (download) - annotate - [select for diffs], Sat Apr 30 10:18:24 2011 UTC (12 years, 11 months ago) by kristaps
Branch: MAIN
CVS Tags: VERSION_1_11_2
Changes since 1.103: +2 -2 lines
Diff to previous 1.103 (colored) to selected 1.121 (colored)

No code change: fixing spelling errors.  From a patch by uqs@.  Thanks!

Revision 1.103 / (download) - annotate - [select for diffs], Sun Apr 17 13:32:27 2011 UTC (12 years, 11 months ago) by schwarze
Branch: MAIN
Changes since 1.102: +5 -1 lines
Diff to previous 1.102 (colored) to selected 1.121 (colored)

.Pp in .Bl -column

Revision 1.102 / (download) - annotate - [select for diffs], Sat Apr 16 23:00:45 2011 UTC (12 years, 11 months ago) by schwarze
Branch: MAIN
Changes since 1.101: +11 -1 lines
Diff to previous 1.101 (colored) to selected 1.121 (colored)

mini-bug at eol after .Bl -column .It

Revision 1.101 / (download) - annotate - [select for diffs], Sat Apr 16 22:35:26 2011 UTC (12 years, 11 months ago) by schwarze
Branch: MAIN
Changes since 1.100: +9 -1 lines
Diff to previous 1.100 (colored) to selected 1.121 (colored)

lines in tables and .RS/.RE nesting

Revision 1.100 / (download) - annotate - [select for diffs], Wed Apr 13 09:57:41 2011 UTC (12 years, 11 months ago) by kristaps
Branch: MAIN
Changes since 1.99: +1 -8 lines
Diff to previous 1.99 (colored) to selected 1.121 (colored)

Remove TODO from prior commit of lifting warnings from `Sh', `Ss', `SH',
and `SS' bodies.

Revision 1.99 / (download) - annotate - [select for diffs], Tue Apr 12 23:54:12 2011 UTC (12 years, 11 months ago) by schwarze
Branch: MAIN
Changes since 1.98: +8 -1 lines
Diff to previous 1.98 (colored) to selected 1.121 (colored)

empty .SS is ok

Revision 1.98 / (download) - annotate - [select for diffs], Wed Mar 30 00:02:40 2011 UTC (13 years ago) by schwarze
Branch: MAIN
CVS Tags: VERSION_1_11_1
Changes since 1.97: +49 -1 lines
Diff to previous 1.97 (colored) to selected 1.121 (colored)

naddy@ reports rsync(1)

Revision 1.97 / (download) - annotate - [select for diffs], Tue Mar 29 09:00:48 2011 UTC (13 years ago) by kristaps
Branch: MAIN
Changes since 1.96: +1 -6 lines
Diff to previous 1.96 (colored) to selected 1.121 (colored)

Carefully let mandoc_getcontrol() handle libroff's detection of a macro
line.  Note that we now properly ignore \.", which earlier would have
been pushed through macro detection.  This required attention to all
entries of roff_parse().

This removes a TODO by schwarze@ to the effect that \. can be a control
character, which is now handled in mandoc_getcontrol().

Revision 1.96 / (download) - annotate - [select for diffs], Wed Mar 23 22:16:03 2011 UTC (13 years ago) by schwarze
Branch: MAIN
Changes since 1.95: +7 -6 lines
Diff to previous 1.95 (colored) to selected 1.121 (colored)

new: \. at the beginning of a line
partially done: date cleanup

Revision 1.95 / (download) - annotate - [select for diffs], Wed Mar 23 09:47:13 2011 UTC (13 years ago) by kristaps
Branch: MAIN
Changes since 1.94: +1 -7 lines
Diff to previous 1.94 (colored) to selected 1.121 (colored)

Make (e.g.) `SM' before `B' be only a warning.  In reality, this refers
to ELINE macros ("next-line", but not unbreakable like the next-line
paragraph macros) followed by other macros.  This addresses a report by
Christian Weisgerber, posted in the TODO by schwarze@, and aired on
discuss@ (22/03/2011) for whether a fix is warranted.

Revision 1.94 / (download) - annotate - [select for diffs], Tue Mar 22 15:30:30 2011 UTC (13 years ago) by kristaps
Branch: MAIN
Changes since 1.93: +1 -5 lines
Diff to previous 1.93 (colored) to selected 1.121 (colored)

Make empty sections and parts (SH, SS, RS) only produce a warning if it
has no children.  Noted by Brad, added to TODO by schwarze@.

Revision 1.93 / (download) - annotate - [select for diffs], Sat Mar 19 23:36:08 2011 UTC (13 years ago) by schwarze
Branch: MAIN
CVS Tags: VERSION_1_10_10
Changes since 1.92: +5 -1 lines
Diff to previous 1.92 (colored) to selected 1.121 (colored)

.RS w/o line args is not serious

Revision 1.92 / (download) - annotate - [select for diffs], Thu Mar 17 09:16:38 2011 UTC (13 years ago) by kristaps
Branch: MAIN
Changes since 1.91: +1 -10 lines
Diff to previous 1.91 (colored) to selected 1.121 (colored)

Move mdoc_isdelim() into mandoc.h as mandoc_isdelim().  This allows the
removal of manual delimiter checks in html.c and term.c.  Finally, add
the escaped period as a closing delimiter, removing a TODO to this
effect.

Revision 1.91 / (download) - annotate - [select for diffs], Sun Feb 27 14:17:28 2011 UTC (13 years, 1 month ago) by schwarze
Branch: MAIN
Changes since 1.90: +10 -2 lines
Diff to previous 1.90 (colored) to selected 1.121 (colored)

date handling needs cleanup

Revision 1.90 / (download) - annotate - [select for diffs], Wed Feb 9 10:03:02 2011 UTC (13 years, 1 month ago) by kristaps
Branch: MAIN
Changes since 1.89: +1 -7 lines
Diff to previous 1.89 (colored) to selected 1.121 (colored)

Add stub for eqn.7 manual and flip it on.  Also note COMPATIBILITY issue
of how we considered .TS (etc.) macros and how the preprocessors do.

Revision 1.89 / (download) - annotate - [select for diffs], Thu Feb 3 10:24:21 2011 UTC (13 years, 1 month ago) by kristaps
Branch: MAIN
Changes since 1.88: +7 -1 lines
Diff to previous 1.88 (colored) to selected 1.121 (colored)

TODO note on that `.TS', `.TE' etc. aren't real roff macros and troff
won't recognise them when invoked as e.g. `.   TS' (we, however, do).

Revision 1.88 / (download) - annotate - [select for diffs], Wed Feb 2 21:40:45 2011 UTC (13 years, 1 month ago) by kristaps
Branch: MAIN
Changes since 1.87: +1 -5 lines
Diff to previous 1.87 (colored) to selected 1.121 (colored)

If `Ns' is specified on its own line, it should be ignored.  This is
shitty groff behaviour.  Do the same, but raise a warning to this
effect.  This from a TODO noted by schwarze@.

Revision 1.87 / (download) - annotate - [select for diffs], Mon Jan 31 12:52:43 2011 UTC (13 years, 1 month ago) by kristaps
Branch: MAIN
Changes since 1.86: +4 -1 lines
Diff to previous 1.86 (colored) to selected 1.121 (colored)

Note an error found in the wild.

Revision 1.86 / (download) - annotate - [select for diffs], Tue Jan 25 16:20:24 2011 UTC (13 years, 2 months ago) by kristaps
Branch: MAIN
Changes since 1.85: +1 -4 lines
Diff to previous 1.85 (colored) to selected 1.121 (colored)

Arguments to `Bsx' and friends are separated by a non-breaking space.
This removes a TODO raised by schwarze@.

Revision 1.85 / (download) - annotate - [select for diffs], Tue Jan 25 15:17:18 2011 UTC (13 years, 2 months ago) by kristaps
Branch: MAIN
Changes since 1.84: +1 -7 lines
Diff to previous 1.84 (colored) to selected 1.121 (colored)

Have `Bx' accept two arguments, not just one, and join these arguments
with "xxBSD-yy"

Revision 1.84 / (download) - annotate - [select for diffs], Tue Jan 25 10:37:49 2011 UTC (13 years, 2 months ago) by kristaps
Branch: MAIN
Changes since 1.83: +1 -6 lines
Diff to previous 1.83 (colored) to selected 1.121 (colored)

If %B is specified, quote %T.  Noted by schwarze@ in the TODO.

Revision 1.83 / (download) - annotate - [select for diffs], Mon Jan 24 01:34:56 2011 UTC (13 years, 2 months ago) by schwarze
Branch: MAIN
Changes since 1.82: +95 -2 lines
Diff to previous 1.82 (colored) to selected 1.121 (colored)

results of some systematic comparisons

Revision 1.82 / (download) - annotate - [select for diffs], Sun Jan 23 15:35:10 2011 UTC (13 years, 2 months ago) by schwarze
Branch: MAIN
Changes since 1.81: +14 -1 lines
Diff to previous 1.81 (colored) to selected 1.121 (colored)

not implemented: adjustment

Revision 1.81 / (download) - annotate - [select for diffs], Sat Jan 22 23:27:06 2011 UTC (13 years, 2 months ago) by schwarze
Branch: MAIN
Changes since 1.80: +11 -1 lines
Diff to previous 1.80 (colored) to selected 1.121 (colored)

some more reports from brad@

Revision 1.80 / (download) - annotate - [select for diffs], Sat Jan 22 20:36:02 2011 UTC (13 years, 2 months ago) by schwarze
Branch: MAIN
Changes since 1.79: +9 -5 lines
Diff to previous 1.79 (colored) to selected 1.121 (colored)

missing: .ns, .UR; reported by brad@

Revision 1.79 / (download) - annotate - [select for diffs], Sat Jan 22 20:24:53 2011 UTC (13 years, 2 months ago) by schwarze
Branch: MAIN
Changes since 1.78: +29 -19 lines
Diff to previous 1.78 (colored) to selected 1.121 (colored)

sort missing features, no change of content

Revision 1.78 / (download) - annotate - [select for diffs], Wed Jan 12 16:55:22 2011 UTC (13 years, 2 months ago) by kristaps
Branch: MAIN
Changes since 1.77: +1 -5 lines
Diff to previous 1.77 (colored) to selected 1.121 (colored)

Downgrade -man message of ignored empty paragraph to MANDOC_IGNPAR.  The
change in man_macro.c was from an assertion caused by a subtle problem:
(1) macro is removed, causing m->last to be m->last->parent; (2) by jumping
to the m->last->parent after post-validation, the original
m->last->parent is skipped; (3) the rewinder climbs to the root of the
tree and aborts.

The original issue recorded in the TODO by schwarze@, reminded by Brad
Smith.

Revision 1.77 / (download) - annotate - [select for diffs], Wed Jan 12 15:50:42 2011 UTC (13 years, 2 months ago) by kristaps
Branch: MAIN
Changes since 1.76: +1 -5 lines
Diff to previous 1.76 (colored) to selected 1.121 (colored)

Make out-of-context `fi' invocations not cause an error, but just a
warning.  From a TODO by schwarze@, originally noted by Brad Smith.

Revision 1.76 / (download) - annotate - [select for diffs], Wed Jan 12 15:31:17 2011 UTC (13 years, 2 months ago) by kristaps
Branch: MAIN
Changes since 1.75: +1 -5 lines
Diff to previous 1.75 (colored) to selected 1.121 (colored)

Make sure that -Thtml doesn't break within literal lines.  This is the
same logic as the -Tascii case.  Also remove the TODO.

Revision 1.75 / (download) - annotate - [select for diffs], Mon Jan 10 03:43:47 2011 UTC (13 years, 2 months ago) by schwarze
Branch: MAIN
Changes since 1.74: +16 -1 lines
Diff to previous 1.74 (colored) to selected 1.121 (colored)

some minor issues reported by brad@

Revision 1.74 / (download) - annotate - [select for diffs], Sun Jan 9 18:45:46 2011 UTC (13 years, 2 months ago) by schwarze
Branch: MAIN
Changes since 1.73: +16 -23 lines
Diff to previous 1.73 (colored) to selected 1.121 (colored)

Remove lots of issues that have been resolved,
and rephrase some that have been partially resolved.

Revision 1.73 / (download) - annotate - [select for diffs], Thu Jan 6 14:05:12 2011 UTC (13 years, 2 months ago) by kristaps
Branch: MAIN
CVS Tags: VERSION_1_10_9
Changes since 1.72: +1 -6 lines
Diff to previous 1.72 (colored) to selected 1.121 (colored)

Make -literal displays only have 8-character displays.  From a
low-hanging TODO added by schwarze@ on 15/08/10.

Revision 1.72 / (download) - annotate - [select for diffs], Mon Jan 3 21:53:46 2011 UTC (13 years, 2 months ago) by kristaps
Branch: MAIN
Changes since 1.71: +1 -3 lines
Diff to previous 1.71 (colored) to selected 1.121 (colored)

Remove TODO for tbl.

Revision 1.71 / (download) - annotate - [select for diffs], Thu Dec 30 00:51:32 2010 UTC (13 years, 3 months ago) by schwarze
Branch: MAIN
Changes since 1.70: +6 -1 lines
Diff to previous 1.70 (colored) to selected 1.121 (colored)

Plan9 has a man(7) implementation that looks extremely archaic,
even more archaic than Solaris/Heirloom stuff; so that is quite
interesting from a perspective of compatibility and history.

Revision 1.70 / (download) - annotate - [select for diffs], Sun Dec 26 14:38:10 2010 UTC (13 years, 3 months ago) by kristaps
Branch: MAIN
Changes since 1.69: +3 -1 lines
Diff to previous 1.69 (colored) to selected 1.121 (colored)

pod2man re-writes this and that using `tr', which we don't implement.  Noted
by Andreas Vogele.

Revision 1.69 / (download) - annotate - [select for diffs], Sat Dec 25 13:50:37 2010 UTC (13 years, 3 months ago) by kristaps
Branch: MAIN
Changes since 1.68: +1 -5 lines
Diff to previous 1.68 (colored) to selected 1.121 (colored)

Specifying both %T and %J in an `Rs' block causes the title to be quoted
instead of underlined.  This only happens in -Tascii, as -T[x]html both
underlines and italicises.

Revision 1.68 / (download) - annotate - [select for diffs], Thu Dec 16 01:00:29 2010 UTC (13 years, 3 months ago) by kristaps
Branch: MAIN
CVS Tags: VERSION_1_10_8
Changes since 1.67: +3 -5 lines
Diff to previous 1.67 (colored) to selected 1.121 (colored)

Note that `Sh' and `Ss' are now rigorously checked for paragraph macros.
Merge other TODO regarding `It' and paragraphs.

Revision 1.67 / (download) - annotate - [select for diffs], Thu Dec 9 23:44:39 2010 UTC (13 years, 3 months ago) by schwarze
Branch: MAIN
Changes since 1.66: +10 -23 lines
Diff to previous 1.66 (colored) to selected 1.121 (colored)

done: .de; todo: """"; loops in macro and string expansion

Revision 1.66 / (download) - annotate - [select for diffs], Thu Dec 9 10:32:22 2010 UTC (13 years, 3 months ago) by kristaps
Branch: MAIN
Changes since 1.65: +1 -4 lines
Diff to previous 1.65 (colored) to selected 1.121 (colored)

Allow quote macros (`Op', `Aq', `Bq', `Dq', `Pq', `Ql', `Qq', `Sq', and
`Brq') to have zero arguments without warning.  This makes sense because
the multi-line quote macros (`Oo/Oc' etc.) allow zero children anyway.
Furthermore, the documentation doesn't state that they're required to
have children.

Originally reported by Alex Kozlov, thanks!

Revision 1.65 / (download) - annotate - [select for diffs], Mon Nov 29 13:04:31 2010 UTC (13 years, 4 months ago) by kristaps
Branch: MAIN
CVS Tags: VERSION_1_10_7
Changes since 1.64: +5 -1 lines
Diff to previous 1.64 (colored) to selected 1.121 (colored)

Note that `Rv' and `Ex' have different values if a manual name has been
specified or not.

Revision 1.64 / (download) - annotate - [select for diffs], Wed Nov 3 12:07:58 2010 UTC (13 years, 4 months ago) by schwarze
Branch: MAIN
Changes since 1.63: +14 -1 lines
Diff to previous 1.63 (colored) to selected 1.121 (colored)

new: parametric .de, and header lines of excessive length

Revision 1.63 / (download) - annotate - [select for diffs], Fri Oct 29 13:05:27 2010 UTC (13 years, 5 months ago) by schwarze
Branch: MAIN
Changes since 1.62: +21 -1 lines
Diff to previous 1.62 (colored) to selected 1.121 (colored)

a bunch of small issues collected during p2k10

Revision 1.62 / (download) - annotate - [select for diffs], Sat Oct 23 22:40:13 2010 UTC (13 years, 5 months ago) by schwarze
Branch: MAIN
Changes since 1.61: +8 -4 lines
Diff to previous 1.61 (colored) to selected 1.121 (colored)

new: escape sequence handling
done: nested displays

Revision 1.61 / (download) - annotate - [select for diffs], Tue Oct 19 21:40:27 2010 UTC (13 years, 5 months ago) by schwarze
Branch: MAIN
Changes since 1.60: +14 -1 lines
Diff to previous 1.60 (colored) to selected 1.121 (colored)

two new TODOs based on submissions by Ulrich Spoerlein

Revision 1.60 / (download) - annotate - [select for diffs], Sun Oct 17 21:10:53 2010 UTC (13 years, 5 months ago) by schwarze
Branch: MAIN
Changes since 1.59: +19 -6 lines
Diff to previous 1.59 (colored) to selected 1.121 (colored)

dream about .de support,
and remove irrelevant stuff regarding tbl
now that it's imported into OpenBSD

Revision 1.59 / (download) - annotate - [select for diffs], Sun Oct 10 09:59:48 2010 UTC (13 years, 5 months ago) by kristaps
Branch: MAIN
Changes since 1.58: +1 -4 lines
Diff to previous 1.58 (colored) to selected 1.121 (colored)

`Sm' no longer produces a linebreak when used in `Bd'.

Revision 1.58 / (download) - annotate - [select for diffs], Fri Oct 1 21:51:13 2010 UTC (13 years, 5 months ago) by schwarze
Branch: MAIN
Changes since 1.57: +1 -13 lines
Diff to previous 1.57 (colored) to selected 1.121 (colored)

* need a space before .No even if it starts with a closing delimiter
* slightly simplify .Pf *_IGNDELIM code, and share part of it with .No
* do not let opening delimiters fall out of the front of .Ns (from kristaps@)
This fixes a few spacing issues in csh(1) and ksh(1).
OK kristaps@

Revision 1.57 / (download) - annotate - [select for diffs], Mon Sep 27 22:42:48 2010 UTC (13 years, 6 months ago) by kristaps
Branch: MAIN
Changes since 1.56: +5 -1 lines
Diff to previous 1.56 (colored) to selected 1.121 (colored)

Added TODO for more `Pp' warnings.

Revision 1.56 / (download) - annotate - [select for diffs], Mon Sep 27 21:33:52 2010 UTC (13 years, 6 months ago) by schwarze
Branch: MAIN
Changes since 1.55: +5 -1 lines
Diff to previous 1.55 (colored) to selected 1.121 (colored)

A minor issue with \& between .Pp found while merging 1.10.6.

Revision 1.55 / (download) - annotate - [select for diffs], Mon Sep 27 11:21:39 2010 UTC (13 years, 6 months ago) by kristaps
Branch: MAIN
CVS Tags: VERSION_1_10_6
Changes since 1.54: +1 -4 lines
Diff to previous 1.54 (colored) to selected 1.121 (colored)

Suppress whitespace following Pp, Lp, sp, and the other newline-emitting
macros within an unfilled or literal `Bd'.

Revision 1.54 / (download) - annotate - [select for diffs], Mon Sep 27 10:47:48 2010 UTC (13 years, 6 months ago) by kristaps
Branch: MAIN
Changes since 1.53: +1 -3 lines
Diff to previous 1.53 (colored) to selected 1.121 (colored)

Remove finished TODO.

Revision 1.53 / (download) - annotate - [select for diffs], Mon Sep 27 09:26:27 2010 UTC (13 years, 6 months ago) by kristaps
Branch: MAIN
Changes since 1.52: +1 -5 lines
Diff to previous 1.52 (colored) to selected 1.121 (colored)

Ignore double-`Pp' and `Pp' before `Bd' and `Bl' (unless -compact is
specified).

Revision 1.52 / (download) - annotate - [select for diffs], Sat Sep 25 16:52:15 2010 UTC (13 years, 6 months ago) by kristaps
Branch: MAIN
Changes since 1.51: +2 -5 lines
Diff to previous 1.51 (colored) to selected 1.121 (colored)

Remove fixed TODO and add a new one.

Revision 1.51 / (download) - annotate - [select for diffs], Sat Sep 25 16:41:33 2010 UTC (13 years, 6 months ago) by kristaps
Branch: MAIN
Changes since 1.50: +1 -5 lines
Diff to previous 1.50 (colored) to selected 1.121 (colored)

A `%T' invoked outside of `Rs' should not produce trailing punctuation.
This from a TODO entry.  Also stripped the superfluous NOSPACE, which is
handled in term_word() or print_text() anyway.

Revision 1.50 / (download) - annotate - [select for diffs], Sat Sep 25 15:51:30 2010 UTC (13 years, 6 months ago) by kristaps
Branch: MAIN
Changes since 1.49: +1 -3 lines
Diff to previous 1.49 (colored) to selected 1.121 (colored)

Add `Rs' vertical-space in -T[x]html "SEE ALSO" section.  Remove
corresponding TODO entry.

Also have the "." after an `Rs' block trigger inter-sentence spacing.

Revision 1.49 / (download) - annotate - [select for diffs], Sat Sep 25 15:29:12 2010 UTC (13 years, 6 months ago) by kristaps
Branch: MAIN
Changes since 1.48: +1 -5 lines
Diff to previous 1.48 (colored) to selected 1.121 (colored)

Removed TODO that was fixed by parsing escapes in offset strings.

Revision 1.48 / (download) - annotate - [select for diffs], Thu Sep 23 19:52:36 2010 UTC (13 years, 6 months ago) by schwarze
Branch: MAIN
Changes since 1.47: +4 -1 lines
Diff to previous 1.47 (colored) to selected 1.121 (colored)

enclosures sometimes cause bogus end-of-sentence

Revision 1.47 / (download) - annotate - [select for diffs], Wed Sep 15 14:36:16 2010 UTC (13 years, 6 months ago) by kristaps
Branch: MAIN
Changes since 1.46: +1 -6 lines
Diff to previous 1.46 (colored) to selected 1.121 (colored)

Allow string lengths to account for escapes.  Now all calls to calculate
column width in -Tascii, -Tpdf, and -Tps will account for "more real"
string lengths.

Example:

.Bl -tag -width \s[+123424]foo
.It bar
baz
.El

The size escape will be correctly tossed.

.Bl -tag -width \(aqbar
.It \(aqbar
baz
.El

The \(aq will be correctly handled.

Revision 1.46 / (download) - annotate - [select for diffs], Wed Sep 15 13:10:30 2010 UTC (13 years, 6 months ago) by kristaps
Branch: MAIN
Changes since 1.45: +1 -6 lines
Diff to previous 1.45 (colored) to selected 1.121 (colored)

Remove last pod2man escapes.  These render ok, although \*(-- renders as
O- because the underlying macro depends on \(*W, which a prior pod2man
preamble `tr' macro rewrites as "-".  This is an error in groff as this
tramples on the real \(*W, or Greek omega.

Revision 1.45 / (download) - annotate - [select for diffs], Wed Sep 8 11:57:29 2010 UTC (13 years, 6 months ago) by kristaps
Branch: MAIN
Changes since 1.44: +3 -1 lines
Diff to previous 1.44 (colored) to selected 1.121 (colored)

Found nit in -T[x]html.

Revision 1.44 / (download) - annotate - [select for diffs], Sat Sep 4 19:01:52 2010 UTC (13 years, 6 months ago) by kristaps
Branch: MAIN
Changes since 1.43: +1 -7 lines
Diff to previous 1.43 (colored) to selected 1.121 (colored)

Properly handle -mdoc %A in all outputs.  This has two-author entires
separated by only "and" while two or more are with ", and" for the last
author.

Also remove relevant TODO and add regression tests.

Revision 1.43 / (download) - annotate - [select for diffs], Sat Sep 4 18:52:21 2010 UTC (13 years, 6 months ago) by kristaps
Branch: MAIN
Changes since 1.42: +1 -4 lines
Diff to previous 1.42 (colored) to selected 1.121 (colored)

Removed 'br\} comment from TODO.  This was fixed a few weeks ago.

Revision 1.42 / (download) - annotate - [select for diffs], Fri Aug 20 22:51:29 2010 UTC (13 years, 7 months ago) by schwarze
Branch: MAIN
Changes since 1.41: +8 -1 lines
Diff to previous 1.41 (colored) to selected 1.121 (colored)

.Bl -column phrases ignore spacing rules for trailing punctuation
and render it just like normal text.
Minimal fix of a formatting bug in operator(7) reported by ray@.

Revision 1.41 / (download) - annotate - [select for diffs], Wed Aug 18 08:39:54 2010 UTC (13 years, 7 months ago) by kristaps
Branch: MAIN
Changes since 1.40: +4 -1 lines
Diff to previous 1.40 (colored) to selected 1.121 (colored)

Add joerg@'s note that br\} needs work in libroff.

Revision 1.40 / (download) - annotate - [select for diffs], Mon Aug 16 09:51:17 2010 UTC (13 years, 7 months ago) by kristaps
Branch: MAIN
Changes since 1.39: +5 -1 lines
Diff to previous 1.39 (colored) to selected 1.121 (colored)

Remove \*(C+ from the pre-predefined strings.  It is always `ds'-defined
when being used in manuals.  Since we now support `ds', it's no longer
necessary to account for it.  From a bug report originally by Thomas
Jeunet.

Revision 1.39 / (download) - annotate - [select for diffs], Sun Aug 15 17:38:41 2010 UTC (13 years, 7 months ago) by schwarze
Branch: MAIN
Changes since 1.38: +36 -2 lines
Diff to previous 1.38 (colored) to selected 1.121 (colored)

OpenBSD src/sbin was used as a tool to hunt bugs in mandoc.

Revision 1.38 / (download) - annotate - [select for diffs], Sun Aug 15 16:38:35 2010 UTC (13 years, 7 months ago) by schwarze
Branch: MAIN
Changes since 1.37: +41 -2 lines
Diff to previous 1.37 (colored) to selected 1.121 (colored)

OpenBSD src/bin was used as a tool to hunt bugs in mandoc.

Revision 1.37 / (download) - annotate - [select for diffs], Sat Aug 14 09:48:56 2010 UTC (13 years, 7 months ago) by kristaps
Branch: MAIN
Changes since 1.36: +4 -3 lines
Diff to previous 1.36 (colored) to selected 1.121 (colored)

Note first that TODO file should be up to date.

Note also that the PDF file should be reduced in case I somehow forget.

Revision 1.36 / (download) - annotate - [select for diffs], Sat Aug 7 17:52:36 2010 UTC (13 years, 7 months ago) by kristaps
Branch: MAIN
Changes since 1.35: +4 -1 lines
Diff to previous 1.35 (colored) to selected 1.121 (colored)

Add TODO noted by Alex Kozlov.

Revision 1.35 / (download) - annotate - [select for diffs], Tue Jul 27 08:46:30 2010 UTC (13 years, 8 months ago) by kristaps
Branch: MAIN
CVS Tags: VERSION_1_10_5
Changes since 1.34: +4 -1 lines
Diff to previous 1.34 (colored) to selected 1.121 (colored)

Update TODO to note that %A needs "and" before final author and that
joerg@ has some tbl(1) patches lying around that need merging.

Revision 1.34 / (download) - annotate - [select for diffs], Tue Jul 27 08:39:36 2010 UTC (13 years, 8 months ago) by kristaps
Branch: MAIN
Changes since 1.33: +1 -12 lines
Diff to previous 1.33 (colored) to selected 1.121 (colored)

Removed boot_config.8 breakage, which was fixed by the last commit of
`Bd -literal' and `Bd -unfilled' unbreakage.

Revision 1.33 / (download) - annotate - [select for diffs], Sun Jul 25 18:22:18 2010 UTC (13 years, 8 months ago) by schwarze
Branch: MAIN
Changes since 1.32: +18 -1 lines
Diff to previous 1.32 (colored) to selected 1.121 (colored)

list two additional issues

Revision 1.32 / (download) - annotate - [select for diffs], Mon Jul 19 11:06:31 2010 UTC (13 years, 8 months ago) by kristaps
Branch: MAIN
CVS Tags: VERSION_1_10_5_PREPDF
Changes since 1.31: +1 -4 lines
Diff to previous 1.31 (colored) to selected 1.121 (colored)

Fix spurrious newline emitted by `Pp' when specified before or after
`Sh'/`Ss'.  Reported by Jason McIntyre.

Revision 1.31 / (download) - annotate - [select for diffs], Mon Jul 19 09:21:58 2010 UTC (13 years, 8 months ago) by kristaps
Branch: MAIN
Changes since 1.30: +1 -10 lines
Diff to previous 1.30 (colored) to selected 1.121 (colored)

Remove \s TODO: these are intelligently ignored along with \m and \M.

Revision 1.30 / (download) - annotate - [select for diffs], Sun Jul 18 23:06:18 2010 UTC (13 years, 8 months ago) by kristaps
Branch: MAIN
Changes since 1.29: +1 -4 lines
Diff to previous 1.29 (colored) to selected 1.121 (colored)

Properly discard \m colour escapes.  Noted by J.C. Roberts.

Revision 1.29 / (download) - annotate - [select for diffs], Sun Jul 18 18:04:25 2010 UTC (13 years, 8 months ago) by kristaps
Branch: MAIN
Changes since 1.28: +2 -3 lines
Diff to previous 1.28 (colored) to selected 1.121 (colored)

Make "\ " produce non-breaking space.

Noted by Theo de Raadt.  Ok schwarze@.

Revision 1.28 / (download) - annotate - [select for diffs], Sun Jul 18 16:42:03 2010 UTC (13 years, 8 months ago) by schwarze
Branch: MAIN
Changes since 1.27: +15 -11 lines
Diff to previous 1.27 (colored) to selected 1.121 (colored)

fixed .Sm spacing, but there are four new issues

Revision 1.27 / (download) - annotate - [select for diffs], Fri Jul 16 22:33:30 2010 UTC (13 years, 8 months ago) by kristaps
Branch: MAIN
Changes since 1.26: +5 -1 lines
Diff to previous 1.26 (colored) to selected 1.121 (colored)

Change chars.in HTML encoding to be a Unicode codepoint (int), which is
later formatted in html.c.

Revision 1.26 / (download) - annotate - [select for diffs], Fri Jul 16 22:10:04 2010 UTC (13 years, 8 months ago) by kristaps
Branch: MAIN
Changes since 1.25: +0 -4 lines
Diff to previous 1.25 (colored) to selected 1.121 (colored)

Removed completed TODO.

Revision 1.25 / (download) - annotate - [select for diffs], Sun Jul 11 22:39:32 2010 UTC (13 years, 8 months ago) by schwarze
Branch: MAIN
CVS Tags: VERSION_1_10_4
Changes since 1.24: +0 -17 lines
Diff to previous 1.24 (colored) to selected 1.121 (colored)

remove three issues fixed near the end of the c2k10 hackathon

Revision 1.24 / (download) - annotate - [select for diffs], Mon Jul 5 10:45:14 2010 UTC (13 years, 8 months ago) by kristaps
Branch: MAIN
Changes since 1.23: +0 -5 lines
Diff to previous 1.23 (colored) to selected 1.121 (colored)

Remove caching TODO: this has been committed.

Revision 1.23 / (download) - annotate - [select for diffs], Sat Jul 3 16:09:03 2010 UTC (13 years, 8 months ago) by kristaps
Branch: MAIN
Changes since 1.22: +9 -0 lines
Diff to previous 1.22 (colored) to selected 1.121 (colored)

Note to myself on what I need to do regarding inter-library functions.

Revision 1.22 / (download) - annotate - [select for diffs], Sat Jul 3 00:48:09 2010 UTC (13 years, 8 months ago) by schwarze
Branch: MAIN
Changes since 1.21: +9 -0 lines
Diff to previous 1.21 (colored) to selected 1.121 (colored)

The roff escape function "\s" is definitely not urgent,
but it is used in the tree and we should not forget.

Revision 1.21 / (download) - annotate - [select for diffs], Fri Jul 2 12:54:33 2010 UTC (13 years, 8 months ago) by kristaps
Branch: MAIN
Changes since 1.20: +0 -1 lines
Diff to previous 1.20 (colored) to selected 1.121 (colored)

Stash `Bf' parameters into struct mdoc_bf.

Revision 1.20 / (download) - annotate - [select for diffs], Fri Jul 2 10:43:21 2010 UTC (13 years, 8 months ago) by kristaps
Branch: MAIN
Changes since 1.19: +4 -0 lines
Diff to previous 1.19 (colored) to selected 1.121 (colored)

Added TODO to sanitise `Nm' blocks such that HEAD optionally contains
only a TEXT element consisting of the name.

Revision 1.19 / (download) - annotate - [select for diffs], Wed Jun 30 23:57:30 2010 UTC (13 years, 9 months ago) by schwarze
Branch: MAIN
Changes since 1.18: +1 -27 lines
Diff to previous 1.18 (colored) to selected 1.121 (colored)

remove a couple of issues that have been fixed

Revision 1.18 / (download) - annotate - [select for diffs], Tue Jun 29 22:35:01 2010 UTC (13 years, 9 months ago) by schwarze
Branch: MAIN
Changes since 1.17: +3 -0 lines
Diff to previous 1.17 (colored) to selected 1.121 (colored)

let's not forget the remaining badly nested block issue,
even though there are no more urgent problems

Revision 1.17 / (download) - annotate - [select for diffs], Sun Jun 27 17:31:38 2010 UTC (13 years, 9 months ago) by schwarze
Branch: MAIN
CVS Tags: VERSION_1_10_3
Changes since 1.16: +12 -8 lines
Diff to previous 1.16 (colored) to selected 1.121 (colored)

remove .Bk which is done
while here, add .ds as a desideratum

Revision 1.16 / (download) - annotate - [select for diffs], Sun Jun 13 22:44:33 2010 UTC (13 years, 9 months ago) by kristaps
Branch: MAIN
CVS Tags: VERSION_1_10_2
Changes since 1.15: +3 -27 lines
Diff to previous 1.15 (colored) to selected 1.121 (colored)

Removed finished TODOs

Revision 1.15 / (download) - annotate - [select for diffs], Mon Jun 7 21:03:02 2010 UTC (13 years, 9 months ago) by kristaps
Branch: MAIN
CVS Tags: VERSION_1_10_1
Changes since 1.14: +3 -0 lines
Diff to previous 1.14 (colored) to selected 1.121 (colored)

Lint fix.

Added J.C. Roberts' TODO note.

Revision 1.14 / (download) - annotate - [select for diffs], Tue Jun 1 22:05:59 2010 UTC (13 years, 9 months ago) by kristaps
Branch: MAIN
Changes since 1.13: +4 -0 lines
Diff to previous 1.13 (colored) to selected 1.121 (colored)

Note missing man/roff(?) feature not documented anywhere.

Revision 1.13 / (download) - annotate - [select for diffs], Mon May 31 23:40:25 2010 UTC (13 years, 10 months ago) by kristaps
Branch: MAIN
Changes since 1.12: +2 -0 lines
Diff to previous 1.12 (colored) to selected 1.121 (colored)

Cleanup post_bl_head() to use enum mdoc_list (avoid traversing that
list).

Reverted MANDOC_COLUMNS to be a bad-bad syntax error: we don't, and
apparently never have, allowed mixing of -column syntaxes.  This would
have segfaulted if encountered.

Revision 1.12 / (download) - annotate - [select for diffs], Mon May 31 20:14:10 2010 UTC (13 years, 10 months ago) by kristaps
Branch: MAIN
Changes since 1.11: +2 -0 lines
Diff to previous 1.11 (colored) to selected 1.121 (colored)

Macro lines now infer an `It' if they immediately follow a `Bl -column'
or a closed-out `It' block within a `Bl -column' (which only happens
when a macro or free-form text is encountered prior to an `It').

Added some regression tests for this behaviour.

Revision 1.11 / (download) - annotate - [select for diffs], Mon May 31 15:42:09 2010 UTC (13 years, 10 months ago) by kristaps
Branch: MAIN
Changes since 1.10: +3 -0 lines
Diff to previous 1.10 (colored) to selected 1.121 (colored)

Add ability to interpret initial free-form lines as part of a `Bl
-column' up until the first `It'.  This is UGLY and should have all
sorts of warnings, and will.  On the one hand, it fits with groff's
notion of tabs and tab-spaces.  On the other hand, it's not really
"free-form" text any more.  Note that this does not yet accomodate for
macros coming on these lines.

Revision 1.10 / (download) - annotate - [select for diffs], Sun May 30 22:56:02 2010 UTC (13 years, 10 months ago) by kristaps
Branch: MAIN
Changes since 1.9: +5 -1 lines
Diff to previous 1.9 (colored) to selected 1.121 (colored)

Migrate `Bl -column' phrases to be MDOC_BODY instead of MDOC_HEAD.  This
will make it easy for re-entrant parsing of `Ta' macros to fit in with
standard closure rules.

Added some more regressions for `Bl -column'.  Note that one should
fail, as documented in the TODO file.

Recorded change of AST BNF in mdoc.3.

Revision 1.9 / (download) - annotate - [select for diffs], Tue May 25 13:42:51 2010 UTC (13 years, 10 months ago) by kristaps
Branch: MAIN
Changes since 1.8: +16 -0 lines
Diff to previous 1.8 (colored) to selected 1.121 (colored)

Noted areas where performance can be increased.

Revision 1.8 / (download) - annotate - [select for diffs], Mon May 24 19:33:51 2010 UTC (13 years, 10 months ago) by schwarze
Branch: MAIN
Changes since 1.7: +0 -9 lines
Diff to previous 1.7 (colored) to selected 1.121 (colored)

.Bl -tag -compact
.Sm off
.It ...
fixed by joerg@ in mdoc_action.c bsd.lv 1.61, OpenBSD 1.38

Revision 1.7 / (download) - annotate - [select for diffs], Tue May 18 20:06:03 2010 UTC (13 years, 10 months ago) by schwarze
Branch: MAIN
Changes since 1.6: +12 -1 lines
Diff to previous 1.6 (colored) to selected 1.121 (colored)

lines containing blank characters FIXED in OpenBSD,
and add one new .Bl -tag issue reported by Joerg

Revision 1.6 / (download) - annotate - [select for diffs], Sat May 15 18:10:26 2010 UTC (13 years, 10 months ago) by schwarze
Branch: MAIN
Changes since 1.5: +0 -4 lines
Diff to previous 1.5 (colored) to selected 1.121 (colored)

non-numeric section headers in -man merged to OpenBSD

Revision 1.5 / (download) - annotate - [select for diffs], Sat May 15 17:50:30 2010 UTC (13 years, 10 months ago) by joerg
Branch: MAIN
Changes since 1.4: +2 -0 lines
Diff to previous 1.4 (colored) to selected 1.121 (colored)

Mishandling of : in expr(1)

Revision 1.4 / (download) - annotate - [select for diffs], Sat May 15 15:54:39 2010 UTC (13 years, 10 months ago) by kristaps
Branch: MAIN
Changes since 1.3: +2 -1 lines
Diff to previous 1.3 (colored) to selected 1.121 (colored)

Removed restriction on integer manual sections in -man.

Revision 1.3 / (download) - annotate - [select for diffs], Sat May 15 09:41:43 2010 UTC (13 years, 10 months ago) by schwarze
Branch: MAIN
Changes since 1.2: +0 -10 lines
Diff to previous 1.2 (colored) to selected 1.121 (colored)

fixed tabs in quoted .Bl -column; and removed right margin from displays

Revision 1.2 / (download) - annotate - [select for diffs], Sat May 15 09:28:11 2010 UTC (13 years, 10 months ago) by schwarze
Branch: MAIN
Changes since 1.1: +2 -40 lines
Diff to previous 1.1 (colored) to selected 1.121 (colored)

no more info on bugs FIXED in bsd.lv;
this info is in old revisions of this file

Revision 1.1 / (download) - annotate - [select for diffs], Fri May 14 18:20:20 2010 UTC (13 years, 10 months ago) by kristaps
Branch: MAIN
Diff to selected 1.121 (colored)

Added Ingo's TODO file.

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.




CVSweb