summaryrefslogtreecommitdiff
path: root/usr.bin
AgeCommit message (Collapse)Author
2012-11-23space required between macro args and punctuation;Jason McIntyre
2012-11-23add a -M flag that does nothing; allows setups with -M in sndiod_flagsAlexandre Ratchov
to work.
2012-11-23Since there's no sndiod -> aucat link anymore, allow aucat to be runAlexandre Ratchov
in server mode even when not invoked as sndiod. This allows aucat and the new sndiod daemon to live together in /usr/bin, which makes easy to quickly compare sndiod and aucat (and spot possible regressions) without having to modify /usr/bin.
2012-11-23Remplace aucat server by a new sndiod daemon aimed to be simplerAlexandre Ratchov
smaller and faster than aucat. It's a drop in replacement with the following exceptions that don't affect the default setup: - The sample rate and the encoding are a per-device parameters thus -r and -e options must precede the corresponding -f option - MIDI thru boxes are dynamically created and no -M option is required anymore, so -M was removed. - MIDI ports are exposed with a new ``midi/N'' name, rather than abusing MIDI thru boxes. with help from armani@, ok deraadt@
2012-11-23Make the client wait for the first flow control message rather thanAlexandre Ratchov
assuming it can send a full initial data buffer. This requires protocol version bump (but no library version bump).
2012-11-22Put helper function back, will be needed in a bit.Nicholas Marriott
2012-11-22Instead of worrying about xterm version, send DA and read DEC serviceNicholas Marriott
class which is more likely to be useful. Not used for anything yet anyway.
2012-11-22Don't need to send DECSL on detaching now, the code using higher levelsNicholas Marriott
has gone.
2012-11-21${.ALLSRC} and ${.OODATE} should always be defined, even for empty listsMarc Espie
of prerequisites. This prevents complaints from the var module and from other developers. That's a bug I introduced 5 years ago... found out by miod@ okay miod@
2012-11-21Plug fp leak, from rustyBSD at gmx dot fr.Nicholas Marriott
2012-11-20keep functnames sortedFlorian Obser
ok jasper, lum
2012-11-19Do not crash on stray .Ta macros found outside column lists.Ingo Schwarze
Problem reported by jmc@, thanks.
2012-11-19Add halfpage commands to mode command string table (missed by accident),Nicholas Marriott
from Thomas Adam.
2012-11-19Clarify some points about config files, notably that they are only readNicholas Marriott
at server start. From Thomas Adam.
2012-11-19Use a utility function for common code to show errors in config file,Nicholas Marriott
from Thomas Adam.
2012-11-19sync usage(), and tidy up the output a little; ok schwarzeJason McIntyre
2012-11-19In -Tman mode, support automatic word keeps in the SYNOPSISIngo Schwarze
just like in -Tascii mode; requested by millert@. While here, do not escape the blank characters terminating man(7) macros; this is becoming more important as we use more keeps now. Note that -Tman still does not support .nr nS.
2012-11-18Make the generated man(7) code more portable by using .PDIngo Schwarze
instead of .sp -1v, which for example Solaris nroff handles poorly. Problem report and patch by millert@, with the print_word chunk tweaked by me.
2012-11-18Correct indentation for lists and displays inside lists.Ingo Schwarze
Inspired by a diff from millert@, but implemented rather differently and with slightly better functionality. In particular, this one respects -offset and -width arguments found in the input file.
2012-11-18Fix four small whitespace issues related to trailing punctuationIngo Schwarze
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
2012-11-17Cleanup naming of local variables to make the code easier on the eye:Ingo Schwarze
Settle for "struct man *man", "struct mdoc *mdoc", "struct meta *meta" and avoid the confusing "*m" which was sometimes this, sometimes that. No functional change. ok kristaps@ some time ago
2012-11-16Warn about unknown volume or arch in Dt macro arguments;Ingo Schwarze
patch written by Nicolas Joly <njoly at pasteur dot fr>.
2012-11-16Two more macros (.Ap and .In) do trailing delimiter handling.Ingo Schwarze
This fixes the end of sentence spacing in open(2) and in about 150 pages in the NetBSD base system. Reported by Nicolas Joly <njoly a pasteur point fr>, merci!
2012-11-16Improve formatting of badly nested font blocks.Ingo Schwarze
The basic idea is to already pop the font at the end marker instead of allowing it to linger until the final end of the block. This requires a few preliminaries: * For each block, save a pointer to the previous font to be used in case the block breaks another and gets extended. * That requires making node information writable during rendering. * Now fonts may get popped in the wrong order; hence, after the stack has already been rewound further by some block that began earlier, ignore popping a font that was put on the stack later. * To be able to exploit all this for font blocks, tie processing to their body, not their block, which is more logical anyway. Triggered by florian@ reporting vaguely similar issues with list blocks.
2012-11-16Fix a crash triggered by .Bl -tag .It Xo .El .Sh found by florian@.Ingo Schwarze
* When allocating a body end marker, copy the pointer to the normalized block information from the body block, avoiding the risk of subsequent null pointer derefence. * When inserting the body end marker into the syntax tree, do not try to copy that pointer from the parent block, because not being a direkt child of the block it belongs to is the whole point of a body end marker. * Even non-callable blocks (like Bd and Bl) can break other blocks; when this happens, postpone closing them out in the usual way.
2012-11-14use F_OK macro instead of 0 in access() when checking by file existence. ↵Gleydson Soares
make the code easier to read. no functional change. OK millert@
2012-11-14fix a bug, hidden by the break statement in the special option case,Igor Sobrado
in the example code. millert@ suggested using -ne instead of -gt since $# can't be negative. ok millert@
2012-11-14allow the full range of unsigned serial numbers; 'fine' deraadt@Damien Miller
2012-11-14fix username passed to helper programDamien Miller
prepare stdio fds before closefrom() spotted by landry@
2012-11-13Column numbers are gone for good.Florian Obser
"yes" deraadt, input jmc
2012-11-12Once a C_RECVDIR command is sent, a matching C_END command has to bePhilip Guenthe
sent later, even if the opendir() fails or the nodescend option is set. ok krw@, ian@
2012-11-12Fix various format string issues. Stop assuming time_t is long or smaller.Philip Guenthe
Enable warnings. ok krw@, ian@
2012-11-11updating the character offset on the line all the time is astoundinglyTheo de Raadt
hostile to slow terminals. ok lum
2012-11-11david livingstone, not livingston;Jason McIntyre
i picked this up from greg lehey's commit in freebsd, -r242849: that commit also changes the date of stanley's encounter from 10th nov. to 27th of oct. since the internet doesn;t seem to agree and not having anything authorative to hand, i have left the date untouched (i.e. 10th nov.).
2012-11-09*really* filter symbols on elf systems: introduce a new "export_symbols"Marc Espie
method that does all the work to produce the right options (one option, so that the *.ver file contains all useful information). Have to cater to regexp: in particular, make sure to nm on every object and static library we might need, so we don't lose anything. Allow for the result to be empty (since some projects use -export-symbols-regex everywhere, *including on binaries with empty symbol lists*) should now be clean portswise. As usual, a non working option means lots of weird fuck-ups to fix first... thx to millert@ for the hint, aja,jasper,landry for comments and testing.
2012-11-09fix get_symbollist: output completely empty file if no symbol.Marc Espie
output slightly more debug info
2012-11-07say goodbye to killing trailing spaces.Marc Espie
this was yet another weirdness in our make that isn't shared by other makes, and that isn't part of any standard. This means end-of-line spaces in variables ARE significant (spaces around the equal sign still aren't). okay sthen@, "sounds fine" deraadt@
2012-11-07fix fractional number exponentiation, especially for negative exponentsOtto Moerbeek
2012-11-06Remove never read struct member, found while investigating a llvmFlorian Obser
report. ok lum, jasper, benno
2012-11-06use BN_set_negative() and BN_is_negative() instead of subtracting orOtto Moerbeek
comparing to zero
2012-11-06For exponenttion, only warn if the fractional part of the exponentOtto Moerbeek
is non-zero and avoid div by zero. Prompted by Andres Perera.
2012-11-05Show last client activity time in default choose-client list.Nicholas Marriott
2012-11-04Support multiple required authentication via an AuthenticationMethodsDamien Miller
option. This option lists one or more comma-separated lists of authentication method names. Successful completion of all the methods in any list is required for authentication to complete; feedback and ok markus@
2012-11-04Remove default of AuthorizedCommandUser. Administrators are now expectedDamien Miller
to explicitly specify a user. feedback and ok markus@
2012-11-03fix potential memory leak, found by llvmFlorian Obser
ok haesbaert, lum, benno
2012-11-03kill dead assignment, found by llvmFlorian Obser
ok haesbaert, lum, benno
2012-11-03Don't leak a file descriptor when testing for permissions, also makeChristiano F. Haesbaert
sure directory is executable, otherwise we can't list it. Found by and original diff from RustyBSD. While here, strlen returns a size_t not an int. ok florian.
2012-11-03This should be void.Christiano F. Haesbaert
2012-11-02Dont insert twice recorded wav files (-o) on the list of recorded files;Alexandre Ratchov
with help from Remco <remco at d-compu.dyndns.org>
2012-11-02Initialize wav structure enough for wav_close() to work in the errorAlexandre Ratchov
code path. Fixes crashes when wav_close() is called on uninitialized wav structure. With help from Remco <remco at d-compu.dyndns.org>, thanks!