summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2013-10-16cwfs: fix putbuf(nil) in error case of cmd_check()cinap_lenrek
2013-10-16mergecinap_lenrek
2013-10-16fdisk: fix struct padding for amd64 (from erik quanstros fdisk-64-bit-table ↵cinap_lenrek
patch) small little patch to help fdisk work properly on 64-bit machines. sizeof(Table) is 4 bytes too big.
2013-10-15usps: update for new usps website (thanks, mischief)stanley lieber
2013-10-12aux/statusbar: emit final newline in textmode when finishedcinap_lenrek
bad: term% echo 1 1 | aux/statusbar -t x |###########################################################| 100% term% vs. good: term% echo 1 1 | aux/statusbar -t x |###########################################################| 100% term%
2013-10-12hget: handle http contentencoding (compression)cinap_lenrek
2013-10-11cwfs: add checktag() call for cache bucket in dumpblock(), fix error stringscinap_lenrek
2013-10-11cwfs: more checking for cfsdump(), cleanup Tsuper hack in cwrecur()cinap_lenrek
add checktag and nil checks in cfsdump() making sure to notice when the roroot directory structures is corrupted. cwrecur() used tag == Tsuper to indicate that this is the first level recursive invocation. this is confusing as we really expect Tdir tag in that case for the root directory. instead, we now pass the correct tag (Tdir) and use cw->depth > 1 to see if we are past the root. the block tag was only checked when the block was not in the memory cache. check the tag always!
2013-10-10unzip/zipfs: handle optional data descriptor signature in trailercinap_lenrek
2013-10-10mothra: handle <input type=image>cinap_lenrek
2013-10-08exportfs: start filter in separate rendezvous groupcinap_lenrek
2013-10-08libpanel: fix memory corruption bug in plinitentry(), add pl_erealloc()cinap_lenrek
2013-10-08libc: remove doprintcinap_lenrek
2013-10-08ip/torrent: check piece offset, vlong castcinap_lenrek
2013-10-08ip/torrent: more checking, backoff from piece on hash errorcinap_lenrek
2013-10-07kbdfs: implement keyboard mouse buttons with /dev/mouseincinap_lenrek
2013-10-07vncs: create dummy /dev/mousein and /dev/mousectl filescinap_lenrek
this should prevent accidential fiddeling with the kernels mouse driver.
2013-10-07devmouse: differential handling of /dev/mousein buttonscinap_lenrek
2013-10-07exportfs: fix more filedescriptor leakscinap_lenrek
just closing the pipe isnt enough, we have to close all remaining file descriptors except sfd before executing sub exportfs.
2013-10-06exportfs: fix openmount() rfork flags and filedescriptor leak, silence of on ↵cinap_lenrek
initstr error fork child exportfs with new rendezvous group. fix missing close of pipe filedescriptors on error. fix missing close of other end of pipe in child. dont bark when we get eof on the first init string read. this condition can happen when unmount opens and immidiately closes a exported srv file.
2013-10-065l: apply richard millers 5l-incfloat patch (from sources)cinap_lenrek
Generate correct ARM vfp code for x++ where x is single precision float. Example test program (link with '5l -f'): void _main() { float x; x++;}
2013-10-05rio: gone windows gone wrong (fix missing recv(x->flushc, nil) when gone but ↵cinap_lenrek
request flushing)
2013-10-04mothra: avoid intermediate rc shell processes, use rfork(RFREND) to isolate ↵cinap_lenrek
rendezvous group
2013-10-04page: avoid intermediate rc shell processes with using exec, move ↵cinap_lenrek
newwindow() before forking namespace use exec to avoid intermediate rc processes. avoid capturing old namespace in the waiting process by doing the newwindow() call before it.
2013-10-04mothra: run page in own note group, close unneeded filedescriptors after forkingcinap_lenrek
running page in own note group avoids killing it when we exit mothra. copypaste dupfds() function from page and use it to close unneeded file descriptors.
2013-10-04page: close stdout, reopen stdout/stderr for external viewer and removed ↵cinap_lenrek
useless RFNAMEG flag we are not using stdout (fd=1) and it, so dup nullfd over it. this drops the old window reference when using with -w flag. the RFNAMEG flag isnt needed because we are calling newwindow() which forks the namespace for us. reopen stdin/stdout for the external viewer to the new window.
2013-10-04libdraw: make newwindow() unmount the old windowcinap_lenrek
newwindow() used to mount the new window directly on /dev, resulting in the old window and the new one being mounted over each other. we now try to unmount the old window from /dev first, mount new window to /mnt/wsys (replacing the old) and then bind /mnt/wsys before /dev. if theres no /mnt/wsys, just mount window directly before /dev.
2013-10-04add sdp(3) from sourcescinap_lenrek
2013-10-04mergecinap_lenrek
2013-10-04page: dont tell rio our pidcinap_lenrek
$wsys might be from a remote system so pid will not work. new rio errors out on mouse/cons instead.
2013-10-04rio: gone windows, window resize, rectonscreen, goodrectcinap_lenrek
dont rely on postnote to shutdown client. instead, make reads on cons, kbd and mouse error. when we mount a window system over exportfs, the pid useless and even dangerous! pid should be only used by clients forked by rio itself. fix bug in resized(), goodrect() takes rect in screen coordinates! make rectonscreen() fix window size if the window doesnt fit on the screen. improve goodrect() to check for windows outside of the screen or bigger than screen without borders visible.
2013-10-03io.h: change indentation from spaces to tabsppatience0
2013-10-03ether83815: fix `auto neg timed out' error with sis 900 rev 635.ppatience0
the openbsd sis(4) driver does not actually go through the rest of softreset() with sis cards. also, rev 635 reads the mac address differently, so copy-paste code from openbsd to handle that.
2013-10-03mergecinap_lenrek
2013-10-03tarfs: make file name safe, canonical and free of . and .. (from sources)cinap_lenrek
2013-10-02libmach: fix wrong formating for arm LDRH/STRH/LDRSB/LDRSH (MOVHU/MOVBU) ↵cinap_lenrek
instructions
2013-10-02nusb/ether: add rtl8150 driver, remove unused includesppatience0
2013-10-02fortunes: I think we're done here.stanley lieber
2013-10-02vt: dont pollute the outer environment (thanks mischief!)cinap_lenrek
2013-10-02bootrc: +xcinap_lenrek
2013-10-02lib9p/hjfs: use x != ~0 instead (type)~x conditionals to work arround arm ↵cinap_lenrek
compiler issue
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