1
0
mirror of https://github.com/openbsd/src.git synced 2025-01-10 06:47:55 -08:00
Commit Graph

1785 Commits

Author SHA1 Message Date
ratchov
634fa8c151 expose a volume knob in the sndio API: add sio_setvol(3) and
sio_onvol(3) functions. The audio(4) backend tries to use the
inputs.dac, outputs.dac, outputs.output and outputs.master
controls (in this order). Add a sample file in
regress/lib/libsndio/vol/vol.c
2008-11-11 19:39:35 +00:00
djm
95fc70d4d9 PuTTY supports AES CTR modes, so interop test against them too 2008-11-10 02:06:35 +00:00
espie
367ea1a779 clean-up regexps, replacing some . (any char) with \. (actual dot),
adding grouping parentheses, compiling whatever's compilable with /o,
restricting words with word boundaries. /b

okay grunk@, jmc@ (with help from jmc@)

#10000 !

Oddly fitting, as my first commit was concerned with manpages as well...
2008-11-07 20:20:33 +00:00
espie
c00440a45f handle Xrefs to XFree as well
okay grunk@, jmc@
2008-11-03 12:17:01 +00:00
espie
ca516d992b handle 3p manpages correctly
Also remove some warnings for OpenBSD, since /pub/OpenBSD
will occur very often in tool samples.

okay grunk@, jmc@
2008-11-03 12:14:46 +00:00
grunk
72e5549c40 in option parsing, use a simle DeMorgan transformation, fix indentation,
and clarify the comment above.

ok espie@
2008-11-01 17:59:27 +00:00
grunk
ac68ffef6a make usage() a fatal function instead of a string. It is just used once,
and it greatly improves code flow there.  Also, print usage to STDERR instead
of STDOUT.  Use an EOF-heredoc instead of a clumsily escaped \t\n-string.

ok espie@
2008-11-01 16:17:30 +00:00
grunk
1c71822ddd cleanup: zap trailing whitespaces, trim superlong lines
replace one '&&' by 'and' to not get bitten by operator precedence later on

no functional change otherwise
jmc@ tells me to just go ahead for standard stuff like this.
2008-11-01 15:01:49 +00:00
jmc
c64960a6a0 - since mdocdate fills in the date automatically, we no longer have to check
that a valid date is entered. instead, just make sure there is an
mdocdate tag there. saves us bumping the year too. ok millert
- adjust man page accordingly
- remove -e from default options list in usage()
- add a HISTORY section
2008-11-01 07:49:54 +00:00
millert
3d309893cb Prevent Mdocdate from getting expanded inline. 2008-10-31 14:42:44 +00:00
jmc
8a04709c41 turn off -e by default, since we do not currently sort the errors
in the man page;
2008-10-31 14:26:56 +00:00
jmc
cec384b615 add mdoclint, a perl script for checking man pages;
not hooked up to the build, since there are no tests;

from wiz@netbsd
2008-10-31 14:11:04 +00:00
ratchov
f153e44069 rename libsa to libsndio
requested by many, "just go for it" deraadt@
2008-10-27 00:26:33 +00:00
ratchov
9bb28def37 add minimal server capability to aucat(1). When started in server
mode, it listens on an unix socket and mixes/demultiplexes any number
of full-duplex streams, doing necessary format conversions and
resampling on the fly.

