summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)Author
2009-09-02make getaddrinfo(3) accept numeric servname when ai_socktype is notFederico G. Schwindt
specified in hint or hints is NULL. claudio@ ok
2009-08-28Change cap_mkdb and curses to be a better about reformatting terminfo entriesNicholas Marriott
into the cap database format and back: rather than replacing all colons with commas, only touch real separators (skip those with a leading \ or ^) and replace an unadorned colon with a literal "\072". Fixes problems with quite a few caps including acsc in "screen" (:s instead of ,s) and setab/initc in "xterm-256color" (wrongly concatenated together). ok millert
2009-08-28don't consider calling sio_close() without calling sio_stop() firstAlexandre Ratchov
as a programming error. At any stage the program should be alble to cleanly free resources and close the device.
2009-08-28when using aucat backend, wait for the server to drop the connectionAlexandre Ratchov
on sio_close()
2009-08-28add a new AMSG_BYE, sent by the client to requst the server toAlexandre Ratchov
free resources and drop the connection. This allows the client to ensuire that at any time it's using only one connection, thus only one MIDI control channel.
2009-08-27Don't stop traversing a directory hierarchy if we reach SHRT_MAX,Todd C. Miller
just stop updating fts_level so we don't overflow it. This allows rm, find, etc to operate on very deep hierarchies. Consumers of fts(3) do need to be aware that the actual level may be larger than fts_level. During the next libc major bump we will make fts_level an int instead of a short. OK deraadt@
2009-08-26handle incoming AMSG_SETVOL messages, allows the client to be notifiedAlexandre Ratchov
of volume changes
2009-08-21make aucat(1) expose a MIDI device to control server behaviour inAlexandre Ratchov
realtime. For now only the playback volume of individual streams can be changed/monitored. To each stream is assigned a MIDI channel; the volume is changed/monitored using the standard controller number 7.
2009-08-20add SF_ARCHIVED. ok millert@, tedu@Martynas Venckus
2009-08-13We do not do vm86 mode on amd64Theo de Raadt
ok kettenis
2009-08-13various MLINK fixes from Alan R. S. Bueno;Jason McIntyre
2009-08-13function is named int des_string_to_2key, not int des_string_to_2keys;Jason McIntyre
from Alan R. S. Bueno
2009-08-08remove expired certificates and add startcom ltd.Federico G. Schwindt
beck@ ok
2009-08-07define substitution in some cases might happen after prototypes areMartynas Venckus
already pulled; so manually substitute protos ensuring they will always be right; ok millert@
2009-08-07pull string for memcpy; ok hshoexer@Martynas Venckus
2009-08-03use random; ok millert@Martynas Venckus
2009-08-03remove, or replace Xr of ieee to either ilogb, nextafter or scalbnMartynas Venckus
where appropriate. pointed out by jmc@
2009-08-01Use STD*_FILENO instead of 0-2. OK henning@ djm@ gilles@ dhill@Todd C. Miller
2009-08-01honor non-blocking flag in mio_open_rmidi(), fixes programsAlexandre Ratchov
eating 100% CPU while trying to use blocking i/o. ok jakemsr
2009-07-29now that the pages are split and we track separate HISTORY:Martynas Venckus
double => 4.3BSD float => NetBSD 1.1 long double => OpenBSD 4.5 scalbln, scalblnf, scalblnl => OpenBSD 4.7
2009-07-29ieee, and ieeef aren't real, and the amount of functions it documentsMartynas Venckus
is getting ridiculous. split them into groups of copysign, ilogb, nextafter, scalbn. discussed long ago with millert@
2009-07-29ieee_test isn't real; rename header to logb, tooMartynas Venckus
2009-07-28document scalbln, scalblnf, scalblnlMartynas Venckus
2009-07-28this is happier if it pulls in a few more includesTheo de Raadt
2009-07-27don't use ``return'' in sio_close() and mio_close()Alexandre Ratchov
2009-07-26more style improvemets, from Thomas PfaffAlexandre Ratchov
2009-07-26use ``sizeof(string) - 1'' rather than ``strlen(string)'' on staticAlexandre Ratchov
strings. suggested by Thomas Pfaff
2009-07-26remove the (bogus) special case when mio_open() is called withAlexandre Ratchov
a midi device name starting with a separator
2009-07-26rephrase description of (MIO_IN | MIO_OUT) modeAlexandre Ratchov
from Thomas Pfaff, ok jmc@
2009-07-26Make ``static'' few functions that are prototyped as static but are notAlexandre Ratchov
defined as such from Thomas Pfaff
2009-07-26sort and space headers as per style(9)Alexandre Ratchov
from Thomas Pfaff
2009-07-25int is big enough to fully represent exponents of all supported fpMartynas Venckus
formats. which even for 80-bit & 128-bit long doubles is only 15 bits. therefore, scalbln, scalblnf, scalblnl are essentially the same as scalbn, scalbnf, scalbnl with bounds checking so that LONG_MIN..INT_MIN, and INT_MAX..LONG_MAX ranges properly raise exceptions & yield correct values. looks good to millert@
2009-07-25use const qualifier in libsndio, making it slightly more consistentAlexandre Ratchov
with open(2) and write(2) syscalls. from Thomas Pfaff, jakemsr is fine with it
2009-07-25add sndio.7, forgotten in last commitAlexandre Ratchov
spotted by jasper@
2009-07-25Currently midi capable programs can control midi hardware, butAlexandre Ratchov
cannot cooperate with other programs. The aim of this change is to allow any program to send midi data to other programs as they were midi hardware. For instance, this change should solve the longstanding problem of using a midi sequencer with software synthesizers. More precisely: - new midicat(1) utility (actually hardlink to aucat(1)). it creates software midi thru boxes, allowing programs to send midi messages to other programs as they were midi(4) hardware. - new midi api in libsndio (see mio_open(3)), to access midi(4) devices and midicat(1) sockets in a uniform way. - new device naming scheme <service>:<unit>[.<option>], common to audio and midi. - new sndio(7) manual describing concepts and naming The current audio device naming still works, but people having scripts or configuration files containing device names could read the sndio(7) man page and slowly start updating device names. discussed with jakemsr@ and deraadt@, help form jmc@
2009-07-25- add a symbol to help gdb location pthread internals (_thread_ctx_offset)Kurt Miller
ok kettenis@
2009-07-24From NetBSD rev 1.5Jonathan Gray
The report size is not a local item, so don't clear it when clearing local items.
2009-07-24Global Item #3 should be Physical Minimum not Maximum accordingJonathan Gray
to the HID spec. From FreeBSD hid.c rev 1.31
2009-07-21Support KERN_FILE_TEXT here tooTodd C. Miller
2009-07-21Handle the case where so_pcb is NULL.Todd C. Miller
2009-07-15round, roundf, trunc, truncf for hppa; ok kettenis@Martynas Venckus
2009-07-15must include <sys/types.h> before including <login_cap.h> or <bsd_auth.h>;Ingo Schwarze
noticed by joao <salvatti at gmail dot com> on tech@; feedback and ok kettenis@ deraadt@ and reminded by jmc@
2009-07-14Don't specify mode(SI) attribute for __EH_FRAME_END__ as we haveJonathan Gray
32 bit ints on OpenBSD. ok kettenis@
2009-07-13Load symbol address with dla, not la; good thing userland is still limitedMiod Vallat
to 2GB of vm space.
2009-07-12fwrite() should also return 0 if either size or nmemb are 0.Todd C. Miller
Adapted from FreeBSD. OK deraadt@
2009-07-09promote correct style for error checkingEric Faurot
ok tedu@ deraadt@ krw@
2009-07-08correct kvm_getfile2 error stringTodd C. Miller
2009-07-06fe_towardzero not on openbsd. ok millert@Martynas Venckus
2009-06-30floor(3) should round towards -inf instead of towards zero.Mark Kettenis
ok martynas@, deraadt@
2009-06-24Install ntfs includes and add libkvm (fstat) support. ntfs bitsTodd C. Miller
adapted from NetBSD fstat. OK deraadt@