History log of /openbsd/regress/usr.bin/mandoc/mdoc/Bl/column.in (Results 1 – 11 of 11)
Revision Date Author Comments
# ce7e376c 11-Jul-2019 schwarze <schwarze@openbsd.org>

When parsing a tab character that is not preceded by a space character
on an .It -column line, args() sets the MDOC_PHRASEQL flag to Quote
the Last word of the Phrase. Even if it turns out this quot

When parsing a tab character that is not preceded by a space character
on an .It -column line, args() sets the MDOC_PHRASEQL flag to Quote
the Last word of the Phrase. Even if it turns out this quoting is not
needed because the word is already quoted for other reasons, clear the
flag at the end of parsing the phrase, such that the flag does not leak
to the next phrase.

This patch fixes the bug that the trailing Macro on a line of the form
.It "word<tab>word" Ta word Macro<eol>
was incorrectly considered quoted and hence not parsed.

Bug found by Havard Eidnes (he@) with the NetBSD gettytab(5) manual page:
https://gnats.netbsd.org/cgi-bin/query-pr-single.pl?number=54361
Reported via Thomas Klausner (wiz@).

show more ...


# 943fb9d8 04-Jul-2017 schwarze <schwarze@openbsd.org>

Messages of the -Wbase level now print STYLE:. Since this
causes horrible churn anyway, profit of the opportunity to stop
excessive testing, such that this is hopefully the last instance
of such chu

Messages of the -Wbase level now print STYLE:. Since this
causes horrible churn anyway, profit of the opportunity to stop
excessive testing, such that this is hopefully the last instance
of such churn. Consistently use OpenBSD RCS tags, blank .Os,
blank fourth .TH argument, and Mdocdate like everywhere else.
Use -Ios=OpenBSD for platform-independent predictable output.

show more ...


# 80f58981 29-Jun-2017 schwarze <schwarze@openbsd.org>

warn about some non-portable idioms in .Bl -column;
triggered by a question from Yuri Pankov (illumos)


# 407d12bb 17-Oct-2015 schwarze <schwarze@openbsd.org>

Very tricky diff to fix macro interpretation and spacing around tabs
in .Bl -column; it took me more than a day to get this right.
Triggered by a loosely related bug report from tim@.

The lesson for

Very tricky diff to fix macro interpretation and spacing around tabs
in .Bl -column; it took me more than a day to get this right.
Triggered by a loosely related bug report from tim@.

The lesson for you is: Use .Ta macros in .Bl -column, avoid tabs,
or you are in for surprises: The last word before a tab is not
interpreted as a macro (unless there is a blank in between), the
first word after a tab isn't either (unless there is a blank in
between), and a blank after a tab causes a leading blank in the
respective output cell. Yes, "blank", "tab", "blank tab" and "tab
blank" all have different semantics; if you write code relying on
that, good luck maintaining it afterwards...

show more ...


# fb07c020 16-Oct-2015 schwarze <schwarze@openbsd.org>

test mixing of tabs with Ta


# b3fc894d 13-Dec-2014 schwarze <schwarze@openbsd.org>

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


# be486a49 11-Aug-2014 schwarze <schwarze@openbsd.org>

start catching up with recent code changes, but no new files yet


# 2e5f490f 17-Nov-2011 schwarze <schwarze@openbsd.org>

Complete overhaul of the mandoc(1) test suite.
* Test the recently introduced -Tman output mode, too.
* Specify date and OS arguments in all tests.
* Remove the kludge of sed(1)ing away the page foot

Complete overhaul of the mandoc(1) test suite.
* Test the recently introduced -Tman output mode, too.
* Specify date and OS arguments in all tests.
* Remove the kludge of sed(1)ing away the page footer lines.
* New make(1) variables SKIP_TMAN, SKIP_GROFF.
* Drop obsolete, clumsy make(1) variable GROFF_TARGETS.
* Delete obsolete mdoc/Bl/E*.sh error reporting tests.
* Silence char/N/basic.
* New targets:
- ascii, ascii-clean - to run -Tascii tests only
- tman, tman-clean - to run the new -Tman tests only
- obj-clean - maintainer only, needed before groff-clean and groff
- groff-clean - maintainer only, affects checked-in files

show more ...


# e173b44b 06-Feb-2011 schwarze <schwarze@openbsd.org>

more tests found in my other tree


# eb92df09 01-Jul-2010 schwarze <schwarze@openbsd.org>

major update of the mandoc test suite:
* add various new and extend a few existing tests
* stop using Mdocdate to ease syncing with NetBSD


# 2840476c 24-Dec-2009 schwarze <schwarze@openbsd.org>

Regression test for .Bl -column;
mandoc 1.9.14 still fails this one, patch being sent to kristaps@.

The groff .Bl -column spacing we are trying to follow is weird:
with less than 5 columns, groff pu

Regression test for .Bl -column;
mandoc 1.9.14 still fails this one, patch being sent to kristaps@.

The groff .Bl -column spacing we are trying to follow is weird:
with less than 5 columns, groff puts 4 blanks between columns;
with exactly 5 columns, groff puts 3 blanks between columns;
with more than 5 columns, and also with more than 78 characters per line,
groff usually falls over and bites the dust - though the exact failures
look rather different in various cases, and a few cases even work...

No use trying to test anything for more than 5 columns, though.

show more ...