programs can use the new libsa(3) library to play and record audio.
The library provides a very simple API to connect to the audio server;
if aucat(1) isn't running, it uses the audio(4) driver transparently
instead.
2008-10-26 08:49:43 +00:00
mpf
78445c69ff The optional table counters added a field to the verbose
table output. Adopt.
2008-10-19 16:18:52 +00:00
mpf
eb1a54149e vmstat(8) now reports "InUse" instead of "Releases".
Adopt for ktable/kentry usage/leakage tests.
Also run vmstat verbose, to avoid matching failures
if the pools haven't been used yet.
2008-10-19 16:16:03 +00:00
millert
cd65ed772c cleanup 2008-10-13 13:27:33 +00:00
millert
a680627de4 Add sed-based dc(1) clone. This exposes a long-standing bug in BSD sed
Not hooked up to regress yet since sed gets in a tight cpu loop.
2008-10-13 13:22:10 +00:00
millert
72e3e8875d hook up sed regress 2008-10-10 14:34:06 +00:00
millert
1427438359 Adapt sed test suite to regress framework.
Add sierpinski triangle script from http://sed.sourceforge.net/grabbag/scripts
2008-10-10 14:33:34 +00:00
millert
2db5d82f6f Hook up fnmatch and glob regress. 2008-10-02 12:26:45 +00:00
millert
b785560156 Regress driver for fnmatch(3). Needs more tests. 2008-10-01 23:04:58 +00:00
millert
5f220d7f1f Regress driver for glob(3). Needs more tests. 2008-10-01 23:04:36 +00:00
djm
9cb9013e7d adjust for MAXINTERP crank, pointed out by dkrause@ 2008-09-19 23:34:31 +00:00
miod
90140cc775 Make that test pass on 64 bit platforms as well. 2008-09-11 10:06:29 +00:00
martynas
7b36286a70 - replace dtoa w/ David's gdtoa, version 2008-03-15
- provide proper dtoa locks
- use the real strtof implementation
- add strtold, __hdtoa, __hldtoa
- add %a/%A support
- don't lose precision in printf, don't round to double anymore
- implement extended-precision versions of libc functions: fpclassify,
isnan, isinf, signbit, isnormal, isfinite, now that the ieee.h is
fixed
- separate vax versions of strtof, and __hdtoa
- add complex math support.  added functions: cacos, casin, catan,
ccos, csin, ctan, cacosh, casinh, catanh, ccosh, csinh, ctanh, cexp,
clog, cabs, cpow, csqrt, carg, cimag, conj, cproj, creal, cacosf,
casinf, catanf, ccosf, csinf, ctanf, cacoshf, casinhf, catanhf,
ccoshf, csinhf, ctanhf, cexpf, clogf, cabsf, cpowf, csqrtf, cargf,
cimagf, conjf, cprojf, crealf
- add fdim, fmax, fmin
- add log2. (adapted implementation e_log.c.  could be more acruate
& faster, but it's good enough for now)
- remove wrappers & cruft in libm, supposed to work-around mistakes
in SVID, etc.;  use ieee versions.  fixes issues in python 2.6 for
djm@
- make _digittoint static
- proper definitions for i386, and amd64 in ieee.h
- sh, powerpc don't really have extended-precision
- add missing definitions for mips64 (quad), m{6,8}k (96-bit) float.h
for LDBL_*
- merge lead to frac for m{6,8}k, for gdtoa to work properly
- add FRAC*BITS & EXT_TO_ARRAY32 definitions in ieee.h, for hdtoa&ldtoa
to use
- add EXT_IMPLICIT_NBIT definition, which indicates implicit
normalization bit
- add regression tests for libc: fpclassify and printf
- arith.h & gd_qnan.h definitions
- update ieee.h: hppa doesn't have quad-precision, hppa64 does
- add missing prototypes to gdtoaimp
- on 64-bit platforms make sure gdtoa doesn't use a long when it
really wants an int
- etc., what i may have forgotten...
- bump libm major, due to removed&changed symbols
- no libc bump, since this is riding on djm's libc major crank from
a day ago

discussed with / requested by / testing theo, sthen@, djm@, jsg@,
merdely@, jsing@, tedu@, brad@, jakemsr@, and others.
looks good to millert@
parts of the diff ok kettenis@

this commit does not include:
- man page changes
2008-09-07 20:36:06 +00:00
djm
eaebda7c9c update for openssl-0.9.8h 2008-09-06 12:21:52 +00:00
djm
c32ea7195b fix builds for when obj/ present
fix gcc warnings
add licenses
ok damien@
2008-09-02 12:55:44 +00:00
bluhm
2d136fa84d Test the IPv6 address printing of pf_print_host() in net/pf.c.
help and ok mpf
2008-08-22 00:48:33 +00:00
otto
510f34e9da mention t3 fails 2008-08-20 18:29:37 +00:00
mpf
92041e74d2 Regression tests for gzip(1):
- Test if we detect truncated or corrupted files.
 - Test basic functionality
OK millert@, markus@
2008-08-20 09:29:51 +00:00
espie
751170ae5c another issue for which I have a patch.
Issue reported by Vortechz Anderson <utg_vrtz@yahoo.se>
2008-08-16 10:02:32 +00:00
espie
8196270655 a new regression test, I has a diff for it. 2008-08-16 09:57:12 +00:00
damien
737cbabc45 test vectors for HMAC-MD5, HMAC-SHA1, HMAC-SHA256, AES-128-CMAC,
AES Key Wrap.

ok djm@
2008-08-12 15:49:07 +00:00
miod
78389f1c28 Make sure the test array is 64 bit aligned, this now makes sparc fail this
test.
2008-07-26 10:25:04 +00:00
art
c3beacfdf5 flock 2008-07-25 11:57:53 +00:00
art
97a3f8ce5c file advisory locking tests from FreeBSD. We fail to detect
two deadlocks at the moment.
2008-07-25 11:41:22 +00:00
espie
da12fd0f03 deprecate package names without version numbers. 2008-07-15 10:48:14 +00:00
bluhm
befd40c8d6 Isakmpd acquire mode did not work with a config generated from
ipsec.conf.  The config created by isakmpd dynamically was different
from the config that ipsecctl generated out of ipsec.conf.

Both config formats are changed so that they match.  One needs a
passive ike line and a require flow line with the same parameters
in the ipsec.conf.  Then the acquire message generated by the kernel
will trigger isakmpd to generate a config that matches the one that
ipsecctl generated from the ike line.

ok hshoexer, 'sounds good' todd
2008-07-01 15:00:53 +00:00
bluhm
d76099b699 If multiple to addresses but no peer are given in an ike or flow
rule, the current to address is taken as peer during expansion.
This makes the broken regress test ikefail7 obsolete as address
family mismatch cannot happen anymore.
ok hshoexer
2008-07-01 14:08:39 +00:00
djm
8855ecc598 explicitly disable conch options that could interfere with the test 2008-06-30 10:43:03 +00:00
djm
cf293b793d remove "set -e" left over from debugging 2008-06-30 10:31:11 +00:00
djm
ab3141c37a shell portability: use "=" instead of "==" in test(1) expressions,
double-quote string with backslash escaped /
2008-06-30 08:07:34 +00:00
djm
1af807c378 very basic regress test against Twisted Conch in "make interop"
target (conch is available in ports/devel/py-twisted/conch);
ok markus@
2008-06-28 13:57:25 +00:00
ray
d874cce4b1 First pass at removing clauses 3 and 4 from NetBSD licenses.
Not sure what's more surprising: how long it took for NetBSD to
catch up to the rest of the BSDs (including UCB), or the amount of
code that NetBSD has claimed for itself without attributing to the
actual authors.

OK deraadt@
2008-06-26 05:42:03 +00:00
david
016f4b8516 fix regress after scrub TOS and tagging additions; "commit it" henning@ 2008-06-16 03:24:43 +00:00
espie
297f306e3e some mtree regress
okay millert@
2008-06-13 21:33:00 +00:00
djm
8783096a7a +aes tests 2008-06-12 19:44:39 +00:00
djm
a0c5475943 blocksize=128 keysize={128,256} AES test vectors from Dr. Brian Gladman
http://fp.gladman.plus.com/AES/
2008-06-12 19:44:01 +00:00
djm
219510dee4 Test crypto(4) AES against test vectors from Dr. Brian Gladman
available at http://fp.gladman.plus.com/AES/

only keysize={128,256} and standard AES blocksize for now
2008-06-12 19:42:48 +00:00