summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2009-10-21Add passphrase file for crypto volume bring-up. Proded and ok deraadtMarco Peereboom
2009-10-21Tidy identify message send into a separate function.Nicholas Marriott
2009-10-21Replace IP32 hw_setintrmask() .S routine with a two line C routine.Miod Vallat
2009-10-21use _lto8b to calculate 64 bit address. Fixes issue ckuethe saw at 2TBMarco Peereboom
boundary. miod "go for it."
2009-10-21Don't try to unsuspend a client if it isn't suspended.Nicholas Marriott
2009-10-21Client tidying: get rid of client_ctx struct in favour of two variables inNicholas Marriott
client.c, and move the functions in client-fn.c into other files.
2009-10-21In atoi(), only check for a base indication iff the string starts with `0'Miod Vallat
and no base has been enforced. Otherwise the leading number of the mec(4) 08:00:69:xx:yy:zz Ethernet address would be interpreted as octal base, followed by an out-of-range `8' which is now rejected but incorrectly skipped; noticed by maja@
2009-10-21Unused variable.Nicholas Marriott
2009-10-21sync to 1.9.9, featuring:Ingo Schwarze
* -Thtml output mode * roff scaling units * and some minor fixes for full changelogs, see http://bsd.lv/cgi-bin/cvsweb.cgi/
2009-10-21Remove unused function.Nicholas Marriott
2009-10-21Nuke dead store.Nicholas Marriott
2009-10-21Now we are correctly not redrawing the whole pane on linefeed, redo theNicholas Marriott
last-cursor-position code to move to the right position when panes reach EOL.
2009-10-21Tweak after recent gnome MODULE changes.Antoine Jacoutot
2009-10-21nat -> match...nat-to in example PF rule. ok mpf@Stuart Henderson
2009-10-21Add f*lockfile() routines to librthreadPhilip Guenthe
ok kurt@
2009-10-21Change libpthread's f*lockfile() routines to stop acting as no-opsPhilip Guenthe
for FILEs that don't have real file-descriptors: the fake FILEs used internally by snprintf/asprintf/vfprintf and friends now avoid unnecessary locking by calling the internal __vfprintf() routine directly and we do want to do locking on FILEs created with funopen(). ok kurt@
2009-10-21Fix the handle locking in stdio to use flockfile/funlockfilePhilip Guenthe
internally when and where required. Macros in <stdio.h> are updated to automatically call the underlying functions when the process is threaded to obtain the necessary locking. A private mutex is added to protect __sglue, the internal list of FILE handles, and another to protect the one-time initialization. Some routines in libc that use getc() change to use getc_unlocked() as they're either protected by their own lock or aren't thread-safe routines anyway. ok kurt@, earlier version tested by sthen@ and jj@
2009-10-21"usage:" is lowercase; spacing.Igor Sobrado
2009-10-21After forking, the child is single threaded, so tell libc that. ThisPhilip Guenthe
is needed to avoid deadlocks in popen() on FILE locking. ok kurt@
2009-10-21sort options; synchronize argument names with synopsis;Igor Sobrado
split the usage's output in two lines to fit on standard displays. ok millert@
2009-10-21Tweak descriptions for up/down pane to be clearer.Nicholas Marriott
2009-10-21Don't redraw the scroll region on linefeed/reverse index unless it is necessaryNicholas Marriott
(the cursor is at the bottom/top). Should fix slow cursor movement when using vi in a pane spotted by pirofti@.
2009-10-21catch signals when we start doing stuff... so that cleaning up at theMarc Espie
end always occur, unless you insist on ^C.
2009-10-21minor bug-fix: partial_install is not print.Marc Espie
remove arguments that are no longer used.
2009-10-21Some terminals don't correctly clear their let's-wrap flag after changing theNicholas Marriott
scroll region (which moves the cursor to 0,0). This means that if the cursor was at the edge of the screen, any further output after scroll region change incorrectly causes a line wrap. Add a workaround to move the cursor to position 0 if it is at the screen edge before changing scroll region.
2009-10-21Getting the read and write ends of the pipe the right way round is usuallyNicholas Marriott
recommended. DOH.
2009-10-21when freeing buffers (i.e. when sio_stop() is called on client side),Alexandre Ratchov
clear the ``tickpending'' flag to avoid sending ticks corresponding to non existent buffers (which in turn confuses clients). found and analysed by jakemsr@
2009-10-20%zu not %u, doh.Nicholas Marriott
2009-10-20Sort out stdout before stdin/stderr in case the stdout side of the pipe got oneNicholas Marriott
of their fds.
2009-10-20Correctly nuke the EOL $ marker when scrolling, reported by martynas@, thanks.Nicholas Marriott
2009-10-20Check mmap return value against MAP_FAILED not NULL.Paul Irofti
Okay deraadt@, otto@.
2009-10-20Try to reduce the UTF-8 mess.Nicholas Marriott
Get rid of passing around u_char[4]s and define a struct utf8_data which has character data, size (sequence length) and width. Move UTF-8 character collection into two functions utf8_open/utf8_append in utf8.c which fill in this struct and use these functions from input.c and the various functions in screen-write.c. Space for rather more data than is necessary for one UTF-8 sequence is in the utf8_data struct because screen_write_copy is still nasty and needs to reinject the character (after combining) into screen_write_cell.
2009-10-20UTF-8 combined character fixes.Nicholas Marriott
Thai can have treble combinations (1 x width=1 then 2 x width=0) so bump the UTF-8 cell data size to 9 and alter the code to allow this. Also break off the combining code into a separate function, handle any further combining beyond the buffer size by replacing the character with _s, and when redrawing the UTF-8 character don't assume the first part has just been printed, redraw the entire line.
2009-10-20Move the check for whether to force a line wrapper lower down into the tty codeNicholas Marriott
where it has access to the tty width, which is what should have been checked.
2009-10-20Nuke stray blank line.Nicholas Marriott
2009-10-20the flags -h and -u are mutually exclusive; we do not need enclosingIgor Sobrado
-f in brackets in the list of options; while here, sort the options in the manual page. jmc@ greatly improved the diff fixing a few additional bits on the manual page. ok jmc@
2009-10-20sync to 1.9.7: use .In instead of .Fd #includeIngo Schwarze
2009-10-20ex(1) and vi(1) are different editors. diff based on the originalIgor Sobrado
printed edition of the User's Reference Manual from USENIX and O'Reilly. 4.4BSD had exactly this, that is much more accurate than our current description (while here, Jason observed that both FreeBSD and NetBSD do the same). tweaked by jmc@ ok jmc@
2009-10-20improve the synopsis of mkalias(8) and sort the list of flags onIgor Sobrado
the manual page. ok jmc@
2009-10-20describe a bit more about High Definition Audio architectureJacob Meuser
as well as how the mixer item names are derived.
2009-10-20recognize the VIA VT1702 codecKevin Lo
ok jakemsr@
2009-10-20"active" is an unused member of the scsi_link structure. i couldnt find anyDavid Gwynne
uses of it in our tree. ok krw@ deraadt@
2009-10-19antsyJonathan Gray
no binary change apart from nfsm_reqhead() which is clearly correct. ok thib@
2009-10-19sync to 1.9.7: consolidate some -man -Tascii functions,Ingo Schwarze
and use a static buffer for the footer
2009-10-19sync to 1.9.7: kristaps@ renamed part of the DECL_ARGS :-(Ingo Schwarze
intricately mixed with three minor .Bd fixes
2009-10-19update man pagesGilles Chehade
2009-10-19change virtual rule so that it reads: accept for virtual "mapname", insteadGilles Chehade
of: accept for virtual map "mapname" ... discussed with jacekm@
2009-10-19sync to 1.9.7: the same function was declared in two different headers;Ingo Schwarze
spotted by Ulrich Spoerlein, uqs at spoerlein dot net
2009-10-19sync to 1.9.7: avoid using the same identifier for a static functionIngo Schwarze
and for a local variable in another function in the same compilation unit; suggested by Ulrich Spoerlein, uqs at spoerlein dot net
2009-10-19currently, smtpd is capable of having multiple listeners with differentGilles Chehade
options but they will all share the same ruleset. this means that there is no way to have a rule apply to a session established on one listener but not applied on another. this commit brings initial support for tagging listeners and having the rules able to match these specific listeners. The following will define a rule which will only apply to interfaces tagged as "mynet": listen on lo0 # implicit lo0 tag listen on fxp0 tag mynet listen on fxp1 tag mynet accept on mynet for domain "example.org" deliver to mbox