summaryrefslogtreecommitdiff
path: root/usr.bin
AgeCommit message (Collapse)Author
2010-10-28more roff adjustments;Jason McIntyre
2010-10-28rewrite EXAMPLES, so that it makes a bit more sense;Jason McIntyre
2010-10-28adjust text to avoid referencing non-existent pages;Jason McIntyre
2010-10-28knock out some "-*- nroff -*-" lines;Jason McIntyre
2010-10-28cleanup ;;Theo de Raadt
2010-10-28grammar tweak; from Michael W. BombardieriJason McIntyre
2010-10-28Change basep parameter of getdirentries() to be off_t *, not long *Todd C. Miller
so it works correctly with large offsets (and matches other systems). This requires adding a new getdirentries syscall, with the old one renamed to ogetdirentries. All in-tree consumers of getdirentries() have been updated. Bump libc and libpthread major numbers. OK and with deraadt@
2010-10-28Fix memory leak.Tobias Stoeckmann
ok stsp, zinovik
2010-10-28fix a possible NULL deref on loading a corrupt ECDH keyDamien Miller
store ECDH group information in private keys files as "named groups" rather than as a set of explicit group parameters (by setting the OPENSSL_EC_NAMED_CURVE flag). This makes for shorter key files and retrieves the group's OpenSSL NID that we need for various things.
2010-10-28Font alternating blocks like .RB must not break the line between childrenIngo Schwarze
in literal mode. Fixing a bug found by naddy@ in the gettext(3) SYNOPSIS. This required a bit of refactoring: * consolidate pre_RB(), pre_RI(), and pre_BI() into pre_alternate() * save the MANT_LITERAL mode before descending into children * restore MANT_LITERAL mode before printing the last child
2010-10-27Fix an off-by-one in an assertion, crashing the renderer on ".Os \&".Ingo Schwarze
This bug was a living fossil, introduced on Feb 21, 2009. Reported by joachimschipper dot nl, thanks.
2010-10-27The man(7) macros .HP .IP .RS .TP accept *optional* arguments,Ingo Schwarze
so do not throw an ERROR when there are none. Formatting is already correct: With no arguments, use default widths and no tag. Problem reported by naddy@, thanks.
2010-10-27Merge -k and expand @@ parsing code between OpenCVS and OpenRCS, resultingTobias Stoeckmann
in a performance gain in OpenCVS in some "cvs update" scenarios. ok zinovik
2010-10-26Warn developers that .so is fragile and suggest using ln(1) instead;Ingo Schwarze
throwing a warning here was suggested by Joerg Sonnenberger.
2010-10-26Downgrade nearly 20 ERRORS to WARNINGS.Ingo Schwarze
All these indicate problems in the mdoc(7) or man(7) source code, but they can't cause relevant information loss or clobbered formatting. While here, error message improve wording and make it more uniform, don't throw MANDOCERR_NOWIDTHARG twice when there is one single issue, and consolidate MANDOCERR_WIDTHARG into MANDOCERR_IGNARGV.
2010-10-26Support .so (low-level roff "switch source file"),Ingo Schwarze
needed for Xenocara and various ports. Accept only relative paths and no ascension to the parent directory as suggested by Joerg Sonnenberger; code looked over by Joerg, too. Useful discussions with various people, among others espie@.
2010-10-26Refactoring, no functional change:Ingo Schwarze
Seperate the code to read and parse a PART of a page (new function pdesc()) from the code to finish and output a FULL page (function fdesc()); in preparation for .so support.
2010-10-26add HISTORY and AUTHORS sections.Felix Kronlage
ok jmc@, djm@
2010-10-25Add missing FNM_CASEFOLD flag to fnmatch() when locate is run in caseTodd C. Miller
insensitive mode. From Geoff Steckel. OK deraadt@
2010-10-24Do not throw FATAL errors when there is no need to:Ingo Schwarze
- when encountering nested displays (.Bd containing .Bd, .D1, .D1) - when a block end macro was forgotten - when ending a block that was never started - when the uname(3) system call failed along with a little related cleanup
2010-10-23let .Bsx print just "BSD/OS" like in modern groffIngo Schwarze
from Ulrich Spoerlein <uqs at spoerlein dot net>
2010-10-23escape '[' in filename tab-completion; fix a type while there.Stuart Henderson
ok djm@
2010-10-23Use CVSROOT for "cvs import" - just ignore CVS/Root files. PR 6497 fromNicholas Marriott
Michael W Bombardieri. ok tobias stsp
2010-10-23sync library manuals to bsd.lvIngo Schwarze
2010-10-23use proper message in case of multiple arguments to .AnIngo Schwarze
from kristaps@
2010-10-23cleanup mdoc(7) validation code: use real functions, not macrosIngo Schwarze
from kristaps@
2010-10-23.Sm no longer produces a linebreak when used in .BdIngo Schwarze
also avoid an extra space after the opening bracket in .Op in -Thtml from kristaps@
2010-10-23sync comments to bsd.lv; no functional changeIngo Schwarze
2010-10-23Add a last-pane command (bound to ; by default). Requested ages ago byNicholas Marriott
somebody whose name I have forgotten.
2010-10-23When removing a pane, don't change the active pane unless the activeNicholas Marriott
pane is actually the one being removed.
2010-10-22Fix a crash when mixing the legacy width option (e.g. fold -70)Todd C. Miller
with getopt()-style options, such as "fold -b70". Mixing the legacy width with another option is no longer permitted. This matches legacy behavior and other implementations. OK kili@
2010-10-22whining verboten; ok deraadtMike Belopuhov
2010-10-22Move setvbuf() added in r1.19 to before the call to doskip() sinceTodd C. Miller
anything read from stdin in doskip() may be lost when we change the buffering. Fixes PR 6492. OK guenther@
2010-10-21When the end of a stream is reached (ie mix_eof() called) otherAlexandre Ratchov
possibly blocked streams are processed. If during this phase the end of another stream is reached then stop the processing because the job will be already finished by the second stream. Otherwise we may end up running a destroyed stream. help from Edward Wandasiewicz <w13ntd at googlemail.com>, thanks
2010-10-21fix style and typos in messages and commentsAlexandre Ratchov
2010-10-21use MODE_xxx and XRUN_xxx macros everywhere, and zap correspondingAlexandre Ratchov
AMSG_xxx macros, which in turns simplifies the code
2010-10-21more EXIT STATUS bits; from Daniel DickmanJason McIntyre
2010-10-21There is neither TCP6 nor struct tcp6cb in our kernel. So removeAlexander Bluhm
tcp6_dump() from netstat. It was never called anyway. No binary change. ok henning@ claudio@
2010-10-20Merge OpenCVS' rcs_deltatext_set into OpenRCS, fixing a memory leak.Tobias Stoeckmann
ok nicm zinovik
2010-10-20Remove the need for rp_file in parser structure, instead keep only oneTobias Stoeckmann
FILE pointer in RCSFILE. This fixes some ugliness in closing an fdopen()ed FILE and its underlying file descriptor. Notified by Joerg Sonnenberger <joerg at britannica dot bec to de> discussed with and ok nicm
2010-10-20Mark repeating keys with "(repeat)" in the key list.Nicholas Marriott
2010-10-20Prevent a NULL pointer dereference if rcsparse_deltatexts is called withTobias Stoeckmann
a revision not specified as delta in an RCS file. Spotted by and ok zinovik
2010-10-19no more vgrind(1); ok deraadtJason McIntyre
2010-10-19Add a few more tcpcb and sockbuffer variables that tcpbench can inspect.Claudio Jeker
2010-10-18sup is no longer used. reminded by pirofti and jmcTheo de Raadt
2010-10-18vgrind goes to the atticTheo de Raadt
2010-10-18disable vgrind; raw roff support is gone. it might surface in the ports ↵Theo de Raadt
tree, or the time for vgrind has gone
2010-10-18Merge the before and after attach client code into one in client.cNicholas Marriott
(instead of two in tmux.c and client.c).
2010-10-18more usd/psd stuff lurking...Jason McIntyre
2010-10-18remove references to now removed usd/psd/smm docs;Jason McIntyre