summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2014-05-16added devgpio (thanks Krystian!). Also added getrevision() to vcore which ↵Matthew Veety
allows you to get the raspberry pi board revision. I kept in the segment that allows direct access to the gpio memory
2014-05-14mergecinap_lenrek
2014-05-14play: set user-agent, otherwise server thinks we'r mozilla m(cinap_lenrek
2014-05-12sam(1): add ctrl+bftrvxmtrx
2014-05-12samterm: fix esc, change ctrl+b behaviour to a more useful one (thanks cinap)ftrvxmtrx
2014-05-12samterm: clean up key defines. use ctrl+b as in rioftrvxmtrx
2014-05-12usps: remove redundant uhtml pipelinecinap_lenrek
2014-05-12htmlfmt: use uhtml for character set conversioncinap_lenrek
2014-05-11doom: get rid of floating point code for divisioncinap_lenrek
2014-05-11pc, pc64: add simd error exception name in trap.ccinap_lenrek
2014-05-11pc, pc64: handle sse simd exceptionscinap_lenrek
2014-05-11tcs: handle surrogate pairscinap_lenrek
2014-05-11tcs: prevent accidents with runes beyond 16-bitcinap_lenrek
2014-05-10tcs: fix inplace 16 bit unicode conversioncinap_lenrek
inplace conversions do not work anymore as Rune is not unsigned short anymore.
2014-05-09webfs: use mozilla compatible user agent as defaultcinap_lenrek
sites like google return the wrong characterset when they do not recognize the user-agent. so setting default user agent to something thats likely to pass these idiotic browser tests.
2014-05-09abaco: need more stack on amd64cinap_lenrek
2014-05-08remove old copies of kernels l.s from cmd/?acinap_lenrek
2014-05-08abaco: remove strange linecinap_lenrek
2014-05-08tail: fix follow for empty files (thanks cinap_lenrek)ftrvxmtrx
2014-05-08tail: seek to EOF to check if seekable. fixes tail on /proc filesftrvxmtrx
2014-05-08hgfs: avoid revlogupdate() calls when reading root (thanks burnzez)cinap_lenrek
we do not need to check for revlog updates on every (directory) read when reading the root. only do it when reading from the start.
2014-05-07sed: remove unused ecmp functionftrvxmtrx
2014-05-06cc: fix spurious warning on comparsion with scope redeclared variable ↵cinap_lenrek
(thanks aiju) > warning: a.c:9 useless or misleading comparison: UINT < 0 the error can be observed by compiling the following code with warnings enabled: #include <u.h> #include <libc.h> uint r; void main(int argc, char *argv[]) { int r; if(r < 0){ exits(0); } } the offending code in the compiler is: - if(l->op == ONAME && l->sym->type){ - lt = l->sym->type; - if(lt->etype == TARRAY) - lt = lt->link; - } compiler handles scope by overwritin and reverting symbols while parsing. in the ccom phase, the nodes symbol (n->sym) is not in the right scope and we wrongly think r is uint instead of int. it is not clear to me what this code tried to accomplish in the first place nor could anyone answer me this question. the risk is small as this change doesnt affect the compiled program, only the warning, so removing the offending code.
2014-05-06pc64: fix embrassing typo in mmuzap()cinap_lenrek
2014-05-05gs: fix /undefined in --setcolor-- errors on amd64cinap_lenrek
2014-05-04mergeftrvxmtrx
2014-05-04vga font: hammer and sickleftrvxmtrx
2014-05-04fonts: add swastika to naga10. fixes swastika in default fontftrvxmtrx
2014-05-04gs: remove PStorage data type from ttf interpretercinap_lenrek
i dont see that pointers are stored in PStorage at all, so just use PLong directly avoding all this confusion.
2014-05-04gs: fix truetype interpreter for amd64cinap_lenrek
2014-05-03fix threadsetname usage in few placesftrvxmtrx
2014-05-03thread.h: varargck argpos for threadsetnameftrvxmtrx
2014-05-03bio.h: add varargck argpos pragma for Berrorftrvxmtrx
2014-05-03uniq: document -s option (thanks heaumer)ftrvxmtrx
2014-05-03uniq: use Bsize for buffersftrvxmtrx
2014-05-03cwfs: fix 1GB memsize limitationcinap_lenrek
the malloc pool allocator is limited in its allocation size. as almost all data structures in cwfs are never freed, use brk() in ialloc() instead of mallocalign(). this means memory returned by ialloc() cannot be freed! to make sure we do not call free by accident, remove the #define malloc(n) ialloc(n, 0) macro and use ialloc() directly as in the original code to show the intend of permanent allocations.
2014-05-03wc: simplify and avoid buffer overflow on long filenamesftrvxmtrx
2014-05-021l, 2l, 7l, kl, vl: add missing setmalloctag() dummy in compat.ccinap_lenrek
2014-05-02bio: Brdstr, Bopen: set malloc tag to the callerftrvxmtrx
2014-05-02sdide: never timeout or retry scsi commands from the controller drivercinap_lenrek
this was a big mistake. we should never attempt to timeout or retry a scsi command from the controller driver because theres no way to tell how long a command would take or if a command has side effects when being retried.
2014-05-02bio: on a second thought, make it one line lessftrvxmtrx
2014-05-02bio: do not leak memory if realloc failsftrvxmtrx
2014-05-02samterm: free() after getenv()ftrvxmtrx
2014-05-01pc64: increase sizes of physical memory bank mapscinap_lenrek
number of bank slots in Conf.mem[4] was too small for kenjis machine, set it to maximum 16 (the size of the RAM map in pc64/memory.c). also increasing the UPA memory map to 64. the e820 map on my x200s has 31 entries and many holes. this gets rid of the "mapfree: ... losing" messages on boot.
2014-05-01leak(1): typoftrvxmtrx
2014-04-29kernel: always reset notepending in eqlock, handle forceclosefgrp in eqlockscinap_lenrek
2014-04-29kernel: stop queue bloat before allocating blockscinap_lenrek
2014-04-29aan(8): fix aanuke synopsisftrvxmtrx
2014-04-28devmnt: make abandoning fid on botched clunk handle flushescinap_lenrek
make mntflushfree() return the original rpc and do the botched clunk check on the original instead of the current rpc. so if we get a botched flush of a clunk, we abandon the fid of the channel as well.
2014-04-28devmnt: abandon fid on botched Tclunk or Tremovecinap_lenrek
if theres an error transmitting a Tclunk or Tremove request, we cannot assume the fid to be clunked. in case this was a transient error, reusing the fid on further requests will fail. as a work arround, we zero the channels fid and allocate a new fid before the chan is reused. this is not correct as we essentially leak the fid on the fileserver, but we will still be able to use the mount.