Age | Commit message (Collapse) | Author |
|
when adding support for formatted manual pages.
|
|
|
|
macros, do not die on an assertion, but show correct error messages.
Assertions of meta data validity suggested by joerg@.
ok joerg@
|
|
and make it compatible with bsd.lv mandoc and with groff-1.21.
This tweak was originally added for compatibility with groff-1.15,
which is no longer needed.
ok jmc@ kristaps@
|
|
and trivial sync to bsd.lv (two new comments)
|
|
in network byte order; from kristaps@.
Hopefully, this finishes the database format.
This commit requires another rebuild of your mandoc databases
by running "sudo mandocdb".
|
|
|
|
|
|
the old midithru implementation; less code, less bugs. As a side
effect, midi output doesn't implement running status "compression"
any more.
|
|
with MALLOC_OPTIONS=J
|
|
|
|
|
|
volume name for the respective manual section, just like in mdoc(7).
This gives us nicer page headers for cvs(1), lynx(1), tic(1),
mkhybrid(8), and many curses(3) manuals.
ok kristaps@
To not break compatibility, i wrote a corresponding patch for GNU troff
which Werner Lemberg accepted upstream at rev. 1.65 of:
http://cvs.savannah.gnu.org/viewvc/groff/tmac/an-old.tmac?root=groff
|
|
HMAC_init (this change in policy seems insane to me)
ok dtucker@
|
|
ok dtucker@
|
|
|
|
This fixed `-d' perpetually adding the same files.
While here, remove -vv, clean up the code and document it.
From kristaps@.
|
|
|
|
pointed out by Romain Francoise.
|
|
Make `-i' only apply to regular expressions.
For substring matches, always use strcasestr().
Also, improve some manuals and comments.
|
|
|
|
with every other thing that stores the state id (including other pfsync
messages).
includes improvements to the systat code to consider the creatorid as well
as the state id in its cache to avoid collisions between states created on
different hosts.
tested by me in production and on amd64 talking to sparc64.
ok henning@
|
|
|
|
|
|
|
|
different in the committed version. Change to his original text,
requested by him.
|
|
double-space after /[.?!]\)?/
From a diff sent to tech@ by Matthew Dempsky some
months ago.
|
|
Man page review and suggestions from jmc@
Revewied and tested by myself, and ok deraadt@
|
|
modifying it; based on a remark by kristaps@.
While here, mention parsing of unformatted files
and the changed index format and fix a few minor issues.
|
|
this got lost during the bsd.lv sync in rev. 1.10; oops.
This is required for processing .so links: otherwise, several files
in Xenocara fail to parse and cause ugly complaints instead.
|
|
the mandoc(1) binary; not yet enabled for the general public.
Intended to replace src/usr.bin/whatis at a later time.
Coded by kristaps@, with a few tweaks by me.
To test this:
$ mandocdb # unless you have already done so earlier
$ sudo ln -s /usr/bin/mandoc /usr/bin/whatis.m
$ whatis.m mandoc apropos whatis
$ whatis.m man
|
|
as static global variables, reducing the maze of arguments
passed around among various static functions.
Suggested by kristaps@.
|
|
of the mandoc databases, as suggested by kristaps@.
Given the well-structured code, this is surprisingly simple.
This changes the mandoc.index database format.
Run "sudo mandocdb" to regenerate your databases.
|
|
Coded on the train back from p2k11 in Budapest.
Kristaps has seen the patch and agreed with the direction.
|
|
In particular, support the MANPATH environment variable
and don't confuse index record numbers when working with
multiple mandoc databases at once.
Besides, remove lots of gratuitious code and whitespace differences.
|
|
|
|
dev. Allows volume settings to be saved while the device is kept
closed. Besides that, no behabiour changes.
|
|
but invalid nodes. Output still differs a lot from groff, but at
least let's not crash.
Problem found and patch provided by joerg@, thanks!
|
|
written by kristaps@, massive conflict resolution by me.
Lightly tested, putting it in for polishing it in-tree.
This concludes p2k11 for me, thanks robert@!
|
|
from Michael W. Bombardieri;
|
|
of search types can be supported in the future. While here, replace
a couple of memcpy(3)s by proper, statically type-checked assignments,
and de-obfuscate some magical numbers using sizeof().
|
|
And as suggested by kristaps@, improve a lot of comments.
|
|
and add the standard options -M and -m to apropos(1).
Including a bugfix to prevent mandocdb(8) from leaking
database file descriptors.
|
|
They have been considered valid in the past, but were reformatted
to the mdoc(7) "Month day, year" style.
To make page footers more similar to groff, no longer reformat them,
just print them as they are.
This doesn't change anything with respect to what's considered valid
or what is warned about.
Putting this in now such that i can improve the unit test suite.
|
|
reported by todd@ and sebastia@
tested by sebastia@ with xdm on vax.
|
|
otherwise a stream may try to close the device a second time.
|
|
support multiple devices
|
|
fix up the section attributes of the HEAD, it's parent BLOCK, and
all its (text) children. This is required because the section
attributes get set when each node is allocated, i.e. before processing
the content of the node itself. Thus, the listed nodes got the section
attribute of the preceding section. No need to fix up the BODY, all
is fine there already.
Found while implementing TYPE_Sh for mandocdb(8).
|
|
do not abort(), but delete the head together with the block itself.
Problem found and patch provided by joerg@, thanks!
|
|
to combine them. The default remains -o; usual precedence applies.
No explicit grouping by parentheses yet.
from kristaps@
|