summaryrefslogtreecommitdiff
path: root/usr.bin
AgeCommit message (Collapse)Author
2010-05-15Distinguish OPEN, MIDDLE and CLOSE delimiters (using an enum).Ingo Schwarze
Only OPEN are drawn before the beginning of a macro; this is new, before this, MIDDLE ('|') were drawn in front, too. Only CLOSE are pushed after the end of a macro (as before). ok kristaps@ This allows us to finally enable handling of leading punctuation without regressions.
2010-05-15normalize() cannot be inline and extern at the same time; prompted byOtto Moerbeek
jsg@
2010-05-15block-implicit macros now up-propogate end-of-sentence spacing;Ingo Schwarze
from bsd.lv mandoc.c 1.13 and mdoc_macro.c 1.64
2010-05-14Pause the mux channel while waiting for reply from aynch callbacks.Damien Miller
Prevents misordering of replies if new requests arrive while waiting. Extend channel open confirm callback to allow signalling failure conditions as well as success. Use this to 1) fix a memory leak, 2) start using the above pause mechanism and 3) delay sending a success/ failure message on mux slave session open until we receive a reply from the server. motivated by and with feedback from markus@
2010-05-14Integrate kristaps@' end-of-sentence (EOS) frameworkIngo Schwarze
which is simpler and more powerful than mine, and remove mine. * man(7) now has EOS handling, too * put EOS detection into its own function in libmandoc * use node and termp flags to communicate the EOS condition * no more EOS pseudo-macro * no more non-printable EOS marker character on the formatter level This slightly breaks EOS detection after trailing punctuation in mdoc(7) macros, but that will be restored soon.
2010-05-14Colour+attribute options for status line alerts, from Alex Alexander.Nicholas Marriott
2010-05-14Accept (and document) "none" instead of "default" for attributes as itNicholas Marriott
is clearer and avoids confusion with default colours.
2010-05-14Merge 1.9.25, keeping local patches;Ingo Schwarze
this does not merge kristaps' end-of-sentences handling yet, i will check that separately. This one includes: * handle \*(Ba as a delimiter * introduce ARGS_PEND for .Bl -column .It end-of-line special casing * section ordering: expect EXIT STATUS at the right place * line break fixes in SYNOPSIS * allow literal contexts to have arbitrary line lengths * the input file column number can not be used to identify the beginning of a line because white space is allowed after the initial '.' * proper leading spaces in -man -Tascii mode * do not let Lb break lines in -mdoc -Thtml LIBRARY
2010-05-14Use $OpenBSD$.Nicholas Marriott
2010-05-14merge 1.9.24, keeping local patches; some changes:Ingo Schwarze
* preserve multiple consecutive space characters in input * do not restrict .Cd and .Rv to certain sections (requested by Joerg) * do not run lookup() on quoted words * enum return types for mdoc_args and mdoc_argv * fix auto-closing of LINK tag in -Txhtml (from Daniel Friesel) * various lint and manual fixes
2010-05-14check that the certificate matches the corresponding private key beforeDamien Miller
grafting it on
2010-05-13Remove the command line option -fno-ign-chars.Ingo Schwarze
This option was not useful, you never want mandoc to die just because there is an invalid character in the input file, neither in production nor when linting: a warning is sufficient. This was particularly annoying because it was part of -fstrict and could not be switched off. "less is more" kristaps@
2010-05-12Catch SIGHUP and terminate if running as a client. This prevents clientsJoel Sing
from being left hanging around when, for example, a SSH session is disconnected. ok nicm@
2010-05-11don't accept certificates marked as "cert-authority" here; ok markus@Damien Miller
2010-05-10Switch to using COMPILER_VERSION instead of USE_GCC3, allows for more flexibleDale Rahn
complier picking, eg supporting gcc2, gcc3, and gcc4. based on diff by Marco, with fixes from espie@. ok espie@ general mumbling of approval of others.
2010-05-08prime play buffers as soon as the device is opened, otherwise aAlexandre Ratchov
midi client could start it with empty buffers, in turn hurting audio clients.
2010-05-08Fix sign in dev_getpos(). Indeed, positive device playback latencyAlexandre Ratchov
is accounted as negative start position offset.
2010-05-08don't take into account recording latency in dev_getpos(), sinceAlexandre Ratchov
dev_sync() always discards any recorded samples
2010-05-08sync to bsd.lv mdoc_term.c 1.117, mdoc_html.c 1.61:Ingo Schwarze
fixed %T: it now correctly underlines, instead of quoting; noted by jmc@, fixed by kristaps@
2010-05-08merge bsd.lv rev 1.123:Ingo Schwarze
sync mdoc.c's static function names with man.c
2010-05-08handle text lines beginning with \." as comments, like groff does,Ingo Schwarze
even though this is not correct comment syntax (so warn, too) reported by Claus Assmann on misc@, fix by kristaps@
2010-05-08sync to bsd.lv rev 1.12:Ingo Schwarze
add some standards found in NetBSD's manuals
2010-05-07tweak previous;Jason McIntyre
2010-05-07add some optional indirection to matching of principal names listedDamien Miller
in certificates. Currently, a certificate must include the a user's name to be accepted for authentication. This change adds the ability to specify a list of certificate principal names that are acceptable. When authenticating using a CA trusted through ~/.ssh/authorized_keys, this adds a new principals="name1[,name2,...]" key option. For CAs listed through sshd_config's TrustedCAKeys option, a new config option "AuthorizedPrincipalsFile" specifies a per-user file containing the list of acceptable names. If either option is absent, the current behaviour of requiring the username to appear in principals continues to apply. These options are useful for role accounts, disjoint account namespaces and "user@realm"-style naming policies in certificates. feedback and ok markus@
2010-05-07remove ``abspos'' counters, from the pre-libsndio era. Since play andAlexandre Ratchov
rec direction use the same clock, there's no need to maintain their absolute position.
2010-05-07Since aucat uses libsndio, play and rec clocks are the same, soAlexandre Ratchov
use play and rec latencies counters to calculate the offset between play and rec direction. Greatly simplifies stream attaching code.
2010-05-07don't prime audio buffers if the device is only started to serveAlexandre Ratchov
as clock source for MIDI clients.
2010-05-06allow volumes of uninitialized slots to be setAlexandre Ratchov
2010-05-05Identical behaviour to select-prompt can now be obtained withNicholas Marriott
command-prompt, so remove select-prompt and change ' to be bound to command-prompt -p index "select-window -t :%%".
2010-05-05restore mput and mget which got lost in the tab-completion changes.Darren Tucker
found by Kenneth Whitaker, ok djm@
2010-05-04end-of-sentence markers at the end of .Fn argument listsIngo Schwarze
ruin indentation of the next line in the SYNOPSIS section; bug found by jacekm@ in err(3)
2010-05-04make the mixer process data as soon as it's pushed by one of itsAlexandre Ratchov
inputs, i.e. don't way that the output requests it.
2010-05-04if the ``device'' is in loopback mode (ie no audio device), thenAlexandre Ratchov
disable overruns/underruns since aucat must pause when an input or an output blocks. This is a theoretical fix, since the start/stop code is never reached in loopback mode
2010-05-04Put this back in with the initialisation in the right order.Nicholas Marriott
2010-05-04Revert last change, it appears to be broken somehow.Nicholas Marriott
2010-05-03Support gcc4 with cpp (gcc4 binary to be installed in /usr/libexec/cpp).Dale Rahn
ok kettenis@
2010-05-03Make signal handler setup/teardown two common functions instead of six,Nicholas Marriott
and reset SIGCHLD after fork to fix problems with some shells. From Romain Francois.
2010-05-03Make C-] and other punctuation-based control key combinations work again.Ryan Thomas McBride
ok nicm
2010-05-02sort options.Igor Sobrado
2010-05-02Clean up device handling code to clarify different initialization phasesAlexandre Ratchov
and different device states. Split initialization in two phases: first global variables are initialized then the audio hardware is opened. Allow devices that don't support full-duplex to work in play-only or record-only mode, even if ``-m play'' or ``-m rec'' are not specified.
2010-05-02Don't systematically fill with silence the mixer output. ThisAlexandre Ratchov
might result in extra samples being written to the device when the mixer is closed.
2010-05-02use clock_gettime() and interval timers instead of gettimeofday()Alexandre Ratchov
and poll()'s timeout. Simpler and more accurate, from midish
2010-05-02in the resampling code, handle the case ``diff == 0'', to avoid producingAlexandre Ratchov
the first sample of the next block in advance.
2010-05-01typo; jmeltzer@Damien Miller
2010-04-30shuffle some things around to deal with incomplete typesJonathan Gray
gcc4 gets upset about. based on suggestions from miod@, ok millert@
2010-04-28Make the active pane border have a green foreground instead ofNicholas Marriott
background by default.
2010-04-28Rename nfiles so as not to collide with sys/file.h,Jonathan Gray
makes gcc4 happy. ok deraadt@ miod@
2010-04-28shuffle extern decl of header[] so gcc4 doesn't complain aboutJonathan Gray
incomplete types. ok deraadt@ 'Looks acceptable' miod@
2010-04-28Fix crash when resizing in copy mode, when cursor can end up outside screen.Nicholas Marriott
Reported by Romain Francois, fixed by Micah Cowan.
2010-04-27Fix a subtle bug noticed by naddy@ in pftop(8), thanks!Ingo Schwarze
When converting blank lines to .Pp outside literal context, it could happen that the following node ended up as a child of the .Pp element, but it must always be a sibling.