summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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
2013-09-09mp/pci: msi support for hypertransport platformcinap_lenrek
2013-09-08dossrv(4): remove reference to a:, b:, c:, d: and 9fat:cinap_lenrek
2013-09-08cpu, ratrace, trace: remove unused #include <bio.h>cinap_lenrek
2013-09-08md5sum, srv: remove unused #include <bio.h>cinap_lenrek
2013-09-08mergecinap_lenrek
2013-09-08sha1sum: remove unused #include <bio.h> (thanks BurnZeZ)cinap_lenrek
2013-09-07fortunes: "Not here, not here the darkness, in this twittering world." -- ↵stanley lieber
T.S. Eliot
2013-09-08archacpi: make pcibusno() work on non pci bridges (fixes pciaddr()), ↵cinap_lenrek
distribute irqs in setuplink(), remove debug prints
2013-09-07acme: avoid useless tagline/window redraw if not neededcinap_lenrek
window resize is only neccesary if tagline changed.
2013-09-07mk: handle rc blocks in shell quotecinap_lenrek
this is so we cna handle: foo = `{echo `{echo bar}} thanks to erik and friedrich psiorz on 9fans for bringing the issue up.
2013-09-07libaml: fix formatingcinap_lenrek
2013-09-07libaml: fix uninitialized variable in getle(), make amleval() work with ↵cinap_lenrek
buildin methods
2013-09-07libaml: use FP->env to access method arguments instead of FP->arg in evalosi()cinap_lenrek
2013-09-07archacpi: implement amldelay(), remove unused variable in setuplink()cinap_lenrek
2013-09-07libaml: amldelay(), _OSI(), fix bug in Load() (from plhk's acpi patch)cinap_lenrek
export amldelay() for microsecond sleeps. implement _OSI() method. fix rwreg argument in evalload()
2013-09-06libc: set malloctag for runesmprint()cinap_lenrek
2013-09-06scram: remove amlalloc()/amlfree()cinap_lenrek
these are now part of libaml but can still be overridden when needed.
2013-09-06archacpi: experimental handling of interrupt link devices, io accesscinap_lenrek
2013-09-06libaml: new io interface, add amlnew()/amltake()/amldrop(), late binding ↵cinap_lenrek
names, FindSetLeftBit/FindSetRightBit new io interface was added. user defines amlmapio() and amlunmapio() functions that will fill out Amlio structure with function pointers to read/write routines for a particular region. amlnew() function added allowing the creation of aml objects like buffers or packages. these can be passed to amleval() with b, p or * format. amltake()/amldrop() exclude an aml object from garbage collection. on load, names are not always resolvable until the whole table is loaded. for this, we create n objects that are just name strings. after load, we recursively traverse the namespace and resolve them (see fixnames()). the FindSetLeftBit and FindSetRightBit opcodes got implemened.
2013-09-05libhtml: fix potential linked list corruptioncinap_lenrek
the difficulty is freeing items while parsing because items might already be linked into various linked lists like in docinfo.images or form.fiels. so we link images, tables and formfields to the docinfo as the final step of getitems() pass using the new recursive function linkitems(). as only reachable items get linked theres no danger of dangeling pointers.
2013-09-04abaco: fix memory leakscinap_lenrek
2013-09-04libhtml: fix memory leakscinap_lenrek
2013-09-03webfs: add exits(0) to main()cinap_lenrek
2013-09-02libhtml: fix double free of form actioncinap_lenrek
2013-09-019bootfat: always try plan9 partition even when not marked active, fix bugcinap_lenrek
always look for 9fat in plan9 partition even tho the partition is *not* maked active. marking partitions active is not recommended anymore with grub so this makes life easier for some people. multiple plan9 partitions on a single drive is not supported. have to copy partition table as buf gets trashed when reading first block of fat partition. it worked only when the first fat partition found (the one marked active) was the right one, but conffat() can fail.
2013-08-31jpg(1), jpg: add -y flag to usageppatience0
png: colorspace will never be CYCbCr (this is no doubt from copy-pasting from jpg) tif: everyone else uses colorspace as a function argument, so we will too readtif, writetif: credit paul bourke
2013-08-30usbehci: portreset timingcinap_lenrek
assert port reset for 50ms, not 10ms.