Age | Commit message (Collapse) | Author | |
---|---|---|---|
2014-02-01 | kernel: fix pointer truncation in xspanalloc(), fix format prints | cinap_lenrek | |
2014-02-01 | kernel: handle amd64 40 byte headers in exec() | cinap_lenrek | |
2014-02-01 | vesa: explicitely use /386/include/ureg.h | cinap_lenrek | |
2014-02-01 | libmach: pc64 uses 4K pages, IP -> PC | cinap_lenrek | |
2014-02-01 | libmemdraw: apply erik quanstros fix for sign preserving in byteaddr() | cinap_lenrek | |
2014-02-01 | libdraw: use pid as initial screenid so one can have more than 25 windows. | cinap_lenrek | |
2014-02-01 | 6l: fix warning, setmalloctag declaration, missing header type cases | cinap_lenrek | |
2014-01-22 | /lib/face: add some new faces | stanley lieber | |
2014-01-22 | fortunes: undelete | stanley lieber | |
2014-01-22 | sdiahci: fix hardcoded 512 byte sector size | cinap_lenrek | |
2014-01-21 | kernel: fix ulong abuse in xalloc | cinap_lenrek | |
2014-01-20 | kernel: convert putmmu() to uintptr for va and pa | cinap_lenrek | |
2014-01-20 | kernel: various cleanups | cinap_lenrek | |
2014-01-20 | malloc(2): update alloctag types | cinap_lenrek | |
2014-01-20 | kernel: apply uintptr for ulong when a pointer is stored | cinap_lenrek | |
this change is in preparation for amd64. the systab calling convention was also changed to return uintptr (as segattach returns a pointer) and the arguments are now passed as va_list which handles amd64 arguments properly (all arguments are passed in 64bit quantities on the stack, tho the upper part will not be initialized when the element is smaller than 8 bytes). this is partial. xalloc needs to be converted in the future. | |||
2014-01-20 | malloc: change malloc and realloc tag types to uintptr | cinap_lenrek | |
2014-01-20 | ape: remove local copy of memccpy() | cinap_lenrek | |
2014-01-19 | kernel: fix declaration of getcallerpc() | cinap_lenrek | |
2014-01-19 | kernel: replace BY2WD in scanline width calculation to sizeof(ulong) like ↵ | cinap_lenrek | |
libmemdraw | |||
2014-01-17 | libmach: fix wrong operand order of MOVLQSX instruction disassembly | cinap_lenrek | |
2014-01-17 | Corrected some man pages. | aap | |
2014-01-14 | devdraw: fix memory corruption reading draw ctl file | cinap_lenrek | |
when user does read of exactly 12*12 bytes on draw ctl file, the snprint() adds one more \0 byte writing beyond the user buffer and corrupting memory. fix this by not snprint()ing the final space and add it manually. | |||
2014-01-13 | merge | mischief | |
2014-01-13 | hpost: fix Content-Type parameter separator for multipart/form-data POSTs | mischief | |
2014-01-12 | add /lib/uriel; delete fortunes | stanley lieber | |
2014-01-12 | added a segment for segattach(2) that gives access to the raspberry pi's ↵ | Matthew Veety | |
gpio header. | |||
2014-01-12 | etheryuk: fix lockups (thanks burnzez for testing) | cinap_lenrek | |
according to a comment in linux driver, reading Isrc2 register caused interrupts to be disabled. we used to read Isrc2 in ifstat() and it was confirmed that reading ifstat locks up ethernet. removing the Isrc2 read in ifstats, and also reenable interrupts after reading Isrc2 when the interrupt was not for us. (this is from the linux driver) in replenish(), set ring software write pointer (Sring.wp) *before* the hardware write index register. otherwise rx() could get status notification for completed receive but wont find the rx descriptor in the ring. handle uint wrap arround when calculating ring fill count and remaining count. | |||
2014-01-11 | netif: fix wrong qid in 3rd level stats/ifstats files (thanks burnzez) | cinap_lenrek | |
the stats and ifstats files in the 3rd level of a netif are not per connection, but for the interface. this made fstat fail for /net/ether0/N/*stats where N > 0 as the NETID() bits in the qid didnt compare. | |||
2014-01-11 | rio: properly handle initial wrap arround in wlook() | cinap_lenrek | |
2014-01-11 | rio: implement "look" (thanks lf94) | cinap_lenrek | |
2014-01-10 | kernel: fix fairshare formula in comment (thanks erik) | cinap_lenrek | |
2014-01-10 | mixfs: make mixbuffer addition atomic | cinap_lenrek | |
serialize mixing with spinlock to make the addition on the mixbuffer samples atomic. | |||
2014-01-10 | merge | cinap_lenrek | |
2014-01-10 | libdraw: cleanup string() and stringwidth() | cinap_lenrek | |
getting rid of the goto at the end of the while loop by moving the if(subfontnae) case before the cachechars() call. | |||
2014-01-08 | winwatch: this is not about sanity. rows might be negative | mischief | |
2014-01-08 | winwatch: prevent divide by zero if the window height is too small | mischief | |
2014-01-07 | mothra: remove version | cinap_lenrek | |
2014-01-07 | libframe: fix _frcanfit() for zero width runes, simplify chopframe() | cinap_lenrek | |
2014-01-06 | weather: trim garbage from output | stanley lieber | |
2014-01-06 | libframe: avoid _frcanfit() call in frdelete() | cinap_lenrek | |
no need to calculate number of runes to fit in box when box contains no runes. | |||
2014-01-06 | libdraw: fix stringwidth problems | cinap_lenrek | |
cachechars() used to skip over characters on its own when loadchar() could not find the character or a PJW replacement. this resulted in wrong width calculation. now we just return and handle the case inside _string and _stringwidth. fix subfont leak in stringwidth() remove annoying prints in stringwidth() | |||
2014-01-05 | merge | cinap_lenrek | |
2014-01-05 | rio: make scrollwheel handling consistent with sam | cinap_lenrek | |
scrollwheel now works proportional to y mouse position. special case is when shift is hold down. then scrollwheel will work like before and scroll one line up or down. | |||
2014-01-04 | fortunes: This is Go. | stanley lieber | |
2014-01-03 | 9fs: add atom and atomdump (fix the mount spec) | cinap_lenrek | |
2014-01-03 | 9fs: add atom alias for atom.9atom.org | cinap_lenrek | |
2014-01-03 | kernel: simplify procalarm() | cinap_lenrek | |
2014-01-03 | alarm: skip timed out alarms when inserting in procalarm() (thanks erik) | cinap_lenrek | |
from erik quanstros 9fans post: i think the list insertion code needs a single-read test that f->alarm != 0. to prevent the 0 from acting like a fencepost. e.g. trying to insert -10 into list -40 -30 0 -20. if(alarms.head) { l = &alarms.head; for(f = *l; f; f = f->palarm) { >> fw = f->alarm; >> if(fw != 0 && (long)(fw - when) >= 0) { up->palarm = f; *l = up; goto done; } l = &f->palarm; } *l = up; } | |||
2014-01-02 | ps2mouse: retry disable packet streaming command 0xf5 | cinap_lenrek | |
disabling mouse packet streaming command 0xf5 can fail when a packet is currently transmitted. this can be seen when one moves the mouse while running: while(){echo accelerated >/dev/mousectl; sleep 0.5} | |||
2014-01-02 | ps2mouse: disable packet streaming during reprogramming | cinap_lenrek | |
sometimes, ps2 mouse setup failed on thinkpads during boot. disabling packet streaming while we program the mouse seems to fix the issue. |