summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2013-09-29audiohda: allow manual pin routing, more verbose audiostat, initial mute of ↵cinap_lenrek
al widgets the automatic routing from jack to dac/adc sometimes gets us a path thats not audible. manually specifying a route path gets us arround these. the syntax is just a comma separated list of node ids in the "pin" and "inpin" audioctl commands instead of a single pin node id. to find alternative paths, audiostat now lists all the widgets; not just the pins; and ther input connections. initially mute all pins and amps of all function groups. connectpath() and disconnectpath() will mute and unmute the widgets as required later.
2013-09-28pkg/list: handle more directory listingsstanley lieber
2013-09-27pc kernel: make syscall() return thru forkret() to handle exceptionscinap_lenrek
forkret() labels the instructions that can raise exceptions so they can be handled in trap(). this can happen when segment descriptors get invalidated.
2013-09-26fortunes: I gave up, back to 9front. -- Aramstanley lieber
2013-09-26tcs: eleminate ambigous html entity runes.cinap_lenrek
2013-09-26audioac97: remove i/o bar magic, fix ac97mixreset busywait-forever timeoutcinap_lenrek
the standard is i/o bar 0 is the mixer and bar 1 is status/control. the magic with the bar sizes made it fail in qemu. so removing it for now as all devices seen so far comply to the standard. if we ever see a sis7012 where this might be swaped uncomment the i=0; the busywait timeout is too long in ac97mixreset() because rd/wr have a timeout on ther own. just remove the busy looping and do a one second delay after mixer reset. (tested with t23)
2013-09-25mergecinap_lenrek
2013-09-26reverting semaphore lock changes from sources (r41ccd6d221da, rb28756e5ba29)cinap_lenrek
semaphore locks have much higher overhead than initially presented in the "Semaphores in Plan9" paper. until the reason for it has been found out i will revert the changes.
2013-09-24fix null dereference crash in mothrajpathy
2013-09-24syssem*: eleminate redundant validaddr() checkscinap_lenrek
validaddr looks up the segments for an address range and checks the flags and if the address range lies within bounds on the segments. as we'r going to lookup the segment in the syssem* syscalls anyway, we can do the checks ourselfs avoiding the double segment array lookups. the implication of this tho is that now a semaphore cannot span multiple segments. but this would be highly unusual given that segments are page aligned.
2013-09-239bootfat: only check for fat at block 0 on floppy drives (thanks aap)cinap_lenrek
smart boot manager has a "FAT" signature in its mbr causing 9bootfat to "detect" it as a fat filesystem and then fails to find plan9.ini. there shouldnt be a fat filesystem on harddrives at block 0, only on floppy drives. but some bioses use floppy drive numbers for usb harddrives so still check for a partition table. thanks aap for debugging this.
2013-09-22devproc: check for p->dot == nil, run closeproc with up->dot = up->slashcinap_lenrek
p->dot can be nil when process exits (see pexit()) set closeprocs dot to up->slash so it will show up right in devproc.
2013-09-22audiohda: vmware support (thanks dreadlorde)cinap_lenrek
2013-09-22mkfs(8): also list -U option in tablecinap_lenrek
2013-09-21rootstub: create directories for mipscinap_lenrek
2013-09-21mergecinap_lenrek
2013-09-21ape: change tas/sleep locks to cas/semacquire/semrelease locks (from sources)cinap_lenrek
2013-09-21libc: change tas/sleep locks to cas/semacquire/semrelease locks (from sources)cinap_lenrek
spinlocks have been changed to use the new semacquire/semrelease syscalls in combination with atomic compare and swap operations.
2013-09-21tcs: add html5 rune entitiescinap_lenrek
2013-09-20hget(1): usage for webpastecinap_lenrek
2013-09-20pushssl(2), pushtls(2): clarify filedescriptor closingcinap_lenrek
2013-09-20mergecinap_lenrek
2013-09-20hpost: dont emit /bin/hpost but just hpostcinap_lenrek
just emiting "hpost" makes it simpler to override it as a rc function.
2013-09-20rename /rc/bin/ok to /rc/bin/webpastestanley lieber
2013-09-20acid: handle buffer overflow with ridiculous long symbol names (thanks mischief)cinap_lenrek
go seems to accidently creates ridiculous long symbol names causing acid to crash.
2013-09-20mergecinap_lenrek
2013-09-205c: apply richard millers 5c-nan-cmp patch (from sources)cinap_lenrek
On ARM, it turns out that comparisons with NaN can be made to do the right thing with no code penalty, by a more careful selection of condition code values in the subsequent conditional branch. The meaning of the CC bits in the PSR is subtly different when they've been copied from the floating point status register. Suggested patch is 5c-nan-cmp (works on both vfp and emulated arm7500).
2013-09-20rc-httpd(8): fix typo (thanks, _trav)stanley lieber
2013-09-18pkg(1): fix for plan9.bell-labs.com; update repository liststanley lieber
2013-09-18add /rc/bin/ok, tool for okturing.com pastebinstanley lieber
2013-09-18faces: fix callerpc for realloctag in erealloc (thanks qrstuv)cinap_lenrek
2013-09-18libevent: drop queued mouse eventscinap_lenrek
the changeset r541ead66e8af: "libdraw: make ebread() return buffer immidiately if available" makes mouse sluggish when the program cant keep up as mouse events queue up. this more or less restores the original behaviour but only for mouse events.
2013-09-18kernel: reset up->setargs on sysexec(), fix race with devproccinap_lenrek
up->setargs wasnt reset in sysexec(). also, up->args should only be exchanged/freed under up->debug qlock. otherwise double free could happen.
2013-09-17ether8169, etherdp83820, ethervt6102: fix snprint READSTR bugs (thanks pap)cinap_lenrek
should probably use seprint() instead.
2013-09-17rio: translate window when scaling results in bad window rect on screen resizecinap_lenrek
when the screen is resized, we scale the windows to match the new screen size. when the screen is too small tho, the scaled down window rect might result in a bad window rect. before, we kept the window in its original position and size making it possible to move a window out of the screen by resizing its outer rio. now, if we get a bad rectangle after scaling, we just tralslate position to the new scaled r.min point but preserve its orginal size. this keeps the window always accessible.
2013-09-17faces: fix minor image memory leakcinap_lenrek
2013-09-16rio: fix Xfidwrite memory leak on flushcinap_lenrek
2013-09-16apm: fix wrong segment load, zero segment registerscinap_lenrek
we loaded APMDSEG instead of APMDSEL into DS. (ouch!) its not really clear why we loaded DS (wong) in the first place as bios is supposed to do this. for the machines where this worked it could have no effect anyway because it was wrong so removing the DS load and just zero all segment registers.
2013-09-16libauth: add sanity check for auth_proxy write sizecinap_lenrek
2013-09-16aux/statusbar, aux/statusmsg: dont fork in background for window, cleanupcinap_lenrek
2013-09-16e820: handle duplicate and overlapping e820 entries, handle overflowscinap_lenrek
new algorithm: sort entries by top address first. then for each entry we use: base = max(base, last) so we'll never map the same addresses twice.
2013-09-15kbdfs: set exit statuscinap_lenrek
2013-09-15nusb/serial: set exit statuscinap_lenrek
2013-09-15vncs: fix cmdpid fork bugcinap_lenrek
we cannot do: cmdpid = rfork(... RFMEM); because cmdpid is a global variable in the data segment and hence shared between parent and child process. use a temporary variable on the stack.
2013-09-15vncv: fix missing free for window labelcinap_lenrek
2013-09-15upas/fs: fix potential filedescriptor leakscinap_lenrek
2013-09-15pmmc: add support for Ricoh 5U23 SD/MMC controllercinap_lenrek
2013-09-14tls: fix various tlsClient()/tlsServer() related bugscinap_lenrek
- TLSconn structure on stack but not initialized (zeroed) - original filedescriptor double closed in error case - original filedescriptor leaked in success case - leaked TLSconn.sessionID and TLSconn.cert - clarify in pushtls(2) and pushssl(2)
2013-09-11acme: use threadexitsall() to tear down mouse and keyboard procs on errorcinap_lenrek
2013-09-09pci: fix compiler warning about unused variablescinap_lenrek