Age | Commit message (Collapse) | Author |
|
1) Actually commit TP/* this time.
2) Revert IP/* to 1.1, which is the correct version.
What happened is that i committed both IP/* and TP/* into IP,
committing two versions in one commit,
because the file TP/CVS/Repository was corrupt in my tree.
I didn't even know that could happen...
|
|
Affecting both -Tascii and -Thtml:
* The .IP HEAD uses the second argument as the width, not the last one.
* Only print the first .IP HEAD argument, not all but the last.
Affecting only -Tascii:
* The .IP and .TP HEADs must be printed without literal mode,
but literal mode must be restored afterwards.
* After the .IP and .TP bodies, we only want term_newln(), not
term_flushln(), or we would get two blank lines in literal mode.
* The .TP HEAD does not use TWOSPACE, just like .IP doesn't either.
* In literal mode, clear NOLPAD after each line, or subsequent lines
would get no indentation whatsoever.
Affecting only -Thtml:
* Only print next-line .TP children, instead of all but the first.
OK kristaps@ on the -Tascii part; and:
"Can you work this into man_html.c, too?"
|
|
Affecting both -Tascii and -Thtml:
* The .IP HEAD uses the second argument as the width, not the last one.
* Only print the first .IP HEAD argument, not all but the last.
Affecting only -Tascii:
* The .IP and .TP HEADs must be printed without literal mode,
but literal mode must be restored afterwards.
* After the .IP and .TP bodies, we only want term_newln(), not
term_flushln(), or we would get two blank lines in literal mode.
* The .TP HEAD does not use TWOSPACE, just like .IP doesn't either.
* In literal mode, clear NOLPAD after each line, or subsequent lines
would get no indentation whatsoever.
Affecting only -Thtml:
* Only print next-line .TP children, instead of all but the first.
OK kristaps@ on the -Tascii part; and:
"Can you work this into man_html.c, too?"
|
|
argument parsing (in man_argv.c, man_args()), both having different bugs,
to use one common macro argument parser (in mandoc.c, mandoc_getarg()),
because from the point of view of roff, man macros are just roff macros,
hence their arguments are parsed in exactly the same way.
While doing so, fix these bugs:
* Escaped blanks (i.e. those preceded by an odd number of backslashes)
were mishandled as argument separators in unquoted arguments to
user-defined roff macros.
* Unescaped blanks preceded by an even number of backslashes were not
recognized as argument separators in unquoted arguments to man macros.
* Escaped backslashes (i.e. pairs of backslashes) were not reduced
to single backslashes both in unquoted and quoted arguments both
to user-defined roff macros and to man macros.
* Escaped quotes (i.e. pairs of quotes inside quoted arguments) were
not reduced to single quotes in man macros.
OK kristaps@
Note that mdoc macro argument parsing is yet another beast for no good
reason and is probably afflicted by similar bugs. But i don't attempt
to fix that right now because it is intricately entangled with lots of
unrelated high-level mdoc(7) functionality, like delimiter handling and
column list phrase handling. Disentagling that would waste too much
time now.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
more bogus packages so that we can get errors out of pkg_add...
|
|
.Bk without arguments defaults to -words.
.Bk with invalid arguments (including -lines) has no effect.
ok kristaps@
|
|
For now, use the simplest conceivable approach, like groff does:
Just a fixed, ugly input stack limit.
Kristaps@ agrees.
|
|
Kristaps@ agrees with the idea, even though he didn't review the final patch.
|
|
|
|
such that the regression suite does not depend on ports.
|
|
|
|
|
|
html issues as nroff did;
from Thomas Klausner
|
|
is available for the stream. As we're at it, remove macros and
functions that are neither used nor documented.
|
|
|
|
There's not much use for the declassified cipher from the 80's
with a questionable license these days. According to the FIPS
drafts, Skipjack reaches its EOL in December 2010.
The libc portion will be removed after the ports hackathon.
djm and thib agree, no objections from deraadt
Thanks to jsg for digging up FIPS drafts.
|
|
|
|
|
|
information that is looked up while matching glob(3)s
Keeping this information around can make a big difference when
fetching it is expensive, e.g. in sftp which uses GLOB_ALTDIRFUNC
feedback millert@ jmc@
"get it in before the libc crank" deraadt@
|
|
|
|
to NIST (gcm-spec.pdf) and draft-mcgrew-gcm-test-01.txt.
|
|
|
|
|
|
|
|
Does not currently pass, which is why perl can't use it to format
doubles.
|
|
and host keys; print time used for each iteration; ok djm@
|
|
mdoclint.1 -r1.2; some minor os-specific differences remain
|
|
|
|
COMPATIBILTY as sections. these remain defined only for netbsd, since we
do not use these sections.
- contrariwise, undefine EXIT STATUS as being netbsd only. despite some
misgivings, i think we probably do need to ressurect this section. i'll
start to make these changes soon.
|
|
|
|
|
|
|
|
phessler@ deraadt@
|
|
can compile again.
ok phessler@, "Get it in right away" deraadt@
|
|
also, PKG_ADD -> ADD_PKG to avoid confusion with bsd.port.mk.
|
|
|
|
as they don't work right now
|
|
|
|
originally created by opening /dev/tun*
|
|
Fix a C thinko
|
|
|
|
|
|
|